Skip to content

Commit

Permalink
Add option --unsafe-no-fsync to kind etcd setup (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
koct9i authored Jun 11, 2024
1 parent 2d657b1 commit 91956c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/kind/kind-with-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ containerdConfigPatches:
# https://kind.sigs.k8s.io/docs/user/configuration/#nodes
nodes:
- role: control-plane
# https://kind.sigs.k8s.io/docs/user/configuration#kubeadm-config-patches
# https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/#etcd-flags
# https://etcd.io/docs/v3.5/op-guide/configuration/#command-line-flags
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
etcd:
local:
extraArgs:
unsafe-no-fsync: "true"
extraMounts:
- &registry-config
hostPath: "config/registry"
Expand Down

0 comments on commit 91956c2

Please sign in to comment.