Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The basic installation of operating systems and a foundational Kubernetes infrastructure with Calico CNI is carried out using Puppet and Foreman."

The modules used are as follows, some created as needed and others taken from the Puppet Forge repository:

Module using from puppet-forge:

puppetlabs-kubernetes  version 8.0.0

puppetlabs-helm  version 4.0.0 (Patched in baltig)

Module create purpose:

Il rgargana-helm_deploy_chart (in baltig)

rgargana-installer (in baltig)


Image Added


Il modulo puppetlabs-kubernetes  necessita di una prima inizializzazione, come da guida, per settare alcuni parametri comuni sia la control che al worker:

Code Block
titlek8s
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