随笔分类 -  Kubernetes旅程

摘要:每个微服务通过 Docker 进行发布,随着业务的发展,系统中遍布着各种各样的容器。于是,容器的资源调度,部署运行,扩容缩容就是我们要面临的问题。 基于 Kubernetes 作为容器集群的管理平台被广泛应用,今天我们一起来看看 Kubernetes 的架构中有那些常用的组件以及运行原理。 Kube 阅读全文
posted @ 2019-12-11 22:26 Arvin-Tao 阅读(7103) 评论(1) 推荐(1)
摘要:参考:https://yq.aliyun.com/articles/439152 站点版 (一)、企业站 搜狐:http://mirrors.sohu.com/ 网易:http://mirrors.163.com/ 阿里云:http://mirrors.aliyun.com/ 腾讯:http://a 阅读全文
posted @ 2019-11-30 21:32 Arvin-Tao 阅读(325) 评论(0) 推荐(0)
摘要:1. 可在相关的镜像前添加 keveon 或者 mirrorgooglecontainers 就可以下载镜像, 然后在修改 tag docker pull mirrorgooglecontainers/kube-apiserver:v1.14.2 docker tag mirrorgooglecon 阅读全文
posted @ 2019-11-30 21:22 Arvin-Tao 阅读(389) 评论(0) 推荐(0)
摘要:1.安装net-tools [root@localhost ~]# yum install -y net-tools 2.关闭firewalld [root@localhost ~]# systemctl stop firewalld && systemctl disable firewalldRe 阅读全文
posted @ 2019-11-29 21:53 Arvin-Tao 阅读(332) 评论(0) 推荐(0)
摘要:四种:Secret 、ConfigMap、Downward API、ServiceAccountToken 1.Secret Secret:帮你把Pod想要访问的加密数据,存放到Etcd中,然后,通过在Pod容器里挂载Volume的方式,访问这些Secret里保存的信息, Secret典形场景,比如 阅读全文
posted @ 2019-11-28 23:26 Arvin-Tao 阅读(1355) 评论(3) 推荐(0)
摘要:Kubernetes的官方文档中并没有对apiVersion的详细解释,而且因为K8S本身版本也在快速迭代,有些资源在低版本还在beta阶段,到了高版本就变成了stable。 如Deployment: 1.6版本之前 apiVsersion:extensions/v1beta1 1.6版本到1.9版 阅读全文
posted @ 2019-11-28 23:17 Arvin-Tao 阅读(1774) 评论(0) 推荐(1)