root@rasp-master:~/wordpress# kubectl get pods --all-namespaces
========================================================================================
NAMESPACE NAME READY STATUS RESTARTS AGE
default mysql-master-9ndcp 1/1 Running 0 4d
default mysql-slave-x7k78 1/1 Running 0 4d
default nginx-7c87f569d-8tx2v 1/1 Running 0 4d
default nginx-7c87f569d-bn9fj 1/1 Running 0 4d
default nginx-7c87f569d-d267t 1/1 Running 0 4d
default nginx-7c87f569d-wcg9x 1/1 Running 0 4d
default nginx-7c87f569d-xdkgx 1/1 Running 0 4d
kube-system etcd-rasp-master 1/1 Running 1 6d
kube-system kube-apiserver-rasp-master 1/1 Running 1 6d
kube-system kube-controller-manager-rasp-master 1/1 Running 3 6d
kube-system kube-dns-66ffd5c588-k4gss 3/3 Running 3 6d
kube-system kube-flannel-ds-6lt2l 1/1 Running 2 6d
kube-system kube-flannel-ds-c6n6t 1/1 Running 2 6d
kube-system kube-flannel-ds-jzhtr 1/1 Running 4 6d
kube-system kube-proxy-5w9ck 1/1 Running 1 6d
kube-system kube-proxy-6758m 1/1 Running 1 6d
kube-system kube-proxy-hlr6b 1/1 Running 1 6d
kube-system kube-scheduler-rasp-master 1/1 Running 2 6d
kube-system kubernetes-dashboard-58bcb6d7c7-nrthj 1/1 Running 0 4d
=======================================================================================
root@rasp-master:~/wordpress# kubectl describe services --all-namespaces
========================================================================
Name: kubernetes
Namespace: default
Labels: component=apiserver
provider=kubernetes
Annotations: <none>
Selector: <none>
Type: ClusterIP
IP: 10.96.0.1
Port: https 443/TCP
TargetPort: 6443/TCP
Endpoints: 192.168.13.2:6443
Session Affinity: None
Events: <none>
Name: mysql
Namespace: default
Labels: app=mysql
Annotations: <none>
Selector: app=mysql
Type: ClusterIP
IP: 10.99.32.209
Port: <unset> 3306/TCP
TargetPort: 3306/TCP
Endpoints: <none>
Session Affinity: None
Events: <none>
Name: mysql-master
Namespace: default
Labels: name=mysql-master
Annotations: <none>
Selector: name=mysql-master
Type: ClusterIP
IP: 10.111.137.114
Port: <unset> 3306/TCP
TargetPort: 3306/TCP
Endpoints: 10.244.2.10:3306
Session Affinity: None
Events: <none>
Name: mysql-slave
Namespace: default
Labels: name=mysql-slave
Annotations: <none>
Selector: name=mysql-slave
Type: ClusterIP
IP: 10.108.100.154
Port: <unset> 3306/TCP
TargetPort: 3306/TCP
Endpoints: 10.244.1.12:3306
Session Affinity: None
Events: <none>
Name: nginx
Namespace: default
Labels: run=nginx
Annotations: <none>
Selector: run=nginx
Type: LoadBalancer
IP: 10.99.50.11
Port: <unset> 80/TCP
TargetPort: 80/TCP
NodePort: <unset> 30310/TCP
Endpoints: 10.244.1.14:80,10.244.1.15:80,10.244.2.12:80 + 2 more...
Session Affinity: None
External Traffic Policy: Cluster
Events: <none>
Name: kube-dns
Namespace: kube-system
Labels: k8s-app=kube-dns
kubernetes.io/cluster-service=true
kubernetes.io/name=KubeDNS
Annotations: <none>
Selector: k8s-app=kube-dns
Type: ClusterIP
IP: 10.96.0.10
Port: dns 53/UDP
TargetPort: 53/UDP
Endpoints: 10.244.0.3:53
Port: dns-tcp 53/TCP
TargetPort: 53/TCP
Endpoints: 10.244.0.3:53
Session Affinity: None
Events: <none>
Name: kubernetes-dashboard
Namespace: kube-system
Labels: k8s-app=kubernetes-dashboard
Annotations: <none>
Selector: k8s-app=kubernetes-dashboard
Type: ClusterIP
IP: 10.105.131.9
Port: <unset> 443/TCP
TargetPort: 8443/TCP
Endpoints: 10.244.1.13:8443
Session Affinity: None
Events: <none>
0 件のコメント:
コメントを投稿