📅  最后修改于: 2022-03-11 14:52:36.298000             🧑  作者: Mango
KubernetesClient client = new DefaultKubernetesClient()
Namespace ns = new NamespaceBuilder().withNewMetadata().withName("my_namespace").endMetadata().build();
client.namespaces().create(ns)