-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.conf
90 lines (72 loc) · 2.87 KB
/
install.conf
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# if install kubeworkz on pivot cluster
INSTALL_KUBEWORKZ_PIVOT="true"
# if install k8s
INSTALL_KUBERNETES="true"
# k8s cni, support now is calico only
CNI="calico"
# Deprecated: this plugin here is only for consistency certification.
#
# there are four node mode below:
# "master" : node will be installed as a master of cluster
# "node-join-master" : node will be installed as a worker of cluster to join master
# "control-plane-master" : node will be installed as a master to control plane of cluster
# "node-join-control-plane" : node will be installed as a master to join control plane
NODE_MODE="master"
# k8s version you want to install
# support now is: 1.19.13, 1.20.9, 1.21.2, 1.22.2, 1.23.5, 1.24.7, 1.25.3, 1.26.0
KUBERNETES_VERSION="1.26.0"
# namespace that all kubeworkz components will deploy
# default is 'kubeworkz-system'
INSTALL_NAMESPACE="kubeworkz-system"
# +optional
# Deprecated: this plugin here is only for consistency certification.
#
# must be set when NODE_MODE="control-plane-master"
# or "node-join-control-plane"
CONTROL_PLANE_ENDPOINT="" #{ip}:{port} , dns
# +optional
# Deprecated: this plugin here is only for consistency certification.
#
# KUBERNETES_BIND_ADDRESS generally is node_ip
# can be set when NODE_MODE="master" ot "control-plane-master"
# default value is $(hostname -I |awk '{print $1}')
KUBERNETES_BIND_ADDRESS="" #{node_ip}
#######################################################################
# third part apps config
# used when INSTALL_KUBECUBE_PIVOT="true"
#######################################################################
# if install metric server
METRIC_SERVER_ENABLE="true"
# if install ingress controller
INGRESS_CONTROLLER_ENABLE="true"
# if install local path storage
LOCAL_PATH_STORAGE_ENABLE="true"
#######################################################################
# Deprecated: this plugins here are only for consistency certification.
#
# ssh config
# used when NODE_MODE="node-join-master" or node-join-control-plane
#######################################################################
# +optional
# master ip means master node ip of cluster
MASTER_IP=""
# +optional
# the user who can access master node, it can be empty
SSH_USER="root"
# +optional
# the port specified to access master node, it can be empty
SSH_PORT=22
# +optional
# must be empty when ACCESS_PRIVATE_KEY_PATH set
# password for master user to access master node
ACCESS_PASSWORD=""
# +optional
# must be empty when ACCESS_PASSWORD set
# ACCESS_PRIVATE_KEY for master user to access master node
ACCESS_PRIVATE_KEY_PATH="/root/.ssh/id_rsa"
#######################################################################
# container runtime config
# if value is docker, then use docker as container runtime
# else if value is containerd, then use containerd as container runtime
#######################################################################
CONTAINER_RUNTIME="containerd"