Mention Kubernetes version while using it with ansible

0 votes
I am trying to use ansible with Kubernetes. I have a Kubernetes version different from the current version and I think I'd have to mention the version I'm using. How do I mention it?
Jan 22, 2019 in Ansible by Dustin
45 views

1 answer to this question.

0 votes

Hey @Dustin,

The default value for roles is kube_version: 1.2.4.
You can override it by calling: ./deploy-cluster.sh -e kube_version=1.3.5

So you pass the value you want to use by calling 

./deploy-cluster.sh -e kube_version=xx

answered Jan 22, 2019 by Anushri

Related Questions In Ansible

+1 vote
3 answers
+1 vote
1 answer

Is it possible to append a large amount of text to a file using Ansible?

Here is concept which you can follow. blockinfile is ...READ MORE

answered Jul 30, 2018 in Ansible by Atul
• 10,240 points
5,719 views
0 votes
1 answer

Testing server response with timeout using ansible

Got it working using wait_for and until ...READ MORE

answered Aug 7, 2018 in Ansible by Atul
• 10,240 points
807 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
7,627 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,890 points

reshown Apr 12, 2019 by Kalgi 2,243 views
0 votes
1 answer

Issue while using lineinfile module - Ansible

The lineinfile task has to match both the ...READ MORE

answered Jan 16, 2019 in Ansible by Lavanya
143 views
0 votes
1 answer