This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
66 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,48 @@ | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
name: pulumi | ||
networking: | ||
apiServerPort: 6443 | ||
apiServerAddress: "0.0.0.0" | ||
serviceSubnet: "10.12.0.0/16" | ||
podSubnet: "10.242.0.0/16" | ||
###################################################################### | ||
# The following is required for Cilium to work with kind | ||
# Uncomment the next 2 lines to replace with cilium cni | ||
# disableDefaultCNI: true # disable kindnet | ||
# kubeProxyMode: none # disable kube-proxy | ||
nodes: | ||
- role: control-plane | ||
image: kindest/node:v1.29.0 | ||
extraMounts: # Persistent image cache | ||
- hostPath: /var/lib/docker/volumes/cilium-control-plane-n01/_data | ||
containerPath: /var/lib/containerd | ||
- role: worker | ||
image: kindest/node:v1.29.0 | ||
extraMounts: # Persistent image cache | ||
- hostPath: /var/lib/docker/volumes/cilium-worker-n01/_data | ||
containerPath: /var/lib/containerd | ||
- role: worker | ||
image: kindest/node:v1.29.0 | ||
extraMounts: # Persistent image cache | ||
- hostPath: /var/lib/docker/volumes/cilium-worker-n02/_data | ||
containerPath: /var/lib/containerd | ||
# Expose ports on the host: | ||
# - 80/tcp | ||
# - 443/tcp | ||
extraPortMappings: | ||
- listenAddress: "0.0.0.0" | ||
protocol: TCP | ||
hostPort: 80 | ||
containerPort: 80 | ||
- listenAddress: "0.0.0.0" | ||
protocol: TCP | ||
hostPort: 443 | ||
containerPort: 443 | ||
kubeadmConfigPatches: | ||
- | | ||
# Label the worker node listening on service ports | ||
kind: JoinConfiguration | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
node-labels: "ingress-ready=true" |