KubeCon2020/腾讯会议大规模使用Kubernetes的技术实践
Ø What are the advantages of batch gray release ? • more reliable and better control • More flexible • More efficient StatefulSetPlus StatefulSetPlus Service (Kube-proxy, CLB, etc.) 0 n-1 … StatefulSetPlus Operator Ø Keep share memory during Pod upgrade Ø Upgrade jitter (a few ms) for keep-alive services Flexible and dynamic resource management Dynamic Scheduler is to solve the problem of unbalanced node0 码力 | 19 页 | 10.94 MB | 1 年前3k8s操作手册 2.3
③k8s集群初始化 # kubeadm version #先查看k8s版本 # GitVersion:"v1.19.4" # kubeadm config images list #查看k8s其他组件的docker镜像名,默认用 k8s.gcr.io/的镜像源地址 k8s.gcr.io/kube-apiserver:v1.19.4 k8s.gcr. KubeletConfigura�on cgroupDriver: systemd failSwapOn: False #保存,(修改蓝色字体的参数值及新增最后5行) # kubeadm config images list --config /etc/kubeadm-init.yaml #查看需要的镜 像 cof-lee.com:5443/k8s/kube-apiserver:v1 cof-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-init0 码力 | 126 页 | 4.33 MB | 1 年前3Jib Kubecon 2018 Talk
Dockerfile best practices github.com/GoogleContainerTools/jib docs.docker.com/develop/develop-images/dockerfile_best-practices github.com/GoogleContainerTools/jib ** !target/petclinic-*.jar .dockerignore faster builds Smaller images github.com/GoogleContainerTools/jib Possibilities for a container “compiler” Smart inferences Container optimizations Even faster builds Smaller images Tools for running a container “compiler” Smart inferences Container optimizations Even faster builds Smaller images Tools for running the container Java Development on Kubernetes Skaffold + Jib Continuous development0 码力 | 90 页 | 2.84 MB | 1 年前3Node Operator: Kubernetes Node Management Made Simple
• CustomResourceDefinition (CRD) • Built on Kubernetes APIs • Kubernetes repo support • Agile, flexible and convenient Node-Operator: Overview • User: SREs who can scale & offline Nodes through posting0 码力 | 18 页 | 11.70 MB | 1 年前301. K8s扩展功能解析
enhancements © 2017 Rancher Labs, Inc. CustomResourceDefinition(CRD) • What CRD provides • Very flexible way to extend managed resource into a current Kubernetes cluster • Auto-generated API in Kubernetes0 码力 | 12 页 | 1.08 MB | 1 年前3Apache OpenWhisk + Kubernetes: A Perfect Match for Your Serverless Platform
Service • Zero server ops – No provisioning, updating, and managing server infrastructure. – Flexible Scalability • No compute cost when idle Benefits Serverless landscape defined in CNCF0 码力 | 24 页 | 3.53 MB | 1 年前3多租户Kubernetes VM Solutions for Multi-Tenant Applications
Virtlet Virtlet is a Kubernetes runtime server which allows you to run VM workloads, based on QCOW2 images. https://github.com/Mirantis/virtlet Virtlet compares with other CRI Virtlet Architecture Daemonset controller • much bigger codebase RancherVM https://github.com/rancher/vm Package and run KVM images as Kubernetes pods, run at scale. RancherVM Architecture RancherVM Networking Container Security0 码力 | 33 页 | 3.34 MB | 1 年前3Alluxio 助力 Kubernetes, 加速云端深度学习
25000 30000 35000 40000 P100 (1GPU) P100 (32GPU) V100 (8GPU) V100 (32GPU) RestNet50 模型训练速度(images/second) 分布式训练/GPU硬件升级加速明显 模拟数据训练时间 108 15.12 4.62 3.39 1 0 20 40 60 80 100 120 P100 (1GPU) 单机缓存无法满足海量数据加速 9993.6 3189.6 0 2000 4000 6000 8000 10000 12000 Synthetic ESSD云盘 PL2 RestNet50 模型训练速度 (images/second) 云盘 Alluxio - 分布式缓存的领导者 开源项目由李浩源博士(Alluxio公司CEO)在加州大学Berkeley分校 AMPLab就读期间创立 2013 20150 码力 | 22 页 | 11.79 MB | 1 年前3Kubernetes Native DevOps Practice
nodes vCenter openstack Extensibility / Integration • Easy to extend task template, just docker images • Use can define raw k8s job, more features can be enabled • Leverage all k8s resources and extensibility dockerfile using ConfigMap Job - pod template - volumes user build task • build the docker images init task • prepare code repository - volumes DevOps Operator Manage the Job environment variables0 码力 | 21 页 | 6.39 MB | 1 年前3Advancing the Tactical Edge with K3s and SUSE RGS
minimal streamlined container images in multiple flavors. Why? In designing the architecture and the DevSecOps pipeline estate, having a variety of container images would sup- port multiple specific0 码力 | 8 页 | 888.26 KB | 1 年前3
共 20 条
- 1
- 2