-
Notifications
You must be signed in to change notification settings - Fork 42
/
demo.yml
37 lines (36 loc) · 946 Bytes
/
demo.yml
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
# this config file contains all config fields with comments
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
# patch the generated kubeadm config with some extra settings
kubeadmConfigPatches:
- |
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
metadata:
name: config
apiServer:
extraArgs:
# Don't forget quotes on the values
insecure-bind-address: "0.0.0.0"
insecure-port: "8080"
etcd:
local:
extraArgs:
# Don't forget quotes on values
client-cert-auth: "false"
trusted-ca-file: ""
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
# These two allow for unauthenticated kubelet access
authorization-mode: "AlwaysAllow"
anonymous-auth: "true"
nodes:
# the control plane node config
- role: control-plane
extraPortMappings:
- containerPort: 8080
hostPort: 8080
- containerPort: 30000
hostPort: 30000