forked from kubernetes-retired/kpng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkind.yaml
55 lines (55 loc) · 1.32 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: kpng-proxy
networking:
kubeProxyMode: "none"
apiServerAddress: "0.0.0.0"
disableDefaultCNI: false
podSubnet: 192.168.0.0/16
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "kube-proxy=kpng,ingress-ready=true"
authorization-mode: "AlwaysAllow"
- |
kind: ClusterConfiguration
metadata:
name: config
etcd:
local:
extraArgs:
"listen-metrics-urls": "http://0.0.0.0:2381"
apiServer:
extraArgs:
"v": "3"
scheduler:
extraArgs:
"v": "3"
controllerManager:
extraArgs:
"v": "3"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "kube-proxy=kpng"
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "kube-proxy=kpng"