Last active
April 1, 2022 00:22
-
-
Save MAHDTech/03806be9b5109e1bdd2d28e5d5d1ac10 to your computer and use it in GitHub Desktop.
KIND config for Tanzu Community Edition
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
ClusterName: tce | |
KubeconfigPath: "" | |
ExistingClusterKubeconfig: "" | |
NodeImage: "" | |
Provider: kind | |
Cni: antrea | |
CniConfiguration: {} | |
PodCidr: 10.244.0.0/16 | |
ServiceCidr: 10.96.0.0/16 | |
TkrLocation: projects.registry.vmware.com/tce/tkr:v1.21.5 | |
AdditionalPackageRepos: | |
- projects.registry.vmware.com/tce/main:v0.11.0 | |
PortsToForward: [] | |
SkipPreflight: false | |
ControlPlaneNodeCount: "1" | |
WorkerNodeCount: "0" | |
ProviderConfiguration: | |
rawKindConfig: | | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
networking: | |
ipFamily: ipv4 | |
# NOTE: Use the KinD bridge IP when running in a container. | |
#apiServerAddress: 172.18.0.1 | |
apiServerPort: 6443 | |
podSubnet: "10.244.0.0/16" | |
serviceSubnet: "10.96.0.0/12" | |
disableDefaultCNI: true | |
kubeProxyMode: "ipvs" | |
nodes: | |
- role: control-plane | |
image: projects.registry.vmware.com/tce/kind/node:v1.22.5 | |
kubeadmConfigPatches: | |
- | | |
kind: InitConfiguration | |
nodeRegistration: | |
kubeletExtraArgs: | |
node-labels: "ingress-ready=true" | |
extraPortMappings: | |
- containerPort: 80 | |
hostPort: 80 | |
protocol: TCP | |
- containerPort: 443 | |
hostPort: 443 | |
protocol: TCP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be run as follows.
NOTE: If running from within a container, update the API server address to match your local KinD bridge IP