Skip to content

Instantly share code, notes, and snippets.

@gifflet
Created August 29, 2022 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gifflet/0bce55cf77681b6b72cd82c16a0cdb4f to your computer and use it in GitHub Desktop.
Save gifflet/0bce55cf77681b6b72cd82c16a0cdb4f to your computer and use it in GitHub Desktop.
apiVersion: k3d.io/v1alpha4 # this will change in the future as we make everything more stable
kind: Simple # internally, we also have a Cluster config, which is not yet available externally
kubeAPI: # same as `--api-port myhost.my.domain:6445` (where the name would resolve to 127.0.0.1)
host: "rancher.<DOMAIN>" # important for the `server` setting in the kubeconfig
hostIP: "<MY_PUBLIC_IP>" # where the Kubernetes API will be listening on
hostPort: "6445"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment