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

0 votes
Aug 21 in Puppet by Sandy
19 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 by Sirajul
• 37,480 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 in Puppet by Sirajul
• 37,480 points
28 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 in Puppet by Sirajul
• 37,480 points
24 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 in Puppet by Sirajul
• 37,480 points
15 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 in Puppet by Sirajul
• 37,480 points
28 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
2,986 views
+3 votes
1 answer
0 votes
1 answer
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 in Puppet by Sirajul
• 37,480 points
31 views