Files modified :
k3s ansible playbook - to handle interface issue
helmpulgin k8s deployment yaml file
Repatching after execution of yamllint
Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: I43a5b0e824cb99c85f9e4620a2ddba407dc759ae
- name: config-dir
hostPath:
path: /kubeconfig
- type: DirectoryOrCreate
status: {}
# yamllint enable
register: ifName
when: result is failed
+# yamllint disable rule:line-length
- name: install k3s
shell:
- cmd: curl -sfL https://get.k3s.io | sh -
+ cmd: curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--node-ip={{ ansible_host }} --node-external-ip={{ ansible_host }} --bind-address={{ ansible_host }} --flannel-iface=eth0 --docker --no-deploy=servicelb --no-deploy=traefik --write-kubeconfig-mode 644 --kube-apiserver-arg="service-node-port-range=30000-36000"" sh -
when: result is failed
+# yamllint disable rule:line-length
+
+#- name: install k3s
+# shell:
+# cmd: curl -sfL https://get.k3s.io | sh -
+# when: result is failed
+
- name: create .kube dir
shell:
cmd: mkdir -p $HOME/.kube/