Kategorien
k8s

All my k8s clusters

Its piling up… the choices do to test k8s on my mac: Here are some notes about how to install, pros + cons. minikube needs Docker Desktop, minikube container will show up. Can handle PV/PVC. (helm example: https://phoenixnap.com/kb/postgresql-kubernetes) Problems on my 8GB airbook, not starting up properly. kind kind or kubernetes in docker is a […]

Kategorien
Allgemein

Tekton pipelines

Tekton is an open-source cloud native CI/CD (Continuous Integration and Continuous Delivery/Deployment) solution. https://tekton.dev/docs/getting-started/ Lets see what tekton can do for creating CI/CD pipelines. (I have yet to find a good comparison of tekton and, say, gitlab CI…) First, we need a simple k8s cluster to install tekton. For this example, I am using k8s […]

Kategorien
Allgemein crc

OpenShift Local (was crc)

Red Hat OpenShift Local https://developers.redhat.com/products/openshift-local/overview is a way to install an OpenShift cluster locally, on your laptop. You are supposed to have a login for Red Hat and install via UI: But, I already have a crc installation and tried this: crc setup INFO Using bundle path /Users/sandorm/.crc/cache/crc_vfkit_4.12.1_amd64.crcbundle INFO Checking if running as non-root INFO […]

Kategorien
Allgemein

Geschützt: prometheus on my mac

Es gibt keinen Textauszug, da dies ein geschützter Beitrag ist.

Kategorien
k8s

Testing cilium on rancher

Cilium, an open source software to provide a network plugin (CNI) for kubernetes, offers a client interface (https://github.com/cilium/cilium-cli) for testing connectivity. Unfortunately, the README.md tells you this client currently does not support the Rancher RKE environment: What now ? Cilium is at the heart of you cluster, once you decided to go for that CNI, […]

Kategorien
Allgemein

cilium CNI and microk8s

On my mac, microk8s is a providing me a simple k8s kubernetes cluster. I want to experiment with CNI settings, and especially take a look at cilium (https://docs.cilium.io/en/v1.11/intro/#what-is-cilium) one of the the CNI spec conform plugins providing software defined networking (see https://www.cni.dev/docs/) The nice dashboard looks like this This gives you a glimpse at the […]

Kategorien
Allgemein

kubeDB on microk8s

Does it work ? I want to use the kubeDB community operator to create a database cluster, on my small footprint microk8s kubernetes cluster…running macOS… Summary: install microk8s community edition install kubeDB following this define a mariaDB cluster in a custom resource yaml apply the resource (If something goes wrong, use helm uninstall kubedb and […]

Kategorien
Allgemein

galera cluster on microk8s

Here is how to run a galera cluster on a (1 node) microk8s cluster, using bitname helm chart. Microk8s is a one node kubernetes cluster, you will notice when checking you galera cluster state:

Kategorien
Allgemein

CRD validation failure

Running into an error when trying to install a Custom Resource Definition from a file (in my case, the orange galera operator) This is supposed to be helpful: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/ But what is the background ? The CRD definition is a little older… and the specification may have changed. In my example, among others, additionalPrinterColumns moved […]

Kategorien
Allgemein crc

CRC quirks

Start CRC after crash CodeReady Containers may not start properly on you MacOS , especially after you ran out of power ? Make sure the CodeReady Containers.app has started alright and the hyperkit VM restarts. Here is what you can do: Other Details (k alias for kubectl) the fun stuff, log into CRC hyperkit VM […]