In my previous post i had explained about creating a three node master slave kubernetes cluster.
http://biexplored.blogspot.com/2018/08/kubernetes-cluster-configuration-and.html
This session will help to you deploy an kubernetes dashboard on the cluster and that will help us to monitor different applications hosted on the kubernetes cluster.
Step1: Using the link download and install kubernetes dashboard.
After installing the dashboard you can see a new service kubernetes-dashboard is started. it deployed required pods in the cluster.
The below command will get you the services running on the cluster
#kubectl get svc
For listing the pods
#kubectl get pods
After that describe the dashboard service and that will give you the details of the service.
#kubectl describe svc kubernetes-dashboard -n kube-system
As shown in the picture you can see the service is running in the nodeport 31000
try to access the dashboard through : http://<Master-IP>:3100 from the browser, and you can see the nice window for dashboard in the browser page.
http://biexplored.blogspot.com/2018/08/kubernetes-cluster-configuration-and.html
This session will help to you deploy an kubernetes dashboard on the cluster and that will help us to monitor different applications hosted on the kubernetes cluster.
Step1: Using the link download and install kubernetes dashboard.
kubectl apply -f https://gist.githubusercontent.com/initcron/32ff89394c881414ea7ef7f4d3a1d499/raw/4863613585d05f9360321c7141cc32b8aa305605/kube-dashboard.yaml
After installing the dashboard you can see a new service kubernetes-dashboard is started. it deployed required pods in the cluster.
The below command will get you the services running on the cluster
#kubectl get svc
For listing the pods
#kubectl get pods
After that describe the dashboard service and that will give you the details of the service.
#kubectl describe svc kubernetes-dashboard -n kube-system
As shown in the picture you can see the service is running in the nodeport 31000
try to access the dashboard through : http://<Master-IP>:3100 from the browser, and you can see the nice window for dashboard in the browser page.
No comments:
Post a Comment