mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
31 lines
925 B
YAML
31 lines
925 B
YAML
# See https://kind.sigs.k8s.io/docs/user/configuration/
|
|
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
name: kind
|
|
|
|
# We decrease the interval at which kubelet synchronizes the mounted configmaps
|
|
# and secrets from the default 1 minute to 10 seconds. It helps speeding up the
|
|
# tests because the configuration changes are propagated faster to the
|
|
# containers.
|
|
#
|
|
# While we apply the same settings to all nodes, there's a current limitation
|
|
# with Kind that kubelet configuration is cluster-wide so only the first patch
|
|
# is applied in fact. See https://github.com/kubernetes-sigs/kind/issues/3849
|
|
# for details.
|
|
nodes:
|
|
- role: control-plane
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: KubeletConfiguration
|
|
syncFrequency: 10s
|
|
- role: worker
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: KubeletConfiguration
|
|
syncFrequency: 10s
|
|
- role: worker
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: KubeletConfiguration
|
|
syncFrequency: 10s
|