Deploying containerized app in kubernetes using kubernetes dashboard
Widget Connector | ||
---|---|---|
|
1- Find the NodePort of
...
Kubernetes ( tcp port of Kubernetes )
2- Under Deployment, Create an APP
...
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
...
EndPoints: http://10.10.0.129:9090
or
kubectl get endpoints --namespace=kube-system
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"
...