Versions Compared

Key

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

...

As for the second point in the list, there are multiple CNI (Container Network Interfaces) to generate our Pod network. Here we use Calico (official guide), but obviously there are valid alternatives listed at the address shown in the command above (we report the link here). So let's run the command (check the version)

Code Block
languagebash
titleCalico
$ kubectl apply -f https://docs.projectcalico.org/v3.17/manifests/calico.yaml
# Flannel is an alternative
$ kubectl apply -f https://raw.githubusercontent.com/coreosflannel-io/flannel/master/Documentation/kube-flannel.yml

...

Code Block
languagebash
titleCluster infrastructure
$ kubectl get nodes
NAME                   STATUS   ROLES    AGE   VERSION
mycentos-0.novalocal   Ready    master   30h   v1.2021.21
mycentos-1.novalocal   Ready    <none>   25h   v1.2021.21
mycentos-2.novalocal   Ready    <none>   24h   v1.2021.21

The output should list the nodes that are part of the cluster.

Upgrading kubeadm clusters

To update the cluster, follow cluster follow the instructions in the official guide, that explains how to upgrade a Kubernetes cluster created with kubeadm. The upgrade workflow at high level is the following:

...