[root@k8s-master ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8s-master Ready control-plane,master 27d v1.23.12
k8s-node1 Ready <none> 27d v1.23.12
k8s-node2 Ready <none> 10d v1.23.12
[root@k8s-master ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
edge-1 Ready agent,edge 4d4h v1.23.17-kubeedge-v1.13.4
k8s-master Ready control-plane,master 27d v1.23.12
k8s-node1 Ready <none> 27d v1.23.12
k8s-node2 Ready <none> 10d v1.23.12
[root@k8s-master ~]# kubectl get all -n kubeedge
NAME READY STATUS RESTARTS AGE
pod/cloud-iptables-manager-592m5 1/1 Running 3 (3d22h ago) 4d5h
pod/cloud-iptables-manager-pg4pl 1/1 Running 3 (3d22h ago) 4d5h
pod/cloudcore-5959c5986f-8hsc4 1/1 Running 3 (3d22h ago) 4d5h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/cloudcore NodePort 10.110.71.216 <none> 10000:30976/TCP,10001:31372/TCP,10002:31922/TCP,10003:30163/TCP,10004:31927/TCP 4d5h
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/cloud-iptables-manager 2 2 2 2 2 <none> 4d5h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/cloudcore 1/1 1 1 4d5h
NAME DESIRED CURRENT READY AGE
replicaset.apps/cloudcore-5959c5986f 1 1 1 4d5h
[root@k8s-master thingsboard]# kubectl apply -f postgresql.yaml
deployment.apps/postgresql created
[root@k8s-master thingsboard]# kubectl get all
NAME READY STATUS RESTARTS AGE
pod/postgresql-867f894fd4-tthq8 1/1 Running 0 31s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 84d
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/postgresql 1/1 1 1 31s
NAME DESIRED CURRENT READY AGE
replicaset.apps/postgresql-867f894fd4 1 1 1 31s
[root@k8s-master thingsboard]# kubectl apply -f tb-edge.yaml
deployment.apps/tb-edge created
[root@k8s-master thingsboard]# kubectl get all
NAME READY STATUS RESTARTS AGE
pod/postgresql-867f894fd4-tthq8 1/1 Running 0 14m
pod/tb-edge-67f4b7c8-xbpjg 1/1 Running 0 2m34s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 84d
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/postgresql 1/1 1 1 14m
deployment.apps/tb-edge 1/1 1 1 2m34s
NAME DESIRED CURRENT READY AGE
replicaset.apps/postgresql-867f894fd4 1 1 1 14m
replicaset.apps/tb-edge-67f4b7c8 1 1 1 2m34s