This is just a simple project to learn about the ins and outs of deploying apps with Kubernetes.
- Docker Desktop on Windows 10
- Kubernetes enabled in Docker Desktop( this is what I used, if you want to set up Kubernetes some other way good on you, but I cant help you with that)
- I don't have the Kubernetes dashboard running
- Setup a Local Docker Registry
- Build and tag Docker images for both
app/andbackend/- tag the
app/image aslocalhost:5000/shw - tag the
backend/image aslocalhost:5000/shw-backend
- tag the
- Push
appandbackendimages to local repository, reference article from step 1 on how to do this. - From project root run
kubectl apply -f self_hello_world.yml
After deploying the application locally you can access it by navigating to http://localhost:1738/ and you should hopefully be presented with a message similar to this one:
Who is the man? provided by communication between: self-hello-kubernetes-5b7bf8cd88-rpzgj and self-hello-backend-586f4d7d69-dxgqk