diff --git a/README.md b/README.md index 3cc9392..86cb764 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,15 @@ new parameters, or some parameters are removed. Currently, the kubectl and kubelet binaries can only be installed from packages. +Packages are managed from the following classes: kubernetes::client, kubernetes::node and kubernetes::master. + +Since kubernetes::client is used in kubernetes::node and kubernetes::master, you need to declare it before +kubernetes::node/kubernetes::master if you want to manage any parameters: + + class { 'kubernetes::client': manage_package => false, } + class { 'kubernetes::node': manage_package => false, } + class { 'kubernetes::master': manage_package => false, } + Install the kube client (this will force the latest version): include kubernetes::client @@ -96,7 +105,7 @@ to each node a subnet from the same ip class. You can self register a node with by setting the parameter register_node => true and the desired subnet in pod_cidr parameter: class { 'kubernetes::node::kubelet': - ensure => 'running', + ensure => 'latest', address => '0.0.0.0', api_servers => 'http://k-api.company.net:8080', configure_cbr0 => true,