-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
39 lines (31 loc) · 1.25 KB
/
hosts
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
[master]
# 如果部署单Master,只保留一个Master节点
# ip地址 node_name=节点名称 node_label=服务器标签 gpu_label=GPU标签 gpu_share_label=GPU容器化方式
192.168.114.112 node_name=k8s-master1 node_label=c2000 gpu_label=nsp gpu_share_label=sp_one
#192.168.114.72 node_name=k8s-master2 node_label=c2000 gpu_label=nsp gpu_share_label=nsp
[node]
192.168.114.33 node_name=k8s-node1 node_label=c5000 gpu_label=sp_t4 gpu_share_label=sp_mps
192.168.114.41 node_name=k8s-node2 node_label=c5000 gpu_label=sp_t4 gpu_share_label=sp_time
192.168.114.47 node_name=k8s-node3 node_label=c5000 gpu_label=sp_t4 gpu_share_label=sp_time
192.168.114.103 node_name=k8s-node4 node_label=c2000 gpu_label=nsp gpu_share_label=nsp
[newnode]
#192.168.114.47 node_name=k8s-node3 node_label=c5000 gpu_label=sp_t4 gpu_share_label=sp_time
#192.168.114.103 node_name=k8s-node4 node_label=c2000 gpu_label=nsp gpu_share_label=nsp
[k8s:children]
master
node
[etcd]
192.168.114.112 etcd_name=etcd-1
#192.168.114.72 etcd_name=etcd-2
#192.168.114.73 etcd_name=etcd-3
[lb]
# 如果部署单Master,该项忽略
#192.168.114.71 lb_name=lb-master
#192.168.114.72 lb_name=lb-backup
[harbor]
192.168.114.30
#和kubeconfig部署一起
[helm]
192.168.114.112
[nfs_server]
192.168.114.112