kubectl delete deployment,ingress,svc demo-mml-jp-ylmopt-web-1 -n demo-mml   #删除预生产环境mml组ylmopt-web工程的pod,elb,svc服务
 

[root@gitlab-server ~]# kubectl cluster-info  --查看集群信息
Kubernetes master is running at https://192.168.27.22:5443
CoreDNS is running at https://192.168.27.22:5443/api/v1/namespaces/kube-system/services/coredns:dns/proxy

[root@gitlab-server ~]# kubectl get nodes --all-namespaces   --查看节点
NAME STATUS ROLES AGE VERSION
192.168.109.243 Ready <none> 73d v1.13.7-r0-CCE2.0.24.B001
192.168.119.75 Ready slave 99d v1.13.7-r0-CCE2.0.24.B001
192.168.13.34 Ready <none> 73d v1.13.7-r0-CCE2.0.24.B001
192.168.39.197 Ready <none> 73d v1.13.7-r0-CCE2.0.24.B001
192.168.41.41 Ready <none> 73d v1.13.7-r0-CCE2.0.24.B001
192.168.44.182 Ready <none> 99d v1.13.7-r0-CCE2.0.24.B00

[root@gitlab-server ~]# kubectl get pod --all-namespaces
NAMESPACE NAME                READY  STATUS    RESTARTS    AGE

demo-mml      demo-mml-jp-minipay-core-1-77fbbbff4f-bzwmn                1/1     Running       0          73d

kubectl describe pod demo-mml-jp-minipay-core-1-77fbbbff4f-bzwmn -n demo-mml #例子,查pod是否正常

kubectl get pod,svc,ingress -n demo-mml -o wide  --查看服务和调度和容器

[root@gitlab-server ~]# yum list installed|grep docker  --查看安装的带docker的工具
containerd.io.x86_64 1.2.6-3.3.el7 @docker-ce-stable
docker-ce.x86_64 3:18.09.7-3.el7 @docker-ce-stable
docker-ce-cli.x86_64 1:18.09.7-3.el7 @docker-ce-stable

[root@gitlab-server ~]# kubectl version  --kubelet版本
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:26:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.7-r0-CCE2.0.24.B001", GitCommit:"6d6b92b05374cffe1efef44479ffa1ea72fc7aed", GitTreeState:"clean", BuildDate:"2019-07-18T08:24:49Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

最新文章

  1. Android Studio中获取查看签名SHA1证书指纹数据或MD5的方法
  2. codeforces 734E(DFS,树的直径(最长路))
  3. 数据库知识整理&lt;一&gt;
  4. jsp中使用动态数据进行mySQL数据库的两种操作方法
  5. POJ3273Monthly Expense(二分)
  6. pl/sql 程序块里打印问题
  7. start with connect by prior学习
  8. live555从RTSP服务器读取数据到使用接收到的数据流程分析
  9. 批处理基础知识-IF
  10. 关于springboot项目中自动注入,但是用的时候值为空的BUG
  11. Flask 系列之 SQLAlchemy
  12. iOS----------被拒原因
  13. windows更改Jupyter Notebook工作的目录
  14. 开源CFD并非万金油
  15. SpringIOC的小例子
  16. 《图说VR入门》——DeepoonVR的大鹏(陀螺仪)枪
  17. Maven学习——修改Maven的本地仓库路径
  18. 让QtCreator在调试时显示字符串 Qt调试助手 QtDebuggingHelper qtc-debugging-helper
  19. exportfs命令 NFS客户端问题 FTP介绍 使用vsftpd搭建ftp
  20. Tomorrow Is A New Day

热门文章

  1. 安装virtual box
  2. SpringCloud介绍及入门一
  3. Python_BDD概念
  4. OAuth 2.0 的四种方式
  5. Apache 后台服务器(主要处理php及一些功能请求 如:中文url)   Nginx 前端服务器(利用它占用系统资源少得优势来处理静态页面大量请求)   Lighttpd 图片服务器   总体来说,随着nginx功能得完善将使他成为今后web server得主流。
  6. android studio: 实现类似于XCode中的#pragma mark的效果
  7. SVG-JS操作
  8. QDateTime QString
  9. 华为OpenStack开源团队人才招募中
  10. SpringMVC+Ajax实现文件批量上传和下载功能实例代码