Browse Source

Remove kube-proxy after kube-router install

master
root 4 years ago
parent
commit
e484d3f89d
  1. 7
      roles/k8s-master/tasks/main.yml

7
roles/k8s-master/tasks/main.yml

@ -26,6 +26,13 @@
kubeconfig: /etc/kubernetes/admin.conf kubeconfig: /etc/kubernetes/admin.conf
src: /tmp/kubeadm-kuberouter-all-features.yaml src: /tmp/kubeadm-kuberouter-all-features.yaml
- name: Remove kube-proxy
k8s:
name: kube-proxy
kind: DaemonSet
namespace: kube-system
state: absent
- name: Get join token - name: Get join token
command: kubeadm token create --print-join-command command: kubeadm token create --print-join-command
register: found_join_token register: found_join_token

Loading…
Cancel
Save