mirror of https://github.com/easzlab/kubeasz.git
minor fix
parent
cfa377db76
commit
b176a8761d
|
@ -9,6 +9,8 @@ WorkingDirectory=/var/lib/kubelet
|
||||||
#--pod-infra-container-image=registry.access.redhat.com/rhel7/pod-infrastructure:latest
|
#--pod-infra-container-image=registry.access.redhat.com/rhel7/pod-infrastructure:latest
|
||||||
ExecStart={{ bin_dir }}/kubelet \
|
ExecStart={{ bin_dir }}/kubelet \
|
||||||
--address={{ NODE_IP }} \
|
--address={{ NODE_IP }} \
|
||||||
|
--authentication-token-webhook=true \
|
||||||
|
--authorization-mode=Webhook \
|
||||||
--hostname-override={{ NODE_IP }} \
|
--hostname-override={{ NODE_IP }} \
|
||||||
--pod-infra-container-image=mirrorgooglecontainers/pause-amd64:3.0 \
|
--pod-infra-container-image=mirrorgooglecontainers/pause-amd64:3.0 \
|
||||||
--experimental-bootstrap-kubeconfig=/etc/kubernetes/bootstrap.kubeconfig \
|
--experimental-bootstrap-kubeconfig=/etc/kubernetes/bootstrap.kubeconfig \
|
||||||
|
|
|
@ -10,6 +10,6 @@ vrrp_instance VI-kube-master {
|
||||||
virtual_router_id {{ ROUTER_ID }}
|
virtual_router_id {{ ROUTER_ID }}
|
||||||
advert_int 3
|
advert_int 3
|
||||||
virtual_ipaddress {
|
virtual_ipaddress {
|
||||||
{{ MASTER_IP }}/24
|
{{ MASTER_IP }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@ vrrp_instance VI-kube-master {
|
||||||
check-haproxy
|
check-haproxy
|
||||||
}
|
}
|
||||||
virtual_ipaddress {
|
virtual_ipaddress {
|
||||||
{{ MASTER_IP }}/24
|
{{ MASTER_IP }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
- socat # 用于port forwarding
|
- socat # 用于port forwarding
|
||||||
- nfs-common # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
- nfs-common # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
||||||
- conntrack # network connection cleanup 用到
|
- conntrack # network connection cleanup 用到
|
||||||
|
- bash-completion
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: 删除centos默认安装
|
- name: 删除centos默认安装
|
||||||
|
|
Loading…
Reference in New Issue