Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


Deploying containerized app in kubernetes using kubernetes dashboard

Widget Connector
urlhttps://www.youtube.com/watch?v=kz8-JcoIQyw



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


or 


kubectl get endpoints --namespace=kube-system



Select: all namespace


Image Added



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"


Image Added




Image Added




Image Added



Connection  Cluster IP@:    10.0.0.16


Image Added



Pods  Cluster IP@ 10.10.0.130


Image Added




Image Added