There is this example project on GitHub that I'm trying to deploy on local Kubernetes cluster (k3d). The developers of Proto.Actor described the k8s deployment pretty much here in the official docs. The problem is that the documentation is deploying on Azure Kubernetes Service whereas I want to deploy on local k8s cluster (k3d).
As much as I understand the steps, it's as following:
- Build docker images for both projects in the solution [I was able to do that step]
docker build -f ./ProtoClusterTutorial/Dockerfile . -t proto-cluster-tutorial:1.0.0`
docker build -f ./SmartBulbSimulatorApp/Dockerfile . -t smart-bulb-simulator-app:1.0.0`
- Push the docker images into a repository
Push the docker images where? Local k3d repository? Docker Hub? GitHub Container Registry?
Next question, the file values.yaml
in the Helm chart directory consists of a repository
field (here). If I push the docker image to ghcr or Docker hub, I'll just put the image link there, but what if I have to use the k3d local repository? What link should I use in that case?
The next question is how does kubectl get pods
know that it has to display the k3d cluster pods and not the Docker Desktop Kubernetes which I have enabled?
I would be grateful if you briefly list the steps that I have to accomplish using k3d, Helm chart and kubectl.