Appendix

Docker Desktop for Mac with kubernetes

Enable kubernetes and set context to docker-desktop

  1. Go to Docker Preferences menu.

  2. Move to Kubernetes tab.

  3. Check Enable Kubernetes option.

    Enable Kubernetes
  4. Wait for Kubernetes to come into running state.

    Running Kubernetes
  5. Verify by running the command:

    kubectl version

    You should get an output like one of the below output, based on your docker-desktop version:

    Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}
    Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:32:32Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
  6. Congratulations, you have Kubernetes running in your laptop!

    Please ensure your active context is set to "docker-desktop". You can verify by going to:

    Docker → Kubernetes → docker-desktop (context ticked)

    Docker-Desktop as k8s context

K9s

Install k9s

K9s is a powerful CLI tool to manage and interface with any Kubernetes cluster.

  1. To install run the command:

    brew install derailed/k9s/k9s
  2. To start the utility:

    k9s

    You can navigate to view pods, namespaces and other resources via keyboard shortcuts. Find more information at https://github.com/derailed/k9s

To confirm that Axual Platform is working fine with k9s

  1. open k9s.

    K9s home
  2. select strimzi pod and press d to describe the pod.

    K9s describe pod
If you want to take a look at what k9s offers, check out this article.

Helm

Install Helm v3.x

Helm is a package manager for Kubernetes. Version 3.x is required to set up the platform.

  1. Install Helm via Homebrew:

    brew install helm
  2. Once installation is complete, verify the version.

    helm version
    Please verify that the version shown is v3.x.x
    version.BuildInfo{Version:"v3.5.2", GitCommit:"167aac70832d3a384f65f9745335e9fb40169dc2", GitTreeState:"dirty", GoVersion:"go1.15.7"}

Ngnix Ingress

Ingress for older Kubernetes versions

>= 1.16.0-0 && < 1.22.0-0

Add the ingress-nginx repo.

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx

Start the ingress-nginx.

helm upgrade --install nginx ingress-nginx/ingress-nginx -n nginx --set-string controller.config.proxy-buffer-size="16k"

< 1.16.0-0

Add the nginx-ingress repo.

helm repo add stable https://kubernetes-charts.storage.googleapis.com/