Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 749 Bytes

kubespray-2.10.0修改点.md

File metadata and controls

21 lines (18 loc) · 749 Bytes

###修改点 1、在roles/kubernetes-apps/文件夹下增加了nfsvelero两个文件夹,文件夹下保存了nfsveleroansible role

2、修改cluster.yml文件。 在文件cluster.yml文件最后增加了以下代码。

- hosts: kube-deploy
  roles:
    - { role: kubernetes-apps/nfs/nfs-server, tags: nfs }

- hosts: k8s-cluster
  roles:
    - { role: kubernetes-apps/nfs/nfs-common, tags: nfs }

- hosts: kube-master[0]
  roles:
    - { role: kubernetes-apps/nfs/loadnfsimages, tags: nfs }
    - { role: kubernetes-apps/nfs/nfs-client, tags: nfs }
    - { role: kubernetes-apps/velero/loadveleroimages, tags: velero }
    - { role: kubernetes-apps/velero/velero, tags: velero }