Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.2]Bump rancher-logging and rancher-monitoring #681

Merged
merged 3 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV ARCH $DAPPER_HOST_ARCH

# mtools and dosfstools are requirements for luet-makeiso >= 0.4.0 to build hybrid ISO.
RUN zypper -n rm container-suseconnect && \
zypper -n install git curl docker gzip tar wget zstd squashfs xorriso awk jq mtools dosfstools unzip rsync
zypper -n install git curl docker gzip tar wget zstd squashfs xorriso awk jq mtools dosfstools unzip rsync patch
RUN curl -sfL https://github.com/mikefarah/yq/releases/download/v4.21.1/yq_linux_${ARCH} -o /usr/bin/yq && chmod +x /usr/bin/yq
RUN if [ "${ARCH}" == "amd64" ]; then \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.2; \
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.additionalLoggingSources.rke2.enabled }}
# patch to 100.1.3+up3.17.7/templates/loggings/rke2/configmap.yaml
# patch to ./templates/loggings/rke2/configmap.yaml
# when harvester-installer makes ISO, the original file is replaced
# harvester-patch to configmap fluent-bit.conf
apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.additionalLoggingSources.rke2.enabled }}
# patch to 100.1.3+up3.17.7/templates/loggings/rke2/configmap.yaml
# patch to ./templates/loggings/rke2/configmap.yaml
# when harvester-installer makes ISO, the original file is replaced
apiVersion: apps/v1
kind: DaemonSet
Expand Down Expand Up @@ -33,7 +33,7 @@ spec:
- mountPath: {{ .Values.systemdLogPath | default "/var/log/journal" }}
name: journal
readOnly: true
- mountPath: "/var/lib/rancher/rke2/agent/logs/kubelet.log"
- mountPath: "/var/lib/rancher/rke2/agent/logs"
name: kubelet
readOnly: true
- mountPath: /etc/machine-id
Expand All @@ -58,7 +58,7 @@ spec:
path: {{ .Values.systemdLogPath | default "/var/log/journal" }}
- name: kubelet
hostPath:
path: "/var/lib/rancher/rke2/agent/logs/kubelet.log"
path: "/var/lib/rancher/rke2/agent/logs"
- name: machine-id
hostPath:
path: /etc/machine-id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- with $.Values.eventTailer }}
# patch to 100.1.3+up3.17.7/templates/eventtailer.yaml
# patch to ./templates/eventtailer.yaml
# harvester-patch to import the event tailer feature
apiVersion: logging-extensions.banzaicloud.io/v1alpha1
kind: EventTailer
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- values.yaml
+++ values-new.yaml
@@ -146,14 +146,14 @@
tag: v0.4.0
fluentbit:
repository: rancher/mirrored-fluent-fluent-bit
- tag: 1.9.5
+ tag: 2.2.0
nodeagent_fluentbit:
os: "windows"
repository: rancher/fluent-bit
tag: 1.8.9
fluentbit_debug:
repository: rancher/mirrored-fluent-fluent-bit
- tag: 1.9.5-debug
+ tag: 2.2.0-debug
fluentd:
repository: rancher/mirrored-banzaicloud-fluentd
tag: v1.14.6-alpine-5
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- values.yaml
+++ values-new.yaml
@@ -10,7 +10,7 @@

image:
repository: rancher/shell
- tag: v0.1.18
+ tag: v0.1.22

nodeSelector: {}

Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ data:
}

map $http_referer $final_appSubUrl {
~.*/k8s/clusters/(c-m-.+)/api/v1/namespaces/cattle-monitoring-system/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/harvester/c/(c-m-.+)/kubevirt.io.virtualmachine/.*/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/harvester/c/(c-m-.+)/harvesterhci.io.addon/cattle-monitoring-system/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/harvester/c/(c-m-.+)/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/k8s/clusters/(c-m-.+)/api/v1/namespaces/cattle-monitoring-system/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/c/(c-m-.+)/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/api/v1/namespaces/cattle-monitoring-system/services/.* '"appSubUrl":"/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
default '"appSubUrl":"/k8s/clusters/local/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/harvester/c/(c-m-.+)/harvesterhci.io.addon/cattle-monitoring-system/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/harvester/c/(c-m-.+)/kubevirt.io.virtualmachine/.*/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/dashboard/harvester/c/(c-m-.+)/.* '"appSubUrl":"/k8s/clusters/$1/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
~.*/api/v1/namespaces/cattle-monitoring-system/.* '"appSubUrl":"/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
default '"appSubUrl":"/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy"';
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- values.yaml
+++ values-new.yaml
@@ -560,7 +560,7 @@
## Image to use to run the scripts
image:
repository: rancher/shell
- tag: v0.1.19
+ tag: v0.1.22

## Rancher Monitoring
##
13 changes: 4 additions & 9 deletions pkg/config/templates/rancherd-22-addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,14 @@ resources:
namespace: cattle-logging-system
spec:
repo: http://harvester-cluster-repo.cattle-system.svc/charts
version: "102.0.0+up3.17.10"
version: "103.0.0+up3.17.10"
chart: rancher-logging
{{- if and .Addons .Addons.rancher_logging }}
enabled: {{ .Addons.rancher_logging.Enabled }}
{{- else }}
enabled: false
{{- end }}
valuesContent: |
images:
fluentbit:
tag: 1.9.5 # replace the default 1.9.3, which has bug in systemd log
fluentbit_debug:
tag: 1.9.5-debug
systemdLogPath: /var/log/journal
disablePvc: true
additionalLoggingSources:
Expand Down Expand Up @@ -96,7 +91,7 @@ resources:
controlNamespace: cattle-logging-system
workloadOverrides:
containers:
- image: rancher/harvester-eventrouter:v0.1.1
- image: rancher/harvester-eventrouter:v0.1.2
name: event-tailer
resources:
limits:
Expand All @@ -112,7 +107,7 @@ resources:
namespace: cattle-monitoring-system
spec:
repo: http://harvester-cluster-repo.cattle-system.svc/charts
version: "102.0.0+up40.1.2"
version: "103.0.3+up45.31.1"
chart: rancher-monitoring
{{- if and .Addons .Addons.rancher_monitoring }}
enabled: {{ .Addons.rancher_monitoring.Enabled }}
Expand Down Expand Up @@ -218,4 +213,4 @@ resources:
valuesContent: |
image:
tag: v0.1.0
fullnameOverride: harvester-seeder
fullnameOverride: harvester-seeder
Loading
Loading