You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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)



The puppetlabs-kubernetes module requires an initial setup, as per the guide, to set some parameters common to both the control and worker nodes:


Hiera for K8s
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

  • common.yaml (che contiene tutti le key per la registrazione dei worker)
  •  
  • No labels