Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
usrbinkat committed Feb 3, 2024
1 parent e6cb835 commit 32b9870
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions hack/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,26 @@ kind: Cluster
name: kargo
networking:
######################################################################
# The following is required for Cilium to work with kind
podSubnet: "10.242.0.0/16"
serviceSubnet: "10.12.0.0/16"
kubeProxyMode: none # disable kube-proxy
disableDefaultCNI: true # disable kindnet
apiServerPort: 16443
# apiServerAddress: "127.0.0.1"
# To use Cilium CNI
# https://docs.cilium.io/en/v1.10/gettingstarted/kind/#using-cilium-with-kind
# - Set ""kubeProxyMode"" to "none"
# - Set "disableDefaultCNI" to true"
kubeProxyMode: iptables # disable kube-proxy # Accepts "ipvs", "iptables", or "none"
disableDefaultCNI: false # disable kindnet :: Accepts boolean
nodes:
- role: control-plane
image: kindest/node:v1.29.0
extraMounts: # Persistent image cache
- hostPath: /var/lib/docker/volumes/kargo-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/kargo-worker-n01/_data
containerPath: /var/lib/containerd
- role: worker
image: kindest/node:v1.29.0
extraMounts: # Persistent image cache
- hostPath: /var/lib/docker/volumes/kargo-worker-n02/_data
containerPath: /var/lib/containerd
# Expose ports on the host:
# - 80/tcp
# - 443/tcp
# - [http] - 80/tcp
# - [https] - 443/tcp
# - [ssh] - 2222/tcp
extraPortMappings:
- listenAddress: "0.0.0.0"
protocol: TCP
Expand All @@ -38,6 +32,10 @@ nodes:
protocol: TCP
hostPort: 443
containerPort: 443
- listenAddress: "0.0.0.0"
protocol: TCP
hostPort: 2222
containerPort: 2222
kubeadmConfigPatches:
- |
# Label the worker node listening on service ports
Expand Down

0 comments on commit 32b9870

Please sign in to comment.