In this respostory we're discussing the overall Kubernetes archtectures along with some DevOps best practices, such as GitOps.
The argocd will target the kafka folder in which all the manifests for kafka will be versioned.
The installation can be done with
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.5.8/manifests/install.yaml
I recommend using Lens and portfowarding the service to your localhost. Enable this traffic on your anti-virus.
Then enter the UI with the outputed password dfrom the following command.
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
Follow this (tutorial)[https://medium.com/@mehmetodabashi/installing-argocd-on-minikube-and-deploying-a-test-application-caa68ec55fbf#:~:text=To%20use%20Argo%20CD%20with,would%20with%20a%20production%20cluster.] for more details.
Once argocd is installed we're using gitops to make kafka availabe, no need to install workloads manually with kubectl.
Now, one configured the kafka folder for this respository on the minikube, add the
Download the bitnami helm chart and paste it on the folder for the ArgoCd app.
To simplify, set in values.yaml 'persistence: false' to it runs gracefully. So argocd will get it up and running:
So, to see things better, we install kafka UI
Once up and running we may point to the runnig kafka cluster.
In the archtecture folder some of the principles and fundamentals are explained about the kubernetes archtecture.
Here we have both a basic setup for the application on basic
using only the console and kubectl cli.
Also we have the explanation on how to setup argocd to use GitOps