Skip to content

asvinwin123/kubernetes-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

kubernetes-hello-world

This will give an idea to host a hello world application in minikube cluster

Pre requisites

Minikube setup is already done.
If minikube is not installed kindly follow,
https://gist.github.com/gonzaloplaza/f62fdcfdb6aac3d15a0fe0d750715729

Start minikube

minikube start

Open minikube dashboard

minikube dashboard

Clone the repository

https://github.com/asvinwin123/kubernetes-hello-world.git

Run deployment

cd kubernetes-hello-world
kubectl create -f deployment.yaml

go to minikube dashboard and check the deployment and pods tab. verify the pods are in running state.

Verify the components in cmd line

kubectl get pods
kubectl get deployments
kubectl get services

Open the hello world application

get the minikube ip using
minikube ip
in browser open the following url to see the hello wrold app running in port 30001, 
http://minikubeip:30001

Remove the application from minikube

kubectl delete -f deployment.yaml

About

This will give an idea to host a hello world application in minikube cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors