Page MenuHomeDevCentral

Install Kubernetes
AbandonedPublic

Authored by dereckson on Sep 20 2020, 22:17.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 11:41
Unknown Object (File)
Mon, Nov 4, 11:41
Unknown Object (File)
Thu, Oct 31, 19:22
Unknown Object (File)
Sun, Oct 27, 15:38
Unknown Object (File)
Fri, Oct 25, 23:18
Unknown Object (File)
Mon, Oct 21, 11:20
Unknown Object (File)
Oct 18 2024, 08:31
Unknown Object (File)
Oct 18 2024, 07:24
Subscribers
None

Details

Summary

Container runtime: CRI-O, requires libseccomp2 2.4+ from backports on Debian

The kubeadm, kubelet and kubectl executables should match the version of
Kubernetes. As such, the packages are marked on hold to avoid wild updates.

Ref T1622.

Test Plan

Tested on CloudHugger with salt-call --local state.apply

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
kubernetes
Build Status
Buildable 3594
Build 3843: arc lint + arc unit

Event Timeline

dereckson created this revision.

Disable swap. Set systemd as cgroup manager.

Move apt-transport-https to core

Let's stop the scope of this change at "deploy everything we need to be able to initialize the cluster".

That means:

  • install a way to communicate with runc (cri-o)
  • install kubectl, kubelet and kubeadm
  • tweak kernel
  • disable swap

ie this diff, but without roles/paas-kubernetes/kubernetes/cluster.sls (currently committed) and roles/paas-kubernetes/kubernetes/files/kubeadm.yaml (partially committed, partially uncommitted).

Prune cluster configuration

Consolidate sysctl changes using sysctl.present

No plan for a Kubernetes cluster currently.