[root@m8-95-116 m8cloud]# cat create_ccssoft_namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
name: ccssoft
labels:
name: ccssoft
[root@m8-95-116 m8cloud]# kubectl create -f create_ccssoft_namespace.yaml
[root@m8-95-116 m8cloud]# kubectl get namespaces
NAME LABELS STATUS AGE
ccssoft name=ccssoft Active 3m
default <none> Active 86d
[root@m8-95-116 m8cloud]#
网友评论