Day: September 30, 2018

【kubernetes101】Note1. How to access the application in k8s cluster?

【kubernetes101】Note1. How to access the application in k8s cluster?

Prerequisite Create an independent namespace to avoid additional conflicits. The new namespace is defined in the file namespace-dev.yaml { “kind”: “Namespace”, “apiVersion”: “v1”, “metadata”: { “name”: “note1”, “labels”: { “name”: “note1” } } } Apply the yaml file in your kubernetes cluster $ kubectl apply