mirror of
https://forge.liiib.re/indiehost/libre.sh/libre.sh.git
synced 2024-12-28 14:46:41 +00:00
30 lines
720 B
YAML
30 lines
720 B
YAML
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
name: libresh-dev
|
|
containerdConfigPatches:
|
|
- |-
|
|
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
|
|
endpoint = ["http://host.containers.internal:5000"]
|
|
nodes:
|
|
- role: control-plane
|
|
image: kindest/node:v1.27.3
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: InitConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
node-labels: "ingress-ready=true"
|
|
extraPortMappings:
|
|
- containerPort: 80
|
|
hostPort: 80
|
|
protocol: TCP
|
|
- containerPort: 443
|
|
hostPort: 443
|
|
protocol: TCP
|
|
- containerPort: 5000
|
|
hostPort: 5000
|
|
protocol: TCP
|
|
- role: worker
|
|
image: kindest/node:v1.27.3
|
|
- role: worker
|
|
image: kindest/node:v1.27.3
|