随笔分类 -  kubernetes

摘要:更名并推送 docker tag docker.io/nginx:latest registry:5000/nginx:latest docker push registry:5000/nginx:latest 推送失败无法找到registry,需要配置dns(以后补充),这里使用ip地址 dock 阅读全文
posted @ 2018-03-18 23:02 stromliu 阅读(1770) 评论(0) 推荐(0)
摘要:此为记录,借鉴博客园多位高手的文章 1、镜像准备 因为都知道的原因gcr.io无法访问,终于找到国内阿里云镜像中基本上都有 地址:https://dev.aliyun.com/list.html 使用阿里云镜像pull之后,可以docker tag 成gcr.io的镜像名称,这样就不用改yaml的内 阅读全文
posted @ 2018-03-18 23:01 stromliu 阅读(297) 评论(0) 推荐(0)
摘要:官方推荐方法: 连接:https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ 运行推荐yaml: 但是因为国内无法上google的原因,此办法一般都会报错。推荐以下办法: daocloude镜像地址: 阅读全文
posted @ 2018-03-15 00:42 stromliu 阅读(3280) 评论(0) 推荐(0)
摘要:通过yaml创建了pod,检查的时候一直是ContainerCreating状态。 查看pod状态使用kubectl describe pod nginx03, 发现docker从 registry.access.redhat.com/rhel7/pod-infrastructure:latest 阅读全文
posted @ 2018-03-14 15:20 stromliu 阅读(8677) 评论(1) 推荐(0)
摘要:kubernetes安装配置 官方推荐安装方案:https://v1-8.docs.kubernetes.io/docs/getting-started-guides/centos/centos_manual_config/ 阅读全文
posted @ 2018-03-14 15:05 stromliu 阅读(169) 评论(0) 推荐(0)