Skip to content

Commit 0834572

Browse files
Merge pull request #68 from shivamshishodia/helm_discovery_changes
OCR Image; Version and Changelog changes
2 parents 00d53c5 + 49246fc commit 0834572

File tree

10 files changed

+45
-33
lines changed

10 files changed

+45
-33
lines changed

CHANGELOG.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
# Change Log
22

3+
## 2024-02-13
4+
### Added
5+
- Changes to support Kubernetes Solution Pages Offering by OCI Logging Analytics.
6+
- A new role and role binding in the monitoring namespace (which defaults to oci-onm), to manage a ConfigMap.
7+
- A new CronJob to handle the Kubernetes Objects discovery and Objects Logs collection using oci-logging-analytics-kubernetes-discovery Gem.
8+
### Changed
9+
- Moving forward, Kubernetes Objects logs would be collected using Kubernetes Discovery CronJob along with the (optional) Discovery data instead of Fluentd based Deployment.
10+
311
## 2024-01-18
412
### Changed
513
- Management Agent docker image has been updated to version 1.2.0
614

715
## 2024-01-09
816
### Changed
917
- Concat filter plugin behavior changed to not include newline character as separator while handling CRI partial logs.
10-
- Dashboards Import is now optional while installing the monitoring solution through RMS Stack. Default behavior remains the same.
18+
- Dashboards Import is now optional while installing the monitoring solution through RMS Stack. Default behavior remains the same.
1119

1220
## 2023-12-01
1321
### Added
@@ -16,19 +24,19 @@
1624
## 2023-11-30
1725
### Added
1826
- Added resources information that got created through RM Stack to Stack output.
19-
- Added new auto created policy for Kubernetes Objects discovery (for future release(s) use).
20-
- Added new helm variable for cluster's EntityId (ociLAClusterEntityID) (for future release(s) use).
27+
- Added new auto created policy for Kubernetes Objects discovery (for future release(s) use).
28+
- Added new helm variable for cluster's EntityId (ociLAClusterEntityID) (for future release(s) use).
2129
### Changed
22-
- RM Stack is changed to use remote [helm repo](https://oracle-quickstart.github.io/oci-kubernetes-monitoring), instead of a local copy of helm chart source.
23-
- RM Stack is modified to skip recreation of Management Agent Key if the Key already created by Stack.
30+
- RM Stack is changed to use remote [helm repo](https://oracle-quickstart.github.io/oci-kubernetes-monitoring), instead of a local copy of helm chart source.
31+
- RM Stack is modified to skip recreation of Management Agent Key if the Key already created by Stack.
2432
### Breaking Changes
25-
- Removed ociLAEntityID input variable of Logan chart. This was an optional and its use-case was not defined so far. Hence, it shouldn't be a breaking change in general but still documenting for the reference.
33+
- Removed ociLAEntityID input variable of Logan chart. This was an optional and its use-case was not defined so far. Hence, it shouldn't be a breaking change in general but still documenting for the reference.
2634

2735
## 2023-11-07
2836
### Added
2937
- Control Plane Logs Collection for OCNE and Standalone Kubernetes Clusters.
3038
- Support for launching Fluentd containers in privileged mode (default false).
31-
- Added FAQ for triaging log collection setup issues in OCNE and Standalone Kubernetes Clusters.
39+
- Added FAQ for triaging log collection setup issues in OCNE and Standalone Kubernetes Clusters.
3240

3341
## 2023-10-31
3442
### Changed
@@ -40,14 +48,14 @@
4048

4149
## 2023-08-07
4250
### Added
43-
- Support Fluentd's [Multi Process Workers](https://docs.fluentd.org/deployment/multi-process-workers).
51+
- Support Fluentd's [Multi Process Workers](https://docs.fluentd.org/deployment/multi-process-workers).
4452
- Custom Container Image for Fluentd using OL8-Slim as base Image.
45-
- PV, PVC Objects Collection
53+
- PV, PVC Objects Collection
4654
### Changed
4755
- Instructions and dependency versions updates to custom container image for Fluentd using OL8 as base image.
48-
- ClusterRole updates to add read permission for `storage.k8s.io` api group to support PV, PVC Objects collection.
56+
- ClusterRole updates to add read permission for `storage.k8s.io` api group to support PV, PVC Objects collection.
4957
### Deprecating
50-
- Custom Container Image for Fluentd using Debian and OL8 as base Image.
58+
- Custom Container Image for Fluentd using Debian and OL8 as base Image.
5159

5260
## 2023-07-19
5361
### Added
@@ -60,7 +68,7 @@
6068
### Changed
6169
- Refactoring of helm chart, terraform and stack/market place app to support the consolidation of logs, objects and metrics collection.
6270
### Breaking Changes
63-
- The refactoring work done in this version, may cause issues if you upgrade to this version (v3.0.0) from previous versions. Refer [here](README.md#2x-to-3x) for further details.
71+
- The refactoring work done in this version, may cause issues if you upgrade to this version (v3.0.0) from previous versions. Refer [here](README.md#2x-to-3x) for further details.
6472

6573
## 2023-02-07
6674
### Added

charts/common/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ apiVersion: v2
55
name: oci-onm-common
66
description: Common resources for OCI Kubernetes Monitoring solution helm charts
77
type: application
8-
version: 3.0.2
8+
version: 3.1.0
99
appVersion: "3.0.0"

charts/logan/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ appVersion: "3.0.0"
1010

1111
dependencies:
1212
- name: oci-onm-common
13-
version: "3.0.2"
13+
version: "3.1.0"
1414
repository: "file://../common"
1515
condition: oci-onm-common.enabled

charts/logan/templates/discovery-cronjob.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
failedJobsHistoryLimit: {{ .Values.k8sDiscovery.objects.failedJobsHistoryLimit }}
1818
jobTemplate:
1919
spec:
20-
backoffLimit: 2
20+
backoffLimit: {{ .Values.k8sDiscovery.objects.backoffLimit }}
2121
template:
2222
spec:
2323
restartPolicy: {{ .Values.k8sDiscovery.objects.restartPolicy }}
@@ -33,7 +33,9 @@ spec:
3333
{{- end }}
3434
command:
3535
{{- /* object discovery script */}}
36-
- oci-logan-kubernetes-discovery
36+
- bundle
37+
- exec
38+
- oci-loganalytics-kubernetes-discovery
3739
{{- /* mandatory inputs */}}
3840
- --kubernetes_cluster_id
3941
- {{ $kubernetesClusterId }}
@@ -78,7 +80,7 @@ spec:
7880
{{- if .Values.k8sDiscovery.objects.log_format }}
7981
- --log_format
8082
- {{ .Values.k8sDiscovery.objects.log_format }}
81-
{{- end }}
83+
{{- end }}
8284
{{- if .Values.k8sDiscovery.objects.log_level }}
8385
- --log_level
8486
- {{ .Values.k8sDiscovery.objects.log_level }}
@@ -89,7 +91,7 @@ spec:
8991
- {{ .Values.k8sDiscovery.objects.thread_count | quote }}
9092
{{- end }}
9193
{{- if .Values.k8sDiscovery.objects.chunk_limit }}
92-
- --chunk_limit
94+
- --chunk_limit
9395
- {{ .Values.k8sDiscovery.objects.chunk_limit | quote }}
9496
{{- end }}
9597
{{- if .Values.k8sDiscovery.objects.collect_warning_events_only }}
@@ -138,4 +140,4 @@ spec:
138140
sources:
139141
- secret:
140142
name: {{ $resourceNamePrefix }}-oci-config
141-
{{- end }}
143+
{{- end }}

charts/logan/values.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ image:
4848
# Image pull secrets for. Secret must be in the namespace defined by namespace
4949
imagePullSecrets:
5050
# -- Replace this value with actual docker image url
51-
url: iad.ocir.io/id3m3bqjn6oc/k8-objects-discovery:master-5e03e34 #TODO
51+
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.3.0
5252
# -- Image pull policy
5353
imagePullPolicy: Always
5454

@@ -541,7 +541,7 @@ k8sDiscovery:
541541
# failedJobsHistoryLimit: specify how many failed jobs should be kept
542542
failedJobsHistoryLimit : 3
543543
# ociLALogGroupID: OCI LA Loggroup to store the k8s discovery logs
544-
ociLALogGroupID:
544+
ociLALogGroupID:
545545
# discoveryMode: discovery mode to be used - ["infra", "object"]
546546
discoveryMode: "object"
547547
# Log format to be used - ["text", "json"]
@@ -559,6 +559,8 @@ k8sDiscovery:
559559
# collect_warning_events_only: flag to only collect warning event logs
560560
# Default: All logs are collected and sent to OCI logging analytics for processing
561561
collect_warning_events_only: false
562+
# backoffLimit: Specify the number of retries before considering a Job as failed
563+
backoffLimit: 2
562564
# kubernetes: kubernetes cluster related inputs for kubernetes disocvery job
563565
kubeClientOptions:
564566
# kubernetes_url: Kubernetes API server URL.
@@ -574,4 +576,4 @@ k8sDiscovery:
574576
# bearer_token_file: Path to bearer token file if basic authentication is used
575577
bearer_token_file:
576578
# secret_dir: Path to Kubernetes service account token file to access Kubernetes API
577-
secret_dir:
579+
secret_dir:

charts/mgmt-agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ appVersion: "1.16.0"
2828

2929
dependencies:
3030
- name: oci-onm-common
31-
version: "3.0.1"
31+
version: "3.1.0"
3232
repository: "file://../common"
3333
condition: oci-onm-common.enabled

charts/oci-onm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 3.2.3
21+
version: 3.3.0
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to
@@ -28,7 +28,7 @@ appVersion: "3.0.0"
2828

2929
dependencies:
3030
- name: oci-onm-common
31-
version: "3.0.2"
31+
version: "3.1.0"
3232
repository: "file://../common"
3333
condition: oci-onm-common.enabled
3434
- name: oci-onm-logan

charts/oci-onm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ oci-onm-logan:
3131
kubernetesClusterID: "{{ .Values.global.kubernetesClusterID }}"
3232
kubernetesClusterName: "{{ .Values.global.kubernetesClusterName }}"
3333
image:
34-
url: iad.ocir.io/id3m3bqjn6oc/k8-objects-discovery:master-5e03e34 #TODO
34+
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.3.0
3535
# Go to OCI Logging Analytics Administration, click Service Details, and note the namespace value.
3636
ociLANamespace:
3737
# OCI Logging Analytics Default Log Group OCID
@@ -54,4 +54,4 @@ oci-onm-mgmt-agent:
5454
# Replace this value with actual docker image URL for Management Agent
5555
url: container-registry.oracle.com/oci_observability_management/oci-management-agent:1.2.0
5656
# Image secrets to use for pulling container image (base64 encoded content of ~/.docker/config.json file)
57-
secret:
57+
secret:

terraform/modules/helm/helm.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ data "helm_template" "oci-kubernetes-monitoring" {
102102
}
103103

104104
count = var.generate_helm_template ? 1 : 0
105-
}
105+
}

terraform/oke/developer-options.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ variable "toggle_livelab_module" {
1212
default = true
1313
}
1414

15-
# Enable/Disable helm module
15+
# Enable/Disable helm module
1616
variable "toggle_helm_module" {
1717
type = bool
1818
default = true
1919
}
2020

21-
# when false, public helm repo is used for deployment
21+
# when false, public helm repo is used for deployment
2222
variable "toggle_use_local_helm_chart" {
2323
type = bool
2424
default = false
2525
}
2626

27-
# Enable/Disable helm template. When set as true,
27+
# Enable/Disable helm template. When set as true,
2828
# - helm module will generate template file inside ../modules/helm/local directory
2929
# - Setting this to true disables/skips the helm release
3030
variable "toggle_generate_helm_template" {
3131
type = bool
3232
default = false
3333
}
3434

35-
# Enable/Disable helm installation.
35+
# Enable/Disable helm installation.
3636
variable "toggle_install_helm" {
3737
type = bool
3838
default = true
@@ -60,4 +60,4 @@ variable "toggle_logan_module" {
6060
variable "toggle_iam_module" {
6161
type = bool
6262
default = true
63-
}
63+
}

0 commit comments

Comments
 (0)