Skip to content

Instantly share code, notes, and snippets.

@vyta
Last active May 19, 2020 22:50
Show Gist options
  • Save vyta/bdc99acec88abdea7d91204622752b70 to your computer and use it in GitHub Desktop.
Save vyta/bdc99acec88abdea7d91204622752b70 to your computer and use it in GitHub Desktop.
Kind configuration with local host and added ip
---
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
apiServerAddress: "0.0.0.0"
apiServerPort: 6443
kubeadmConfigPatchesJSON6902:
- group: kubeadm.k8s.io
version: v1beta2
kind: ClusterConfiguration
patch: |
- op: add
path: /apiServer/certSANs/-
value: PUBLIC_IP
nodes:
- role: control-plane
image: kindest/node:v1.17.5@sha256:ab3f9e6ec5ad8840eeb1f76c89bb7948c77bbf76bcebe1a8b59790b8ae9a283a
- role: worker
image: kindest/node:v1.17.5@sha256:ab3f9e6ec5ad8840eeb1f76c89bb7948c77bbf76bcebe1a8b59790b8ae9a283a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment