namespace Namespace

namespace role: resource isolation
when we do not specify the namespace, the default on default under

Create a namespace
kubectl the Create Resource Name namespace

In production, we recommend that a business placed in a namespace

Create a namespace for the Tomcat
kubectl the Create namespace Tomcat

Adding tomcat configuration file under the Metadata:
namespace: tomcat
create a tomcat, view the resource
kubectl the Create -f.
Kubectl GET All -n tomcat

Guess you like

Origin www.cnblogs.com/yangxiaoni/p/12024745.html