logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

用Ubuntu和树莓派系统部署kubernetes集群后的一些心得

方案环境操作系统:Ubuntu 16.04& Raspbian GNU/Linux 9(Stretch Desktop)kubernetes :1.15.3flannel:0.11.0docker:docker-io 18.09.1节点部署将运行Ubuntu的PC机作为master节点,树莓派作为普通的slave节点踩过的一些坑Ubuntu上部署k8s的线上资料比...

#kubernetes
Kubernetes Python Client 初体验之node操作

今天讲一下k8s中对于各个实物节点node的操作。首先是获取所有nodes信息self.config.kube_config.load_kube_config(config_file="kubeconfig.yaml")print(self.coreApi.list_node())函数返回的是一个名为kubernetes.client.models.v1_node_list.V1Node...

Kubernetes Python Client 初体验之Deployment

Kubernetes官方推荐我们使用各种Controller来管理Pod的生命周期,今天写一个最常用的Deployment的操作例子。首先是创建Deploymentwith open(path.join(path.dirname(__file__), "lede_test1.yml")) as f:dep = yaml.safe_load(f)resp = self.a...

到底了