November 2018
Intermediate to advanced
404 pages
10h 16m
English
End users won't be able to get access to your application instances in the cluster unless you explicitly create a service object that exposes an external IP address for your application deployment. To do so, perform the following steps:
$ kubectl expose deployment/my-new-kitura-app-deployment --type=NodePort --port=8080 --name=my-new-kitura-app-service --target-port=8080Here, you instruct Kubernetes to expose your deployment service through the NodePort service, my-new-kitura-app-service, which serves on port 8080 and connects to the containers that are also on the 8080 target port.
Read now
Unlock full access