So now I will be sharing u about the flow of K8’s local deployment. So i have not bought any K8 cluster service from AWS or Digital Ocean, because it costs around 40$ or plus,

So i demonstrated the flow of Kubernetes. in the local, I share the video here too!

So how to start the flow in steps

STEP-1. Make sure you have kind installed and kubectl installed too!, Then create a cluster file, it is already created by kind-cluster.yaml in the k8s folder, now run

kind create cluster --name kubecredentials --config k8s/kind-cluster.yaml

So the above command basically creates three nodes, 1 master node and 2 worker node!

image.png

STEP-2. All the yaml files have been defined in the k8s so you just have to run them one by one!

, the image that Kubectl runs is the docker image that i had defined which are

docker pull zia2025/kubecredentials-issuance-service
docker pull zia2025/kubecredentials-verifcation-service

And then run the commands one by one, to start all the K8 services and deployments!

kubectl apply -f k8s/issuance-deployment.yaml
kubectl apply -f k8s/issuance-service.yaml
kubectl apply -f k8s/verification-deployment.yaml
kubectl apply -f k8s/verification-service.yaml
  1. Now check if everything is running successfully!

Check pods:

kubectl get pods

✅ Example output: