- Knative notes
There is a bunch of ways to provision Kubernetes, but you need to take few elements into account:
- is it a “throwable” cluster, for development or tests purposes
- is it a local cluster (not exposed to the public)
- is it a production grade cluster (exposed to the public)
For the throwable case, there is a bunch of possibilities, from running VMs to running kubernetes in containers.
For the local cluster part, you can rely on the hard way or on tools from the community, depending on your system.
- I am trying to use NixOS for this : Kubernetes on NixOS.
- In parallel, I’m gonna setup k8s using microk8s on VMs too, so that I can test with a Ubuntu host.
For the production grade cluster, well, I am not there yet, but best advice, use GKE or OpenShift.
Extract configuration context to its own file
kubectl config view --minify --flatten \ --context=put-the-context-here > ~/.kube/config.context
TODO 🤖 Setting Up a Raspberry Pi 4 Kubernetes Cluster | APorcupine - A Blog about technology and other such geekery!