Puppet Kubernetes How do i configure my node as a controller or worker

0 votes
Aug 21, 2019 in Puppet by Sandy
665 views

1 answer to this question.

0 votes

You could configure your node to be a controller or a worker. It must be one or the other but not both.

To make a node a controller, add the following code to the manifest:

class {'kubernetes':
  controller => true,
}

To make a node a worker, add the following code to the manifest:

class {'kubernetes':
  worker => true,
}
answered Aug 21, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

How can i know the time as to when exactly did a node join puppet?

Puppet does not itself keep any timestamp ...READ MORE

answered Aug 8, 2019 in Puppet by Sirajul
• 59,230 points
739 views
0 votes
1 answer

Puppet+Docker: How do i configure a swarm if i am using windows server 2016.

There are a few considerations to be ...READ MORE

answered Aug 16, 2019 in Puppet by Sirajul
• 59,230 points
948 views
0 votes
1 answer

Puppet+kubernetes: How do I describe a Kubernetes Pod in Puppet DSL?

The Puppet Kubernetes module currently assumes you ...READ MORE

answered Aug 21, 2019 in Puppet by Sirajul
• 59,230 points
1,012 views
0 votes
1 answer

How do i configure my puppet server to be connected to an ENC?

You need to configure two settings to ...READ MORE

answered Aug 30, 2019 in Puppet by Sirajul
• 59,230 points
907 views
+1 vote
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
15,578 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,435 views
0 votes
1 answer

Puppet+Docker: How do i configure my docker container to use a NFS volume?

docker_volume { 'nfs-volume': ensure => ...READ MORE

answered Aug 13, 2019 in Puppet by Sirajul
• 59,230 points
758 views
0 votes
1 answer

Puppet+Docker: How do i configure my docker container to use a NFS volume through a Hiera config file?

If using Hiera, configure the docker::volumes class in the ...READ MORE

answered Aug 14, 2019 in Puppet by Sirajul
• 59,230 points
942 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP