04-23-2020 01:32 PM
Hi,
I am on Aci kubernete integration lab, ansible playbook doesnt install kubernetes component, yu can see error message below, doing what it says in error didnt help, i could not be able to start kubelet servise even installing them manuely, /var/log/messages shows taht required kubelet.conf cannot find under /etc/kubernetes,
Here is the ansible error;
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated.
Instead of using a loop to supply multiple items and specifying `name: "{{ item }}"`, please use `name:['kubernetes-cni-0.5.1-1', 'kubelet-1.7.15-0', 'kubeadm-1.7.15-0', 'kubectl-1.7.15-0']` and remove the
loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting
Thanks
Solved! Go to Solution.
04-24-2020 02:02 AM
I found solution in the next lab description, this might be nature of the labs, you can complete all previous task with auto_deploy script.
curl -o auto_deploy.sh \ https://raw.githubusercontent.com/DevNetSandbox/sbx_acik8s/master/kube_setup/auto_deploy.sh \ && chmod +x auto_deploy.sh
./auto_deploy.sh POD_NUM POD_PASS cni
04-24-2020 02:02 AM
I found solution in the next lab description, this might be nature of the labs, you can complete all previous task with auto_deploy script.
curl -o auto_deploy.sh \ https://raw.githubusercontent.com/DevNetSandbox/sbx_acik8s/master/kube_setup/auto_deploy.sh \ && chmod +x auto_deploy.sh
./auto_deploy.sh POD_NUM POD_PASS cni
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide