Skip to content

thejsj/kubernetes-blog-post

Repository files navigation

Kubernetes: How Do I Do That?

Setup

If you don't have an available Kubernetes cluster, you can create one locally using minikube.

In order to keep the complete demo in the same namespace, first create a namespace in your cluster:

kubectl create namespace kubernetes-demo

After that, apply all changes to the cluster simultaneously. These can also be applied one by one if needed:

kubectl --namespace=kubernetes-demo apply -f app-deployment.yml -f app-service.yml -f app-ingress.yml -f db-deployment.yml -f db-service.yml --record

After running this command, you can go to your dashboard. It should look something like this:

Deployments

screenshots/deployments.png

Replica Sets

screenshots/replica-sets.png

Pods

screenshots/pods.png

Services

screenshots/services.png

Ingresses

screenshots/ingresses.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published