keisyd / kubernets-fundamentals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes

Goal

In this respostory we're discussing the overall Kubernetes archtectures along with some DevOps best practices, such as GitOps.

Instalation of ArgoCD

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.

Installing kafka

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.

https://github.com/bitnami/charts/tree/master/bitnami/kafka

To simplify, set in values.yaml 'persistence: false' to it runs gracefully. So argocd will get it up and running:

image

Install Kafka UI

So, to see things better, we install kafka UI

image

Once up and running we may point to the runnig kafka cluster.

Folders

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

About


Languages

Language:Smarty 95.5%Language:Mustache 4.5%