You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module installs and configures [Kubernetes](https://kubernetes.io/) which is an open-source system for automating deployment, scaling, and management of containerized applications. For efficient management and discovery, containers that make up an application are grouped into logical units.
32
32
@@ -39,7 +39,7 @@ To bootstrap a Kubernetes cluster in a secure and extensible way, this module us
39
39
40
40
[Install](https://puppet.com/docs/puppet/5.5/modules_installing.html) this module, [generate the configuration](#generating-the-module-configuration), [add the OS and hostname yaml files to Hiera](#adding-the-`{$OS}.yaml`-and-`{$hostname}.yaml`-files-to-Hiera), and [configure your node](#configuring-your-node).
41
41
42
-
Included in this module is [Kubetool](https://github.com/puppetlabs/puppetlabs-kubernetes/blob/master/tooling/kube_tool.rb), a configuration tool that auto-generates the Hiera security parameters, the discovery token hash, and other configurations for your Kubernetes cluster. To simplify installation and use, the tool is available as a Docker image.
42
+
Included in this module is [Kubetool](https://github.com/puppetlabs/puppetlabs-kubernetes/blob/main/tooling/kube_tool.rb), a configuration tool that auto-generates the Hiera security parameters, the discovery token hash, and other configurations for your Kubernetes cluster. To simplify installation and use, the tool is available as a Docker image.
Informs etcd on how many nodes are in the cluster.
477
477
478
-
A Hiera example is `kubernetes::etcd_initial_cluster: kube-master:172.17.10.101,kube-replica-master-01:172.17.10.210,kube-replica-master-02:172.17.10.220`.
478
+
A Hiera example is `kubernetes::etcd_initial_cluster: kube-control-plane:172.17.10.101,kube-replica-control-plane-01:172.17.10.210,kube-replica-control-plane-02:172.17.10.220`.
479
479
480
480
Defaults to `undef`.
481
481
@@ -616,7 +616,7 @@ Defaults to `{}`.
616
616
617
617
#### `kubelet_extra_arguments`
618
618
619
-
A string array to be appended to kubeletExtraArgs in the Kubelet's nodeRegistration configuration. It is applied to both masters and nodes. Use this for critical Kubelet settings such as `pod-infra-container-image` which may be problematic to configure via kubelet_extra_config and DynamicKubeletConfig.
619
+
A string array to be appended to kubeletExtraArgs in the Kubelet's nodeRegistration configuration. It is applied to both control-planes and nodes. Use this for critical Kubelet settings such as `pod-infra-container-image` which may be problematic to configure via kubelet_extra_config and DynamicKubeletConfig.
620
620
621
621
Defaults to `[]`.
622
622
@@ -710,7 +710,7 @@ Defaults to `undef`.
710
710
711
711
#### `schedule_on_controller`
712
712
713
-
Specifies whether to remove the master role and allow pod scheduling on controllers.
713
+
Specifies whether to remove the control plane role and allow pod scheduling on controllers.
714
714
715
715
Valid values are `true`, `false`.
716
716
@@ -754,7 +754,7 @@ Docker is the supported container runtime for this module.
754
754
755
755
## Development
756
756
757
-
If you would like to contribute to this module, please follow the rules in the [CONTRIBUTING.md](https://github.com/puppetlabs/puppetlabs-kubernetes/blob/master/CONTRIBUTING.md). For more information, see our [module contribution guide.](https://puppet.com/docs/puppet/latest/contributing.html)
757
+
If you would like to contribute to this module, please follow the rules in the [CONTRIBUTING.md](https://github.com/puppetlabs/puppetlabs-kubernetes/blob/main/CONTRIBUTING.md). For more information, see our [module contribution guide.](https://puppet.com/docs/puppet/latest/contributing.html)
758
758
759
759
To run the acceptance tests you can use Puppet Litmus with the Vagrant provider by using the following commands:
760
760
```
@@ -791,4 +791,4 @@ As currently Litmus does not allow memory size and cpu size parameters for the V
791
791
792
792
## Examples
793
793
794
-
In the examples folder you will find a [bash script](https://github.com/puppetlabs/puppetlabs-kubernetes/blob/master/examples/task_examples.sh) containg a few sample Puppet Bolt commands for the usage of the tasks. The example script is intended to be used with a Kubernetes API that requires the token authentication header, but the token parameter is optional by default.
794
+
In the examples folder you will find a [bash script](https://github.com/puppetlabs/puppetlabs-kubernetes/blob/main/examples/task_examples.sh) containg a few sample Puppet Bolt commands for the usage of the tasks. The example script is intended to be used with a Kubernetes API that requires the token authentication header, but the token parameter is optional by default.
Copy file name to clipboardExpand all lines: REFERENCE.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -734,7 +734,7 @@ the files if they do not exist.
734
734
735
735
[*etcd_initial_cluster*]
736
736
This will tell etcd how many nodes will be in the cluster and is passed as a string.
737
-
An example with hiera would be kubernetes::etcd_initial_cluster: etcd-kube-master=http://172.17.10.101:2380,etcd-kube-replica-master-01=http://172.17.10.210:2380,etcd-kube-replica-master-02=http://172.17.10.220:2380
737
+
An example with hiera would be kubernetes::etcd_initial_cluster: etcd-kube-control-plane=http://172.17.10.101:2380,etcd-kube-replica-control-plane-01=http://172.17.10.210:2380,etcd-kube-replica-control-plane-02=http://172.17.10.220:2380
738
738
Defaults to undef
739
739
740
740
[*etcd_initial_cluster_state*]
@@ -870,7 +870,7 @@ the files if they do not exist.
870
870
Defaults to v1.10.1
871
871
872
872
[*schedule_on_controller*]
873
-
A flag to remove the master role and allow pod scheduling on controllers
873
+
A flag to remove the control plane role and allow pod scheduling on controllers
874
874
Defaults to true
875
875
876
876
[*service_cidr*]
@@ -905,7 +905,7 @@ the files if they do not exist.
905
905
Defaults to {}
906
906
907
907
[*kubelet_extra_arguments*]
908
-
A string array to be appended to kubeletExtraArgs in the Kubelet's nodeRegistration configuration applied to both masters and nodes.
908
+
A string array to be appended to kubeletExtraArgs in the Kubelet's nodeRegistration configuration applied to both control planes and nodes.
909
909
Use this for critical Kubelet settings such as `pod-infra-container-image` which may be problematic to configure via kubelet_extra_config
910
910
Defaults to []
911
911
@@ -28316,7 +28316,7 @@ preferredVersion is the version preferred by the API server, which probably is t
28316
28316
28317
28317
Data type: `Optional[String[1]]`
28318
28318
28319
-
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
28319
+
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the control plane will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
Copy file name to clipboardExpand all lines: manifests/init.pp
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@
167
167
#
168
168
# [*etcd_initial_cluster*]
169
169
# This will tell etcd how many nodes will be in the cluster and is passed as a string.
170
-
# An example with hiera would be kubernetes::etcd_initial_cluster: etcd-kube-master=http://172.17.10.101:2380,etcd-kube-replica-master-01=http://172.17.10.210:2380,etcd-kube-replica-master-02=http://172.17.10.220:2380
170
+
# An example with hiera would be kubernetes::etcd_initial_cluster: etcd-kube-control-plane=http://172.17.10.101:2380,etcd-kube-replica-control-plane-01=http://172.17.10.210:2380,etcd-kube-replica-control-plane-02=http://172.17.10.220:2380
171
171
# Defaults to undef
172
172
#
173
173
# [*etcd_initial_cluster_state*]
@@ -307,7 +307,7 @@
307
307
# Defaults to v1.10.1
308
308
#
309
309
# [*schedule_on_controller*]
310
-
# A flag to remove the master role and allow pod scheduling on controllers
310
+
# A flag to remove the control plane role and allow pod scheduling on controllers
311
311
# Defaults to true
312
312
#
313
313
# [*service_cidr*]
@@ -342,7 +342,7 @@
342
342
# Defaults to {}
343
343
#
344
344
# [*kubelet_extra_arguments*]
345
-
# A string array to be appended to kubeletExtraArgs in the Kubelet's nodeRegistration configuration applied to both masters and nodes.
345
+
# A string array to be appended to kubeletExtraArgs in the Kubelet's nodeRegistration configuration applied to both control planes and nodes.
346
346
# Use this for critical Kubelet settings such as `pod-infra-container-image` which may be problematic to configure via kubelet_extra_config
Copy file name to clipboardExpand all lines: tasks/swagger_k8s_get_api_versions.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@
50
50
,
51
51
52
52
"serveraddressbyclientcidrs":{
53
-
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
53
+
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the control plane will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
0 commit comments