mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
ci: decrease kubelet sync frequency
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
@@ -3,7 +3,28 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user