k8s下也是这个问题
- [root@master ~]# kubectl logs baota
- Stopping Bt-Tasks... done
- Stopping Bt-Panel... done
- Starting Bt-Panel.... done
- Starting Bt-Tasks... done
- [root@master ~]#
复制代码
- [root@master ~]# kubectl get svc
- NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
- kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 14h
- nginx NodePort 10.43.204.161 <none> 80:30155/TCP 12h
- db-mysql-primary-headless ClusterIP None <none> 3306/TCP 12h
- db-mysql-secondary-headless ClusterIP None <none> 3306/TCP 12h
- db-mysql-primary ClusterIP 10.43.26.223 <none> 3306/TCP 12h
- db-mysql-secondary ClusterIP 10.43.57.112 <none> 3306/TCP 12h
- redis-headless ClusterIP None <none> 6379/TCP 20m
- redis-master ClusterIP 10.43.100.183 <none> 6379/TCP 20m
- baota NodePort 10.43.220.180 <none> 8888:32136/TCP 2m37s
- [root@master ~]#
复制代码 |