Skip to content

Commit 721edfe

Browse files
Release v3.4.1 (#75)
1 parent c4bc4ed commit 721edfe

File tree

10 files changed

+86
-36
lines changed

10 files changed

+86
-36
lines changed

CHANGELOG.md

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

3-
## 2024-04-22
3+
## 2024-04-29
44
### Added
55
- Support for Management Agent Daemonset deployment
6+
### Changed
7+
- 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.
8+
- Similar updates to build files (Dockerfile, Gemfile) that helps building custom container image.
9+
- Minor fixes to Documentation.
10+
- Minor fix to help `Kubelet logs` to use `Kubernetes Kubelet Logs` Log Source instead of `Linux System Logs` for Kubernetes versions above 1.25.
611

712
## 2024-03-08
813
### 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.1
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.1
5252
# -- Image pull policy
5353
imagePullPolicy: Always
5454

charts/oci-onm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.1"
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.1
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/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.0"
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"

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

Lines changed: 55 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,29 @@ GEM
33
specs:
44
addressable (2.8.5)
55
public_suffix (>= 2.0.2, < 6.0)
6-
concurrent-ruby (1.2.2)
6+
aws-eventstream (1.2.0)
7+
aws-partitions (1.813.0)
8+
aws-sdk-cloudwatchlogs (1.69.0)
9+
aws-sdk-core (~> 3, >= 3.177.0)
10+
aws-sigv4 (~> 1.1)
11+
aws-sdk-core (3.181.0)
12+
aws-eventstream (~> 1, >= 1.0.2)
13+
aws-partitions (~> 1, >= 1.651.0)
14+
aws-sigv4 (~> 1.5)
15+
jmespath (~> 1, >= 1.6.1)
16+
aws-sdk-kms (1.71.0)
17+
aws-sdk-core (~> 3, >= 3.177.0)
18+
aws-sigv4 (~> 1.1)
19+
aws-sdk-s3 (1.134.0)
20+
aws-sdk-core (~> 3, >= 3.181.0)
21+
aws-sdk-kms (~> 1)
22+
aws-sigv4 (~> 1.6)
23+
aws-sdk-sqs (1.62.0)
24+
aws-sdk-core (~> 3, >= 3.177.0)
25+
aws-sigv4 (~> 1.1)
26+
aws-sigv4 (1.6.0)
27+
aws-eventstream (~> 1, >= 1.0.2)
28+
concurrent-ruby (1.2.3)
729
cool.io (1.8.0)
830
domain_name (0.5.20190701)
931
unf (>= 0.0.5, < 1.0.0)
@@ -13,27 +35,32 @@ GEM
1335
rake
1436
fluent-config-regexp-type (1.0.0)
1537
fluentd (> 1.0.0, < 2)
38+
fluent-plugin-cloudwatch-logs (0.14.3)
39+
aws-sdk-cloudwatchlogs (~> 1.0)
40+
fluentd (>= 1.8.0)
1641
fluent-plugin-concat (2.5.0)
1742
fluentd (>= 0.14.0, < 2)
18-
fluent-plugin-kubernetes-objects (1.2.3)
19-
fluentd (>= 1.9.1)
20-
http_parser.rb (= 0.8.0)
21-
kubeclient (~> 4.9.3)
2243
fluent-plugin-kubernetes_metadata_filter (3.3.0)
2344
fluentd (>= 0.14.0, < 1.17)
2445
kubeclient (>= 4.0.0, < 5.0.0)
2546
lru_redux
26-
fluent-plugin-oci-logging-analytics (2.0.5)
47+
fluent-plugin-oci-logging-analytics (2.0.6)
2748
fluentd (>= 0.14.10, < 2)
2849
oci (~> 2.16)
29-
prometheus-client (~> 4.0.0)
50+
prometheus-client (~> 4.0)
3051
rubyzip (~> 2.3.2)
3152
yajl-ruby (~> 1.4, >= 1.4.3)
3253
fluent-plugin-parser-cri (0.1.1)
3354
fluentd (>= 1)
55+
fluent-plugin-record-modifier (2.1.1)
56+
fluentd (>= 1.0, < 2)
3457
fluent-plugin-rewrite-tag-filter (2.4.0)
3558
fluent-config-regexp-type
3659
fluentd (>= 0.14.2, < 2)
60+
fluent-plugin-s3 (1.7.2)
61+
aws-sdk-s3 (~> 1.60)
62+
aws-sdk-sqs (~> 1.23)
63+
fluentd (>= 0.14.22, < 2)
3764
fluentd (1.16.2)
3865
bundler
3966
cool.io (>= 1.4.5, < 2.0.0)
@@ -59,7 +86,8 @@ GEM
5986
ffi-compiler (>= 1.0, < 2.0)
6087
http_parser.rb (0.8.0)
6188
inifile (3.0.0)
62-
json (2.6.3)
89+
jmespath (1.6.2)
90+
json (2.7.1)
6391
jsonpath (1.1.4)
6492
multi_json
6593
jwt (2.7.1)
@@ -75,12 +103,21 @@ GEM
75103
msgpack (1.7.2)
76104
multi_json (1.15.0)
77105
netrc (0.11.0)
78-
oci (2.18.0)
106+
oci (2.20.0)
79107
inifile (~> 3.0, >= 3.0.0)
80108
json (>= 1.4.6, < 3.0.0)
81109
jwt (~> 2.1)
110+
psych (>= 3.1.0, < 5.0.0)
111+
oci-logging-analytics-kubernetes-discovery (1.0.0)
112+
concurrent-ruby (~> 1.2.2)
113+
kubeclient (~> 4.9.3)
114+
oci (~> 2.20.0)
115+
rubyzip (~> 2.3.2)
116+
yajl-ruby (~> 1.0)
82117
oj (3.16.1)
83118
prometheus-client (4.0.0)
119+
psych (4.0.6)
120+
stringio
84121
public_suffix (5.0.3)
85122
rake (13.0.6)
86123
recursive-open-struct (1.1.3)
@@ -89,11 +126,12 @@ GEM
89126
http-cookie (>= 1.0.2, < 2.0)
90127
mime-types (>= 1.16, < 4.0)
91128
netrc (~> 0.8)
129+
rexml (3.2.6)
92130
rubyzip (2.3.2)
93131
serverengine (2.3.2)
94132
sigdump (~> 0.2.2)
95133
sigdump (0.2.5)
96-
stringio (3.0.8)
134+
stringio (3.1.0)
97135
strptime (0.2.5)
98136
tzinfo (2.0.6)
99137
concurrent-ruby (~> 1.0)
@@ -109,15 +147,19 @@ PLATFORMS
109147
x86_64-linux
110148

111149
DEPENDENCIES
150+
fluent-plugin-cloudwatch-logs (= 0.14.3)
112151
fluent-plugin-concat (~> 2.5.0)
113-
fluent-plugin-kubernetes-objects (= 1.2.3)
114152
fluent-plugin-kubernetes_metadata_filter (= 3.3.0)
115-
fluent-plugin-oci-logging-analytics (= 2.0.5)
153+
fluent-plugin-oci-logging-analytics (= 2.0.6)
116154
fluent-plugin-parser-cri (~> 0.1.1)
155+
fluent-plugin-record-modifier (= 2.1.1)
117156
fluent-plugin-rewrite-tag-filter (~> 2.4.0)
157+
fluent-plugin-s3 (= 1.7.2)
118158
fluentd (= 1.16.2)
119-
json (= 2.6.3)
159+
json (= 2.7.1)
160+
oci-logging-analytics-kubernetes-discovery (= 1.0.0)
120161
oj (= 3.16.1)
162+
rexml (= 3.2.6)
121163

122164
BUNDLED WITH
123165
2.3.25

0 commit comments

Comments
 (0)