forked from kubero-dev/kubero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kind.yaml
30 lines (30 loc) · 988 Bytes
/
kind.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: kubero
networking:
ipFamily: ipv4
apiServerAddress: 127.0.0.1
nodes:
- role: control-plane
image: kindest/node:v1.28.0
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."kubero-registry.kubero.svc:5000"]
endpoint = ["http://kubero-registry.kubero.svc:5000"]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."registry.local.kubero.net"]
endpoint = ["http://registry.local.kubero.net"]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."registry.localhost"]
endpoint = ["http://registry.localhost"]