Page MenuHomeDevCentral

Install Kubernetes
AbandonedPublic

Authored by dereckson on Sep 20 2020, 22:17.
Tags
None
Referenced Files
F2743659: D2310.diff
Thu, Mar 28, 11:19
F2739520: D2310.id5893.diff
Wed, Mar 27, 15:30
F2739464: D2310.id.diff
Wed, Mar 27, 15:15
F2739374: D2310.diff
Wed, Mar 27, 14:53
Unknown Object (File)
Wed, Mar 27, 02:35
Unknown Object (File)
Sun, Mar 24, 00:58
Unknown Object (File)
Fri, Mar 22, 03:02
Unknown Object (File)
Mon, Mar 18, 17:38
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
arcpatch-D2310
Build Status
Buildable 3636
Build 3885: 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.