Dzień dobry
Nie udało się dokonać aktualizacji Grafana loki z wersji 1.1 na 1.4 Poniżej log:
helm upgrade --history-max=5 --install=true --namespace=loki --timeout=10m0s --values=/home/shell/helm/values-loki-stack-1.0.4.yaml --version=1.0.4 --wait=true loki /home/shell/helm/loki-stack-1.0.4.tgz
coalesce.go:223: warning: destination for loki-stack.loki.ingress.hosts is a table. Ignoring non-table value ([map[host:chart-example.local paths:]])
coalesce.go:223: warning: destination for loki-stack.loki.ingress.tls is a table. Ignoring non-table value ()
coalesce.go:223: warning: destination for loki-stack.loki.ingress.hosts is a table. Ignoring non-table value ([map[host:chart-example.local paths:]])
coalesce.go:223: warning: destination for loki-stack.loki.ingress.tls is a table. Ignoring non-table value ()
coalesce.go:223: warning: destination for loki-stack.loki.ingress.hosts is a table. Ignoring non-table value ([map[host:chart-example.local paths:]])
coalesce.go:223: warning: destination for loki-stack.loki.ingress.tls is a table. Ignoring non-table value ()
checking 50 resources for changes
Looks like there are no changes for ServiceAccount “loki-grafana”
Looks like there are no changes for ServiceAccount “loki”
Looks like there are no changes for ServiceAccount “loki-alertmanager”
Patch ServiceAccount “loki-kube-state-metrics” in namespace loki
Patch ServiceAccount “loki-prometheus-node-exporter” in namespace loki
Patch ServiceAccount “loki-prometheus-pushgateway” in namespace loki
Looks like there are no changes for ServiceAccount “loki-prometheus-server”
Looks like there are no changes for ServiceAccount “loki-promtail”
Looks like there are no changes for Secret “loki-grafana”
Looks like there are no changes for Secret “loki”
Patch Secret “loki-promtail” in namespace loki
Looks like there are no changes for ConfigMap “loki-grafana”
Looks like there are no changes for ConfigMap “loki-grafana-dashboards-ezdrp”
Looks like there are no changes for ConfigMap “loki-alertmanager”
Looks like there are no changes for ConfigMap “loki-prometheus-server”
Looks like there are no changes for ConfigMap “loki-loki-stack”
Looks like there are no changes for ConfigMap “loki-loki-stack-test”
Looks like there are no changes for PersistentVolumeClaim “loki-grafana”
Looks like there are no changes for PersistentVolumeClaim “loki-prometheus-server”
Looks like there are no changes for ClusterRole “loki-grafana-clusterrole”
Looks like there are no changes for ClusterRole “loki-kube-state-metrics”
Looks like there are no changes for ClusterRole “loki-prometheus-server”
Looks like there are no changes for ClusterRole “loki-promtail”
Looks like there are no changes for ClusterRoleBinding “loki-grafana-clusterrolebinding”
Looks like there are no changes for ClusterRoleBinding “loki-kube-state-metrics”
Looks like there are no changes for ClusterRoleBinding “loki-prometheus-server”
Looks like there are no changes for ClusterRoleBinding “loki-promtail”
Looks like there are no changes for Role “loki-grafana”
Looks like there are no changes for Role “loki”
Looks like there are no changes for RoleBinding “loki-grafana”
Looks like there are no changes for RoleBinding “loki”
Looks like there are no changes for Service “loki-grafana”
Looks like there are no changes for Service “loki-headless”
Looks like there are no changes for Service “loki-memberlist”
Looks like there are no changes for Service “loki”
Looks like there are no changes for Service “loki-alertmanager”
Looks like there are no changes for Service “loki-alertmanager-headless”
Looks like there are no changes for Service “loki-kube-state-metrics”
Patch Service “loki-prometheus-node-exporter” in namespace loki
Patch Service “loki-prometheus-pushgateway” in namespace loki
Looks like there are no changes for Service “loki-prometheus-server”
Patch DaemonSet “loki-prometheus-node-exporter” in namespace loki
error updating the resource “loki-prometheus-node-exporter”:
cannot patch “loki-prometheus-node-exporter” with kind DaemonSet: DaemonSet.apps “loki-prometheus-node-exporter” is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{“app.kubernetes.io/instance":"loki”, “app.kubernetes.io/name":"prometheus-node-exporter”}, MatchExpressions:v1.LabelSelectorRequirement(nil)}: field is immutable
Looks like there are no changes for DaemonSet “loki-promtail”
Patch Deployment “loki-grafana” in namespace loki
Patch Deployment “loki-kube-state-metrics” in namespace loki
Patch Deployment “loki-prometheus-pushgateway” in namespace loki
error updating the resource “loki-prometheus-pushgateway”:
cannot patch “loki-prometheus-pushgateway” with kind Deployment: Deployment.apps “loki-prometheus-pushgateway” is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{“app.kubernetes.io/instance":"loki”, “app.kubernetes.io/name":"prometheus-pushgateway”}, MatchExpressions:v1.LabelSelectorRequirement(nil)}: field is immutable
Patch Deployment “loki-prometheus-server” in namespace loki
Patch StatefulSet “loki” in namespace loki
Patch StatefulSet “loki-alertmanager” in namespace loki
Patch Ingress “loki-grafana” in namespace loki
error updating the resource “loki-grafana”:
cannot patch “loki-grafana” with kind Ingress: admission webhook “validate.nginx.ingress.kubernetes.io” denied the request: host “grafana.nazdomeny.pl” and path “/” is already defined in ingress loki/loki
Error: UPGRADE FAILED: cannot patch “loki-prometheus-node-exporter” with kind DaemonSet: DaemonSet.apps “loki-prometheus-node-exporter” is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{“app.kubernetes.io/instance":"loki”, “app.kubernetes.io/name":"prometheus-node-exporter”}, MatchExpressions:v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch “loki-prometheus-pushgateway” with kind Deployment: Deployment.apps “loki-prometheus-pushgateway” is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{“app.kubernetes.io/instance":"loki”, “app.kubernetes.io/name":"prometheus-pushgateway”}, MatchExpressions:v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch “loki-grafana” with kind Ingress: admission webhook “validate.nginx.ingress.kubernetes.io” denied the request: host “grafana.nazdomeny.pl” and path “/” is already defined in ingress loki/loki
Czy moge liczyć na pomoc?
Pozdrawiam
J.Duda