Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

kubernetes java client create namespace

V1Namespace ns = new V1Namespace().metadata(new V1ObjectMeta().name("new-namespace"));
CoreV1Api api = new CoreV1Api();
V1Namespace createdNamespace = api.createNamespace(ns, null, null, null);
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #kubernetes #java #client #create #namespace
ADD COMMENT
Topic
Name
2+8 =