...
Code Block | ||
---|---|---|
| ||
docker run --rm -v $(pwd):/mnt -e OS=redhat -e VERSION=1.23.7 -e CONTAINER_RUNTIME=docker -e CNI_PROVIDER=cilium -e CNI_PROVIDER_VERSION=1.9.0 -e ETCD_INITIAL_CLUSTER=plsparcdom001:192.168.109.100 -e ETCD_IP="%{networking.ip}" -e KUBE_API_ADVERTISE_ADDRESS="%{networking.ip}" -e INSTALL_DASHBOARD=true -e CNI_NETWORK_PROVIDER=https://raw.githubusercontent.com/cilium/cilium/v1.9/install/kubernetes/quick-install.yaml puppet/kubetool:6.2.0 |
La fase di inizilaizzazione, come si vede da comando, richiede un gestore di container installato sul server puppet, per la generazione di due file: 1
...
The initialization phase, as seen from the command, requires a container manager installed on the Puppet server to generate two files:
- common.yaml (which contains all the keys for registering the workers)
- Redhat.yaml (the name depends on the variable in the previous command, OS=redhat, and is used to instantiate the K8s master/control node
The generated files will be placed in the appropriate Puppet directory associated with the machine to be installed, for example:
Code Block | ||
---|---|---|
| ||
/etc/puppetlabs/code/environments/<your environment>/data/common.yaml
/etc/puppetlabs/code/environments/<your environment>/data/node/plsparcdom001.yaml (name of your master explain into the command) |
...