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 in Ansible by Dustin
12 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 by Anushri

Related Questions In Ansible

0 votes
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
1,907 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
217 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 in Others by anonymous
1,143 views
+3 votes
1 answer
0 votes
1 answer

Issue while using lineinfile module - Ansible

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

answered Jan 16 in Ansible by Lavanya
41 views
0 votes
1 answer