Skip to content

Commit 269cfb2

Browse files
committed
Merge branch 'main' of https://github.com/oracle-quickstart/oci-kubernetes-monitoring into disable-jre-prop
2 parents 5c39382 + 5c25f42 commit 269cfb2

File tree

11 files changed

+104
-42
lines changed

11 files changed

+104
-42
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
# Change Log
22

3-
## 2024-04-22
3+
## 2024-06-18
4+
### Changed
5+
- Fluentd collector container image uptake to 1.4.3 having OS and other dependency updates.
6+
- Dockerfile (supporting custom container image builds) changes to remove patch version dependency on ruby 3.1 and related packages.
7+
8+
## 2024-05-13
9+
### Changed
10+
- Fluentd collector container image uptake to 1.4.2 having changes to uptake OCI 2.21.0.
11+
- Similar updates to build files (Dockerfile, Gemfile) that helps building custom container image.
12+
13+
## 2024-04-29
414
### Added
515
- Support for Management Agent Daemonset deployment
16+
### Changed
17+
- Fluentd collector container image uptake to 1.4.1 having changes to uptake new OL8, ruby-default-gems versions. It also has changes to remove fluent-plugin-kubernetes-objects plugin dependency.
18+
- Similar updates to build files (Dockerfile, Gemfile) that helps building custom container image.
19+
- Minor fixes to Documentation.
20+
- Minor fix to help `Kubelet logs` to use `Kubernetes Kubelet Logs` Log Source instead of `Linux System Logs` for Kubernetes versions above 1.25.
621

722
## 2024-03-08
823
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Dashboards needs to be imported manually. Below is an example for importing Dash
160160
161161
Use the following `helm uninstall` command to uninstall the chart. Provide the release name used when creating the chart.
162162
```
163-
helm upgrade <release-name> --values <path-to-override-values.yaml> <path-to-helm-chart>
163+
helm uninstall <release-name>
164164
```
165165
Refer [this](https://helm.sh/docs/helm/helm_uninstall/) for further details on `helm uninstall`.
166166

charts/logan/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v2
55
name: oci-onm-logan
66
description: Charts for sending Kubernetes platform logs, compute logs, and Kubernetes Objects information to OCI Logging Analytics.
77
type: application
8-
version: 3.4.0
8+
version: 3.4.3
99
appVersion: "3.0.0"
1010

1111
dependencies:

charts/logan/templates/logs-configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@ data:
256256
hostname_command {{ (($.Values.fluentd).rewriteTagPlugin).hostname_command | default "cat /etc/hostname" }}
257257
<rule>
258258
key message
259-
pattern /kubelet:/
259+
pattern /kubelet/
260260
tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.syslog.kubelet.*
261261
</rule>
262262
<rule>
263263
key message
264-
pattern /^((?!kubelet:).)*$/
264+
pattern /^((?!kubelet).)*$/
265265
tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.syslog.syslog.*
266266
</rule>
267267
</match>

charts/logan/values.yaml

Lines changed: 1 addition & 1 deletion
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: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.4.0
51+
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.4.3
5252
# -- Image pull policy
5353
imagePullPolicy: Always
5454

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.4.1
21+
version: 3.4.3
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
@@ -32,7 +32,7 @@ dependencies:
3232
repository: "file://../common"
3333
condition: oci-onm-common.enabled
3434
- name: oci-onm-logan
35-
version: "3.4.0"
35+
version: "3.4.3"
3636
repository: "file://../logan"
3737
condition: oci-onm-logan.enabled
3838
- name: oci-onm-mgmt-agent

charts/oci-onm/values.yaml

Lines changed: 1 addition & 1 deletion
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: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.4.0
34+
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.4.3
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

docs/custom-logs.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ oci-onm-logan:
3636
...
3737
...
3838
fluentd:
39-
...
40-
...
39+
...
40+
...
41+
customLogs:
4142
custom-log1:
42-
path: /var/log/containers/custom-1.log
43-
ociLALogSourceName: "Custom1 Logs"
44-
multilineStartRegExp: <Multi-line start expression for multi-line logs>
45-
isContainerLog: true
43+
path: /var/log/containers/custom-1.log
44+
ociLALogSourceName: "Custom1 Logs"
45+
multilineStartRegExp: <Multi-line start expression for multi-line logs>
46+
isContainerLog: true
4647
```
4748

4849
The following example demonstrates a non container customLogs configuration
@@ -54,13 +55,14 @@ oci-onm-logan:
5455
...
5556
...
5657
fluentd:
57-
...
58-
...
58+
...
59+
...
60+
customLogs:
5961
custom-log2:
60-
path: /var/log/custom/custom-2.log
61-
ociLALogSourceName: "Custom2 Logs"
62-
multilineStartRegExp: <Multi-line start expression for multi-line logs>
63-
isContainerLog: false
62+
path: /var/log/custom/custom-2.log
63+
ociLALogSourceName: "Custom2 Logs"
64+
multilineStartRegExp: <Multi-line start expression for multi-line logs>
65+
isContainerLog: false
6466
```
6567

6668
#### Use Fluentd conf

logan/docker-images/v1.0/oraclelinux/8-slim/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ COPY Gemfile* /fluentd/
2222
# Install ruby, ruby-libs along with rubygems and bundler.
2323
RUN microdnf -y module enable ruby:3.1 \
2424
# Install ruby and ruby-libs, disabling week dependencies
25-
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby-3.1.2 ruby-libs-3.1.2 \
25+
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
2626
# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
27-
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems-3.3.7 \
27+
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems \
2828
&& gem install bundler -v 2.3.25 \
2929
# Install development dependent packages for gems native installation
30-
&& microdnf -y install --nodocs gcc make redhat-rpm-config openssl ruby-devel gcc-c++ libtool libffi-devel bzip2 git \
30+
&& microdnf --enablerepo ol8_codeready_builder -y install --nodocs gcc make redhat-rpm-config openssl ruby-devel gcc-c++ libtool libffi-devel bzip2 git libyaml-devel \
3131
# Install Fluentd, it's dependencies along with other run time dependencies for OCI Logging Analytics Solution
3232
&& bundle config silence_root_warning true \
3333
&& bundle config --local path /fluentd/vendor/bundle \
@@ -59,9 +59,9 @@ ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
5959
# Install ruby, ruby-libs along with rubygems and bundler.
6060
RUN microdnf -y module enable ruby:3.1 \
6161
# Install ruby and ruby-libs, disabling week dependencies
62-
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby-3.1.2 ruby-libs-3.1.2 \
62+
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
6363
# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
64-
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems-3.3.7 \
64+
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems \
6565
&& gem install bundler -v 2.3.25 \
6666
&& bundle config --local path /fluentd/vendor/bundle \
6767
# clear caches

logan/docker-images/v1.0/oraclelinux/8-slim/Gemfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
source "https://rubygems.org"
55

66
gem "oj", "3.16.1"
7-
gem "json", "2.6.3"
7+
gem "json", "2.7.1"
88
gem "fluentd", "1.16.2"
9-
gem "fluent-plugin-oci-logging-analytics", "2.0.5"
9+
gem "fluent-plugin-oci-logging-analytics", "2.0.6"
1010
gem "fluent-plugin-concat", "~> 2.5.0"
1111
gem "fluent-plugin-rewrite-tag-filter", "~> 2.4.0"
1212
gem "fluent-plugin-parser-cri", "~> 0.1.1"
1313
gem "fluent-plugin-kubernetes_metadata_filter", "3.3.0"
14-
gem "fluent-plugin-kubernetes-objects", "1.2.3"
14+
gem "oci-logging-analytics-kubernetes-discovery", "1.0.1"
1515
gem "fluent-plugin-record-modifier", "2.1.1"
1616
gem "fluent-plugin-cloudwatch-logs", "0.14.3"
1717
gem "fluent-plugin-s3", "1.7.2"
18+
gem "rexml", "3.2.6"

0 commit comments

Comments
 (0)