You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 8
Next »
Deploying containerized app in kubernetes using kubernetes dashboard
1- Find the NodePort of Kubernetes ( tcp port of Kubernetes )
2- Under Deployment, Create an APP
3- Change from "loadbalancer " to "NodePort"
4- Get the Endpoint of the service ( (IP@> : <PortNumber> )
1- Find the NodePort of Kubernetest ( tcp port of Kubernetes )
kubectl get namespace
kubectl get svc --namespace=kube-system
kubectl describe svc dashboard --namespace=kube-system
EndPoints: http://10.10.0.129:9090
Select: all namespace
2- Under Deployment, Create an new APP ( click on "+ CREATE " )
name: jlk-ngnix1
image: mynginx:v1
type: external,
listen port: 80 (service-external side) /port target: 80 ( service-pod/container side )
namespace: jlk-namespace
labels=<service name>
3- Change from "LoadBalancer " to "NodePort"
Connection Cluster IP@: 10.0.0.16
Pods Cluster IP@ 10.10.0.130