2025-10-07 11:20:26 +01:00
..
2025-10-07 11:05:08 +01:00
2025-10-07 11:05:08 +01:00
2025-10-07 11:20:26 +01:00
2025-10-07 11:20:26 +01:00
2025-10-07 11:20:26 +01:00
2025-10-07 11:20:26 +01:00
2025-10-07 11:05:08 +01:00
2025-10-07 11:05:08 +01:00

Kubernetes provision for Provisioning tasks

Basic installation for Kubernetes from file settings declaration using cri-0 as CRI and cilium as CNI

Addons

File layout:

.
├── README.md
├── default
│   ├── addons
│   │   └── istio
│   │       └── install.sh
│   ├── cni
│   │   └── cilium
│   │       └── install.sh
│   ├── cri
│   │   └── crio
│   │       ├── crictl.yaml
│   │       └── install.sh
│   ├── env-kubernetes.j2
│   ├── install-kubernetes.sh
│   └── templates
│       └── kubeadm-config.yaml.j2
└── images
    └── Kubernetes_logo.svg

Profile "default"

install-kubernetes.sh

install-kubernetes.sh will run OS update, install additional packages and finall call kubernetes install-kubernetes.sh with provided argumentes

install-kubernetes.sh full-path-settings-file [ -m controlplane (hostname -cp-) | worker] [install | update | makejoin | remove | fullremove]

Full path is required for settings-file as tasks will be executed inside kubernetes directory Settings-file name should include word 'setting' in filename Example: ./install-kubernetes.sh $(pwd)/k8s-settings

Kubernetes install

kubernetes install-kubernetes.sh can be invoked by itself

install-kubernetes.sh full-path-settings-file [ -m controlplane (hostname -cp-) | worker] [*install | update | makejoin | remove | fullremove]

List of tasks:

  • Update OS
  • Check hostname resolution
  • Adjust apt respositories
  • Install Kubernetes CRI
  • Download kuberenets packages
  • Fix ip forwarding
  • Turn off swap
  • Create config file for kubeadm
  • Install kubernetes: control-plane, worker
  • Install Kubernetes CNI (only control-plane)
  • Install Addons (only control-plane) Istio
  • Manage join token to existing cluster
  • Collect logs and infos