Created
April 7, 2021 10:35
-
-
Save arush-sal/0aa25b87fbdfbca7ff895eb3b309ef95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this config file contains all config fields with comments | |
# NOTE: this is not a particularly useful config file | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
# patch the generated kubeadm config with some extra settings | |
kubeadmConfigPatches: | |
- | | |
apiVersion: kubelet.config.k8s.io/v1beta1 | |
kind: KubeletConfiguration | |
evictionHard: | |
nodefs.available: "0%" | |
# patch it further using a JSON 6902 patch | |
#kubeadmConfigPatchesJSON6902: | |
#- group: kubeadm.k8s.io | |
# version: v1beta2 | |
# kind: ClusterConfiguration | |
# patch: | | |
# - op: add | |
# path: /apiServer/certSANs/- | |
# value: my-hostname | |
# 1 control plane node and 3 workers | |
nodes: | |
# the control plane node config | |
- role: control-plane | |
# the three workers | |
- role: worker | |
- role: worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment