Kubernetes开源书 - 周立timeoutSeconds: 1 name: liveness 容器的源码: http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { duration := time.Now().Sub(started) if duration.Seconds() > 10 { w.WriteHeader(500) Practices 本⽂档强调并整合了整个⽤户指南、⼊⻔⽂档和示例中引⼊的配置最佳实践。 这是⼀个“活”的⽂件。如果你想到的东⻄不在这个名单上,但可能对他⼈有⽤,请不要犹豫,提交issue或提交PR(pull request)。 General Config Tips(常规配置Tips) 定义配置时,指定最新的稳定API版本(当前为v1)。 配置⽂件应该被推送到集群之前,应存储在版本控制软件中。这样,如果需要,可以快速回滚配置。如果需要,还 取代它。这是⼀个有⽤的⽅法,⽤来调试隔离环境中之前“活着”的Pod。请参阅 kubectl label 命令。 Container Images(容器镜像) default container image pull policy 是 IfNotPresent ,如果镜像已经存在,则会导致 Kubelet 不会拉取镜像的问 题。如果您想始终强制拉取镜像,则必须在.yaml⽂件中指定 Always 的拉取策略(0 码力 | 135 页 | 21.02 MB | 1 年前3
Kubernetes Native DevOps PracticeAutoScaler k8s API DevOps Service DevOps Service DevOps Manager Restful API realtime log history log pull metric data ElasticSearch ElasticSearch Prometheus Push Gateway push metric data • Build task Gitlab/Harbor/Jira Integration Event payload can be passed to build task if needed gitlab new merge request event git log --pretty=oneline c5eff7ea..3211901e 3211901e9b877c92ab059a6f25180469dcbf1629 Merge0 码力 | 21 页 | 6.39 MB | 1 年前3
k8s操作手册 2.3cof-lee.com:5443/k8s/etcd:3.4.13-0 #可见镜像名已由默认的k8s.gcr.io/换成了配置文件里指定的docker镜像源 # kubeadm config images pull --image-repository="cof-lee.com:5443/k8s" #提前 下载需要的镜像 # kubeadm init --config /etc/kubeadm-init com:5443/k8s/coredns:v1.10.1 #可见镜像名已由默认的k8s.gcr.io/换成了配置文件里指定的docker镜像源 # kubeadm config images pull --image-repository="cof-lee.com:5443/k8s" #提前 下载需要的镜像 # ctr -n k8s.io image ls image-endpoint: unix:///run/containerd/containerd.sock �meout: 10 debug: false EOF ★crictl常用操作 crictl只支持pull拉取镜像及rmi删除镜像操作,不支持push及tag打标签 # crictl images #查看镜像,默认查询k8s.io命名空间,且不可指定命名 空间 # crictl0 码力 | 126 页 | 4.33 MB | 1 年前3
涂小刚-基于k8s的微服务实践jnlp-slave-* pod maven node helm kubectl java k8s node 容器 harbor pod1 pod2 pod3 pod*** push images pull code k8s cluster 容器平台持续集成交付全流程 ci-cd效果 k8s运维管理平台-构建 k8s运维管理平台-容器管理 meta-server (eureka) config-server k8s heapster pull docker 管理pod容器 kubelet 通过docker接 口获监控信息 cadvisor为kubelet内 置监 控组件,对外暴 露数据接口 k8s heapster pull拉取 cadvisor和k8sapi接口 获取监控信息写入 influxdb influxdb存储时 序数据 普罗米休斯pull拉 取cadvisor接口和 k8sapi接口获取监 通过grafna连接不 同的数据源展示不 同的监控界面 方案1 方案2 kube-apiserver Metrics-Server metrics-server通过对 api重定向缓存监控进 入内存 pull opentsdb remote_storage_ adapter test-1 test-2 test-3 dev-1 dev-2 dev-3 dev-mysql-1 中间件0 码力 | 19 页 | 1.34 MB | 1 年前3
vmware组Kubernetes on vSphere Deep Dive KubeCon China VMware SIGare created, they are place in a queue. (priority available in Beta) The scheduler continuously pull pods off the queue, evaluates the pod’s requirements, and assigns it to a worker node. 6 Kubenetes are created, they are place in a queue. (priority available in Beta) The scheduler continuously pull pods off the queue, evaluates the pod’s requirements, and assigns it to a worker node. Placement are created, they are place in a queue. (priority available in Beta) The scheduler continuously pull pods off the queue, evaluates the pod’s requirements, and assigns it to a worker node. Placement0 码力 | 25 页 | 2.22 MB | 1 年前3
VMware SIG Deep Dive into Kubernetes Schedulingare created, they are place in a queue. (priority available in Beta) The scheduler continuously pull pods off the queue, evaluates the pod’s requirements, and assigns it to a worker node. 6 Kubenetes are created, they are place in a queue. (priority available in Beta) The scheduler continuously pull pods off the queue, evaluates the pod’s requirements, and assigns it to a worker node. Placement are created, they are place in a queue. (priority available in Beta) The scheduler continuously pull pods off the queue, evaluates the pod’s requirements, and assigns it to a worker node. Placement0 码力 | 28 页 | 1.85 MB | 1 年前3
开课吧基于混合云的Kubernetes平台落地实践-程亮Maven Docker kubectl Jenkins pipeline 开课吧CI/CD架构 GitLab Maven Repository(nexus) Registry 云厂商K8S pull install deploy push get status rolling update • 多云多K8S多环境平台建设的初衷 多环境平台建设的初衷 01 02 03 多云多K8S多环境平台0 码力 | 22 页 | 7.42 MB | 9 月前3
Go Programming Pattern in Kubernetes Philosophygrpc dockershim remote (no-op) Sandbox Create Delete List Container Create Start Exec Image Pull List shim client api dockerd runtime pod CRI Spec Deployment • yum install -y kubelet kubeadm0 码力 | 29 页 | 2.12 MB | 1 年前3
Kubernetes for Edge Computing across
Inter-Continental Haier Production SitesData 监控维度: • 宿主机 • 容器 • 应用 • 业务 业务采集指标: • 访问量 • 错误率 • 调用耗时 • 饱和度 数据采集方式: • Push:非标 • Pull: • Filebeat扩展 数据存储方式: • OpenTSDB • Prometheus • ES 数据展现方式: • 自开发页面 • Kibana 海尔工业互联网 – 才云数据解决方案0 码力 | 33 页 | 4.41 MB | 1 年前3
腾讯基于 Kubernetes 的企业级容器云实践-罗韩梅2018-02-06 11:46:38 V7版本开时候运行 • 2018-02-09 09:33:02 对该实例做灰度升级,从V7版本升级到V8 版本 • 2018-02-09 09:33:02 开始pull V8版本的image PS:灰度升级属于原地升级,因此不需要重新过调度,升级的效率 也会提升。 每次升级可以选择要升级的实例个数以及具体哪些(个)实例。 能力扩展:存储场景 物理硬盘 cephFS0 码力 | 28 页 | 3.92 MB | 1 年前3
共 24 条
- 1
- 2
- 3













