Kategorien
Allgemein

Paths to k8s

Interested in kubernetes, but missing a playground ? Here is an overview of (tested) ways to get there

First, we may rent servers in the cloud and go for one of many ubuntu ways to install a kubernetes cluster.

But I prefer something on my Mac:

  • CRC 1 node openshift, Mac Pro Sonoma
    • crc daemon start –log-level=debug
    • crc start # VM starts
    • crc console –credentils # gives you oc login command
    • there is a CRC VM, startet by Red Hat OpenShift Local
    • logs and settings in ~/.crc
  • kubernetes in docker – kind – Mac Pro Sonoma, docker v4.23.0
    • kind create cluster –name kind-4711
    • creates a context kind-kind-4711
    • example with random generator: One of a kind
  • kubespray, VirtualBox/Vagrant, Mac Pro Sonoma
    • uses kubeadm internally
    • clone: gh repo clone morison/kubespray
    • cd kubespray; vagrant up

But, this fails on my Mac… disk full (all this stuff installed into HOME). VirtualBox is not my favorite anyways…