-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add simple local cluster setup script (#186)
- Loading branch information
Tim Schrodi
authored
May 6, 2021
1 parent
a1416b1
commit 86bf420
Showing
3 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# k3d configuration file, saved as e.g. /home/me/myk3dcluster.yaml | ||
apiVersion: k3d.io/v1alpha2 # 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: "host.k3d.internal" # important for the `server` setting in the kubeconfig | ||
hostIP: "0.0.0.0" # where the Kubernetes API will be listening on | ||
hostPort: "6445" # where the Kubernetes API listening port will be mapped to on your host system |
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