kind.config.yaml 482 B

1234567891011121314151617
  1. kind: Cluster
  2. apiVersion: kind.x-k8s.io/v1alpha4
  3. networking:
  4. apiServerAddress: "0.0.0.0"
  5. # Ensure stable port so we can rewrite the server address later
  6. apiServerPort: 6443
  7. # Adding this so containers from the same docker network can access it
  8. # https://blog.scottlowe.org/2019/07/30/adding-a-name-to-kubernetes-api-server-certificate/
  9. nodes:
  10. - role: control-plane
  11. kubeadmConfigPatches:
  12. - |
  13. kind: ClusterConfiguration
  14. apiServer:
  15. certSANs:
  16. - "docker"