标签:cti lang manager tar etc 系统 aml 命令 ted
[root@k8s-master ~]# kubectl get namespaces
NAME STATUS AGE
default Active 47h
kube-node-lease Active 47h
kube-public Active 47h
kube-system Active 47h
kubernetes-dashboard Active 41h
[root@k8s-master ~]# kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
calico-kube-controllers-5dc87d545c-nscfb 1/1 Running 0 44h
calico-node-j6rhw 1/1 Running 0 44h
calico-node-n7d6s 1/1 Running 0 44h
calico-node-x86s2 1/1 Running 0 44h
coredns-6d56c8448f-hkgnk 1/1 Running 1 47h
coredns-6d56c8448f-jfbjs 1/1 Running 0 47h
etcd-k8s-master 1/1 Running 0 47h
kube-apiserver-k8s-master 1/1 Running 1 47h
kube-controller-manager-k8s-master 1/1 Running 1 47h
kube-proxy-fhgbd 1/1 Running 0 46h
kube-proxy-l7q4r 1/1 Running 0 47h
kube-proxy-qwpjp 1/1 Running 0 46h
kube-scheduler-k8s-master 1/1 Running 1 47h
[root@k8s-master ~]# kubectl create namespace scajy
namespace/scajy created
[root@k8s-master ~]# kubectl create deployment test -n scajy --image=nginx
deployment.apps/test created
[root@k8s-master ~]# kubectl get pods -n scajy
NAME READY STATUS RESTARTS AGE
test-5f6778868d-rmj2h 1/1 Running 0 70s
标签:cti lang manager tar etc 系统 aml 命令 ted
原文地址:https://www.cnblogs.com/scajy/p/14823129.html