Kubernetes开源书 - 周立secrets Checking application health Replicating application instances Using Horizontal Pod Autoscaling Naming and discovering Balancing loads Rolling updates Monitoring resources Accessing and Autoscalers (HPA) 的⽬标。也就是说,ReplicaSet可以由HPA⾃动伸缩。以下是 ⼀个HPA指向我们在上⼀个示例中创建的ReplicaSet的示例。 apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: frontend-scaler spec: scaleTargetRef: nginx-deployment --replicas=10 deployment "nginx-deployment" scaled 假设您的群集启⽤了 horizontal pod autoscaling 功能,您可以为Deployment设置⼀个autoscaler,并根据现有Pod的 CPU利⽤率,选择要运⾏的Pod的最⼩和最⼤个数。 $ kubectl autoscale deployment0 码力 | 135 页 | 21.02 MB | 1 年前3
KubeCon2020/腾讯会议大规模使用Kubernetes的技术实践management to optimize resource orchestration efficiency Ø High performance and comprehensive autoscaling What is TKEx Ø Based on TKE (Tencent Kubernetes Engine) & EKS (Tencent Elastic Kubernetes Service) of online and offline services. • Support Service Mesh. • Large-scale and high-performance autoscaling capabilities. • Multi-tenant and quota management. • etc. TKEx Architecture EKS (Elastic Kubernetes ValidatingWebhook to validate pod add request. DynamicQuota Large-scale and high-performance Autoscaling Motivation: Ø Reduce container OOM from bursted traffic. Ø Improve cluster resource utilization0 码力 | 19 页 | 10.94 MB | 1 年前3
Kubernetes Native DevOps Practiceoperator design • Pipeline / Stage/ Task / Task Template / Version Control • Logging, monitoring, autoscaling, high availability • Extensibility / Integration • CI/CD examples • Future plan Our DevOps Pipeline/Stage/Task/Task Template/Version Control/UI generation/Volume... • Logging, monitoring, autoscaling, high availability • Extensibility/Integration • CI/CD examples • Future plan Overall Architecture created from template Tasks in same stage can run sequentially or in parallel Logging, Monitoring, Autoscaling, High Availability Kubernetes Cluster Node Node Node Node Job Job Job Job Pod Pod Pod ElasticSearch0 码力 | 21 页 | 6.39 MB | 1 年前3
A Day in the Life of a Data Scientist Conquer Machine Learning Lifecycle on KubernetesGPU or CPU nodes • Massive Scale • OpenAI dedicates up to 10k cores for a single experiment • Autoscaling capabilities: Pay for what you use, scale down when idle • Parallel training instead of sequential: Spin up pods for each variation of hyperparameters • One centralized TensorBoard instance • Autoscaling will create / remove VMs as needed to save cost Demo: Create End to End ML Pipelines with Argo Distributed File Systems • NFS • HDFS • … Classic DevOps solutions: • Containers • CI/CD • Autoscaling • A/B testing and canary release of Models • Comparing Production accuracy vs expected accuracy0 码力 | 21 页 | 68.69 MB | 1 年前3
基于 Kubernetes 构建标准可扩展的云原生应用管理平台-孙健波、周正喜Flagger Virtual Service Manual Scaling App CRD HPA Knative Service Cert Canary AutoScaler AutoScaling Route Job Deployment 缺乏交互、复用、可移植能 力。不同重复造轮子只是适 配不同 API 如何基于 K8s ,构建出一个既用户友好,又高可扩展,还 统一、标准化的应用管理平台? truth) 持续集成 ● Build ● Run Unit Tests ● Build Docker Image ● Push Docker Image Image Registry AutoScaling Controller Rollout Controller GitOps OAM K8s Plugin + CUE Abstraction Processor Kubernetes0 码力 | 27 页 | 3.60 MB | 9 月前3
Kubernetes + OAM 让开发者更简单分批策略 访问控制 流量配置 Deployment Function - componentName: frontend traits: - trait: apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler spec: minReplicas: 1 maxReplicas: 10 - trait: apiVersion: spec: components: # 1st component - componentName: frontend traits: - trait: apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler spec: minReplicas: 1 maxReplicas: 10 - trait: apiVersion:0 码力 | 22 页 | 10.58 MB | 1 年前3
K8S安装部署开放服务cpu: 100m # memory: 128Mi # requests: # cpu: 100m # memory: 128Mi autoscaling: enabled: false minReplicas: 1 maxReplicas: 100 targetCPUUtilizationPercentage: cpu: 100m # memory: 128Mi # requests: # cpu: 100m # memory: 128Mi autoscaling: enabled: false minReplicas: 1 maxReplicas: 100 targetCPUUtilizationPercentage:0 码力 | 54 页 | 1.23 MB | 1 年前3
全球架构师峰会2019北京/大数据/Kubernetes 运行大数据工作负载的探索和实践&mdashorchestration, it has been expanded to support for data-intensive and stateful apps. Benefit: l Autoscaling in Cloud l Consolidate online service and offline analysis l Ecosystem( Monitor, logging etc)0 码力 | 25 页 | 3.84 MB | 1 年前3
Go Programming Pattern in Kubernetes PhilosophycontainerPort: 80 • kubectl create -f deployment.yaml • kubectl create -f hpa.yaml apiVersion: autoscaling/v2alpha1 kind: HorizontalPodAutoscaler metadata: name: php-apache namespace: default spec:0 码力 | 29 页 | 2.12 MB | 1 年前3
共 9 条
- 1













