mirror of https://git.rancher.io/charts
(dev-v2.6-archive) Merge pull request #1224 from aiyengar2/fix_rke_2_etcd_default_2_6
[2.6] Add NoExecute toleration to rke2Etcd and remove key
(partially cherry picked from commit 9c5c1c5ef3
)
pull/1680/head
parent
6b385a97b9
commit
4dc8ac280d
|
@ -1,6 +1,6 @@
|
||||||
--- charts-original/values.yaml
|
--- charts-original/values.yaml
|
||||||
+++ charts/values.yaml
|
+++ charts/values.yaml
|
||||||
@@ -2,13 +2,278 @@
|
@@ -2,13 +2,279 @@
|
||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
|
@ -225,9 +225,10 @@
|
||||||
+ nodeSelector:
|
+ nodeSelector:
|
||||||
+ node-role.kubernetes.io/etcd: "true"
|
+ node-role.kubernetes.io/etcd: "true"
|
||||||
+ tolerations:
|
+ tolerations:
|
||||||
|
+ - effect: "NoExecute"
|
||||||
|
+ operator: "Exists"
|
||||||
+ - effect: "NoSchedule"
|
+ - effect: "NoSchedule"
|
||||||
+ key: node-role.kubernetes.io/master
|
+ operator: "Exists"
|
||||||
+ operator: "Equal"
|
|
||||||
+
|
+
|
||||||
+## Component scraping nginx-ingress-controller
|
+## Component scraping nginx-ingress-controller
|
||||||
+##
|
+##
|
||||||
|
@ -281,7 +282,7 @@
|
||||||
|
|
||||||
## Provide a k8s version to auto dashboard import script example: kubeTargetVersionOverride: 1.16.6
|
## Provide a k8s version to auto dashboard import script example: kubeTargetVersionOverride: 1.16.6
|
||||||
##
|
##
|
||||||
@@ -89,8 +354,32 @@
|
@@ -89,8 +355,32 @@
|
||||||
|
|
||||||
##
|
##
|
||||||
global:
|
global:
|
||||||
|
@ -314,7 +315,7 @@
|
||||||
pspEnabled: true
|
pspEnabled: true
|
||||||
pspAnnotations: {}
|
pspAnnotations: {}
|
||||||
## Specify pod annotations
|
## Specify pod annotations
|
||||||
@@ -143,6 +432,22 @@
|
@@ -143,6 +433,22 @@
|
||||||
## ref: https://prometheus.io/docs/alerting/configuration/#configuration-file
|
## ref: https://prometheus.io/docs/alerting/configuration/#configuration-file
|
||||||
## https://prometheus.io/webtools/alerting/routing-tree-editor/
|
## https://prometheus.io/webtools/alerting/routing-tree-editor/
|
||||||
##
|
##
|
||||||
|
@ -337,7 +338,7 @@
|
||||||
config:
|
config:
|
||||||
global:
|
global:
|
||||||
resolve_timeout: 5m
|
resolve_timeout: 5m
|
||||||
@@ -179,25 +484,76 @@
|
@@ -179,25 +485,76 @@
|
||||||
## ref: https://prometheus.io/docs/alerting/notifications/
|
## ref: https://prometheus.io/docs/alerting/notifications/
|
||||||
## https://prometheus.io/docs/alerting/notification_examples/
|
## https://prometheus.io/docs/alerting/notification_examples/
|
||||||
##
|
##
|
||||||
|
@ -433,7 +434,7 @@
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -235,6 +591,25 @@
|
@@ -235,6 +592,25 @@
|
||||||
## Configuration for Alertmanager secret
|
## Configuration for Alertmanager secret
|
||||||
##
|
##
|
||||||
secret:
|
secret:
|
||||||
|
@ -459,7 +460,7 @@
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
## Configuration for creating an Ingress that will map to each Alertmanager replica service
|
## Configuration for creating an Ingress that will map to each Alertmanager replica service
|
||||||
@@ -352,7 +727,7 @@
|
@@ -352,7 +728,7 @@
|
||||||
## Of type: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
|
## Of type: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
|
||||||
tlsConfig: {}
|
tlsConfig: {}
|
||||||
|
|
||||||
|
@ -468,7 +469,7 @@
|
||||||
|
|
||||||
## metric relabel configs to apply to samples before ingestion.
|
## metric relabel configs to apply to samples before ingestion.
|
||||||
##
|
##
|
||||||
@@ -383,7 +758,7 @@
|
@@ -383,7 +759,7 @@
|
||||||
## Image of Alertmanager
|
## Image of Alertmanager
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
|
@ -477,7 +478,7 @@
|
||||||
tag: v0.21.0
|
tag: v0.21.0
|
||||||
sha: ""
|
sha: ""
|
||||||
|
|
||||||
@@ -495,9 +870,13 @@
|
@@ -495,9 +871,13 @@
|
||||||
## Define resources requests and limits for single Pods.
|
## Define resources requests and limits for single Pods.
|
||||||
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
||||||
##
|
##
|
||||||
|
@ -494,7 +495,7 @@
|
||||||
|
|
||||||
## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
|
## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
|
||||||
## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
|
## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
|
||||||
@@ -601,10 +980,46 @@
|
@@ -601,10 +981,46 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
namespaceOverride: ""
|
namespaceOverride: ""
|
||||||
|
|
||||||
|
@ -541,7 +542,7 @@
|
||||||
adminPassword: prom-operator
|
adminPassword: prom-operator
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
@@ -644,6 +1059,7 @@
|
@@ -644,6 +1060,7 @@
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: true
|
enabled: true
|
||||||
label: grafana_dashboard
|
label: grafana_dashboard
|
||||||
|
@ -549,7 +550,7 @@
|
||||||
|
|
||||||
## Annotations for Grafana dashboard configmaps
|
## Annotations for Grafana dashboard configmaps
|
||||||
##
|
##
|
||||||
@@ -692,7 +1108,60 @@
|
@@ -692,7 +1109,60 @@
|
||||||
## Passed to grafana subchart and used by servicemonitor below
|
## Passed to grafana subchart and used by servicemonitor below
|
||||||
##
|
##
|
||||||
service:
|
service:
|
||||||
|
@ -611,7 +612,7 @@
|
||||||
|
|
||||||
## If true, create a serviceMonitor for grafana
|
## If true, create a serviceMonitor for grafana
|
||||||
##
|
##
|
||||||
@@ -722,6 +1191,14 @@
|
@@ -722,6 +1192,14 @@
|
||||||
# targetLabel: nodename
|
# targetLabel: nodename
|
||||||
# replacement: $1
|
# replacement: $1
|
||||||
# action: replace
|
# action: replace
|
||||||
|
@ -626,7 +627,7 @@
|
||||||
|
|
||||||
## Component scraping the kube api server
|
## Component scraping the kube api server
|
||||||
##
|
##
|
||||||
@@ -879,7 +1356,7 @@
|
@@ -879,7 +1357,7 @@
|
||||||
## Component scraping the kube controller manager
|
## Component scraping the kube controller manager
|
||||||
##
|
##
|
||||||
kubeControllerManager:
|
kubeControllerManager:
|
||||||
|
@ -635,7 +636,7 @@
|
||||||
|
|
||||||
## If your kube controller manager is not deployed as a pod, specify IPs it can be found on
|
## If your kube controller manager is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1014,7 +1491,7 @@
|
@@ -1014,7 +1492,7 @@
|
||||||
## Component scraping etcd
|
## Component scraping etcd
|
||||||
##
|
##
|
||||||
kubeEtcd:
|
kubeEtcd:
|
||||||
|
@ -644,7 +645,7 @@
|
||||||
|
|
||||||
## If your etcd is not deployed as a pod, specify IPs it can be found on
|
## If your etcd is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1076,7 +1553,7 @@
|
@@ -1076,7 +1554,7 @@
|
||||||
## Component scraping kube scheduler
|
## Component scraping kube scheduler
|
||||||
##
|
##
|
||||||
kubeScheduler:
|
kubeScheduler:
|
||||||
|
@ -653,7 +654,7 @@
|
||||||
|
|
||||||
## If your kube scheduler is not deployed as a pod, specify IPs it can be found on
|
## If your kube scheduler is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1131,7 +1608,7 @@
|
@@ -1131,7 +1609,7 @@
|
||||||
## Component scraping kube proxy
|
## Component scraping kube proxy
|
||||||
##
|
##
|
||||||
kubeProxy:
|
kubeProxy:
|
||||||
|
@ -662,7 +663,7 @@
|
||||||
|
|
||||||
## If your kube proxy is not deployed as a pod, specify IPs it can be found on
|
## If your kube proxy is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1210,6 +1687,13 @@
|
@@ -1210,6 +1688,13 @@
|
||||||
create: true
|
create: true
|
||||||
podSecurityPolicy:
|
podSecurityPolicy:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -676,7 +677,7 @@
|
||||||
|
|
||||||
## Deploy node exporter as a daemonset to all nodes
|
## Deploy node exporter as a daemonset to all nodes
|
||||||
##
|
##
|
||||||
@@ -1259,6 +1743,16 @@
|
@@ -1259,6 +1744,16 @@
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
|
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
|
||||||
- --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
|
- --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
|
||||||
|
@ -693,7 +694,7 @@
|
||||||
|
|
||||||
## Manages Prometheus and Alertmanager components
|
## Manages Prometheus and Alertmanager components
|
||||||
##
|
##
|
||||||
@@ -1271,8 +1765,8 @@
|
@@ -1271,8 +1766,8 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
# Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
|
# Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
|
||||||
tlsMinVersion: VersionTLS13
|
tlsMinVersion: VersionTLS13
|
||||||
|
@ -704,7 +705,7 @@
|
||||||
|
|
||||||
## Admission webhook support for PrometheusRules resources added in Prometheus Operator 0.30 can be enabled to prevent incorrectly formatted
|
## Admission webhook support for PrometheusRules resources added in Prometheus Operator 0.30 can be enabled to prevent incorrectly formatted
|
||||||
## rules from making their way into prometheus and potentially preventing the container from starting
|
## rules from making their way into prometheus and potentially preventing the container from starting
|
||||||
@@ -1289,7 +1783,7 @@
|
@@ -1289,7 +1784,7 @@
|
||||||
patch:
|
patch:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
|
@ -713,7 +714,7 @@
|
||||||
tag: v1.5.0
|
tag: v1.5.0
|
||||||
sha: ""
|
sha: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -1428,13 +1922,13 @@
|
@@ -1428,13 +1923,13 @@
|
||||||
|
|
||||||
## Resource limits & requests
|
## Resource limits & requests
|
||||||
##
|
##
|
||||||
|
@ -734,7 +735,7 @@
|
||||||
|
|
||||||
# Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
|
# Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
|
||||||
# because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
|
# because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
|
||||||
@@ -1487,7 +1981,7 @@
|
@@ -1487,7 +1982,7 @@
|
||||||
## Prometheus-operator image
|
## Prometheus-operator image
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
|
@ -743,7 +744,7 @@
|
||||||
tag: v0.46.0
|
tag: v0.46.0
|
||||||
sha: ""
|
sha: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -1503,7 +1997,7 @@
|
@@ -1503,7 +1998,7 @@
|
||||||
## Prometheus-config-reloader image to use for config and rule reloading
|
## Prometheus-config-reloader image to use for config and rule reloading
|
||||||
##
|
##
|
||||||
prometheusConfigReloaderImage:
|
prometheusConfigReloaderImage:
|
||||||
|
@ -752,7 +753,7 @@
|
||||||
tag: v0.46.0
|
tag: v0.46.0
|
||||||
sha: ""
|
sha: ""
|
||||||
|
|
||||||
@@ -1558,6 +2052,14 @@
|
@@ -1558,6 +2053,14 @@
|
||||||
##
|
##
|
||||||
nodePort: 30901
|
nodePort: 30901
|
||||||
|
|
||||||
|
@ -767,7 +768,7 @@
|
||||||
## Configuration for Prometheus service
|
## Configuration for Prometheus service
|
||||||
##
|
##
|
||||||
service:
|
service:
|
||||||
@@ -1570,7 +2072,7 @@
|
@@ -1570,7 +2073,7 @@
|
||||||
port: 9090
|
port: 9090
|
||||||
|
|
||||||
## To be used with a proxy extraContainer port
|
## To be used with a proxy extraContainer port
|
||||||
|
@ -776,7 +777,7 @@
|
||||||
|
|
||||||
## List of IP addresses at which the Prometheus server service is available
|
## List of IP addresses at which the Prometheus server service is available
|
||||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
||||||
@@ -1822,7 +2324,7 @@
|
@@ -1822,7 +2325,7 @@
|
||||||
## Image of Prometheus.
|
## Image of Prometheus.
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
|
@ -785,7 +786,7 @@
|
||||||
tag: v2.24.0
|
tag: v2.24.0
|
||||||
sha: ""
|
sha: ""
|
||||||
|
|
||||||
@@ -1885,6 +2387,11 @@
|
@@ -1885,6 +2388,11 @@
|
||||||
##
|
##
|
||||||
externalUrl: ""
|
externalUrl: ""
|
||||||
|
|
||||||
|
@ -797,7 +798,7 @@
|
||||||
## Define which Nodes the Pods are scheduled on.
|
## Define which Nodes the Pods are scheduled on.
|
||||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||||
##
|
##
|
||||||
@@ -1917,7 +2424,7 @@
|
@@ -1917,7 +2425,7 @@
|
||||||
## prometheus resource to be created with selectors based on values in the helm deployment,
|
## prometheus resource to be created with selectors based on values in the helm deployment,
|
||||||
## which will also match the PrometheusRule resources created
|
## which will also match the PrometheusRule resources created
|
||||||
##
|
##
|
||||||
|
@ -806,7 +807,7 @@
|
||||||
|
|
||||||
## PrometheusRules to be selected for target discovery.
|
## PrometheusRules to be selected for target discovery.
|
||||||
## If {}, select all PrometheusRules
|
## If {}, select all PrometheusRules
|
||||||
@@ -1942,7 +2449,7 @@
|
@@ -1942,7 +2450,7 @@
|
||||||
## prometheus resource to be created with selectors based on values in the helm deployment,
|
## prometheus resource to be created with selectors based on values in the helm deployment,
|
||||||
## which will also match the servicemonitors created
|
## which will also match the servicemonitors created
|
||||||
##
|
##
|
||||||
|
@ -815,7 +816,7 @@
|
||||||
|
|
||||||
## ServiceMonitors to be selected for target discovery.
|
## ServiceMonitors to be selected for target discovery.
|
||||||
## If {}, select all ServiceMonitors
|
## If {}, select all ServiceMonitors
|
||||||
@@ -1965,7 +2472,7 @@
|
@@ -1965,7 +2473,7 @@
|
||||||
## prometheus resource to be created with selectors based on values in the helm deployment,
|
## prometheus resource to be created with selectors based on values in the helm deployment,
|
||||||
## which will also match the podmonitors created
|
## which will also match the podmonitors created
|
||||||
##
|
##
|
||||||
|
@ -824,7 +825,7 @@
|
||||||
|
|
||||||
## PodMonitors to be selected for target discovery.
|
## PodMonitors to be selected for target discovery.
|
||||||
## If {}, select all PodMonitors
|
## If {}, select all PodMonitors
|
||||||
@@ -2092,9 +2599,13 @@
|
@@ -2092,9 +2600,13 @@
|
||||||
|
|
||||||
## Resource limits & requests
|
## Resource limits & requests
|
||||||
##
|
##
|
||||||
|
@ -841,7 +842,7 @@
|
||||||
|
|
||||||
## Prometheus StorageSpec for persistent data
|
## Prometheus StorageSpec for persistent data
|
||||||
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
|
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
|
||||||
@@ -2117,7 +2628,13 @@
|
@@ -2117,7 +2629,13 @@
|
||||||
# medium: Memory
|
# medium: Memory
|
||||||
|
|
||||||
# Additional volumes on the output StatefulSet definition.
|
# Additional volumes on the output StatefulSet definition.
|
||||||
|
@ -856,7 +857,7 @@
|
||||||
|
|
||||||
# Additional VolumeMounts on the output StatefulSet definition.
|
# Additional VolumeMounts on the output StatefulSet definition.
|
||||||
volumeMounts: []
|
volumeMounts: []
|
||||||
@@ -2224,9 +2741,34 @@
|
@@ -2224,9 +2742,34 @@
|
||||||
##
|
##
|
||||||
thanos: {}
|
thanos: {}
|
||||||
|
|
||||||
|
@ -892,7 +893,7 @@
|
||||||
|
|
||||||
## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
|
## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
|
||||||
## (permissions, dir tree) on mounted volumes before starting prometheus
|
## (permissions, dir tree) on mounted volumes before starting prometheus
|
||||||
@@ -2234,7 +2776,7 @@
|
@@ -2234,7 +2777,7 @@
|
||||||
|
|
||||||
## PortName to use for Prometheus.
|
## PortName to use for Prometheus.
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in New Issue