命名空间创建

cat >namespace-development.yaml<<EOF
apiVersion: v1
kind: Namespace
metadata:
   name: development
   labels:
     name: development
EOF

kubectl create -f development.yaml

 

posted @ 2019-03-04 13:18  effortsing  阅读(188)  评论(0编辑  收藏  举报