OpenShift Container Platform 4.6 节点描述 API 版本 版本 CPU 使用率 已用的 CPU 内核数。可以用来计算 pod 的已请求 CPU 百分比。 autoscaling/v1、autoscaling/v2be ta2 内存使用率 已用内存量。可以用来计算 pod 的已请 求内存百分比。 autoscaling/v2beta2 重要 重要 对于基于内存的自动缩放,内存用量必须与副本数呈正比增大和减小。平均而言: 增加副本数一定会导致每个 示例, 示例,minReplicas 设 设置 置为 为 3 1. 查看部署的新状态: 部署中现在有 5 个 pod: 输 输出示例 出示例 2.4.1.2. 扩 扩展策略 展策略 autoscaling/v2beta2 API 允许您为 pod 横向自动扩展添加扩展策略。扩展策略用于控制 OpenShift Container Platform 横向自动扩展(HPA)如何扩展 pod。扩展策略允许您通过设置在指定时间段内扩展 dc/image-registry --min=5 --max=7 --cpu-percent=75 horizontalpodautoscaler.autoscaling/image-registry autoscaled apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: image-registry namespace:0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.9 节点描述 API 版本 版本 CPU 使用率 已用的 CPU 内核数。可以用来计算 pod 的已请求 CPU 百分比。 autoscaling/v1、autoscaling/v2be ta2 内存使用率 已用内存量。可以用来计算 pod 的已请 求内存百分比。 autoscaling/v2beta2 重要 重要 对于基于内存的自动缩放,内存用量必须与副本数呈正比增大和减小。平均而言: 增加副本数一定会导致每个 示例,其中 minReplicas 被 被设 设置 置为 为 3 1. 查看部署的新状态: 部署中现在有 5 个 pod: 输 输出示例 出示例 2.4.1.2. 扩 扩展策略 展策略 autoscaling/v2beta2 API 允许您为 pod 横向自动扩展添加扩展策略。扩展策略用于控制 OpenShift Container Platform 横向自动扩展(HPA)如何扩展 pod。扩展策略允许您通过设置在指定时间段内扩展 deployment/image-registry --min=5 --max=7 --cpu-percent=75 horizontalpodautoscaler.autoscaling/image-registry autoscaled apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: image-registry namespace:0 码力 | 374 页 | 3.80 MB | 1 年前3
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
OpenShift Container Platform 4.1 发行注记pod 进行横向的自 行横向的自动扩展 展 (技 技术预览) 此功能(目前为技术预览)允许您根据自定义的 metrics API 对 pod 进行横向的自动扩展(horizontal pod autoscaling,简称 HPA)。作为这种技术预览的一部分,现在可以部署一个 Prometheus Adapter 组 件来为定制的 metrics API 提供应用程序的指标数据(metrics)。 限制: TP TP PID 命名空间的共享控制 TP TP Manila Provisioner TP TP Cluster Administrator 控制台 GA GA Cluster Autoscaling (只适用于 AWS) GA GA Container Storage Interface (CSI) TP TP Operator Lifecycle Manager TP GA Red 在运行了几天后,openshift-cluster-node-tuning-operator 可能会产生大量的 secret。 (BZ#1714484) Autoscaling for Memory Utilization 功能可能无法象预期的情况运行。为基于内存的自动扩展 (autoscaling)创建 HPA 会在查找资源时失败。 (BZ#1707785) 在成功进行更新后,oc clusterversion 可能会错0 码力 | 22 页 | 287.47 KB | 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
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
OpenShift Container Platform 4.7 架构架构 构 38 RuntimeClass CertificateApproval CertificateSigning CertificateSubjectRestriction autoscaling.openshift.io/ManagementCPUsOverride authorization.openshift.io/RestrictSubjectBindings scheduling PersistentVolumeLabel DefaultStorageClass StorageObjectInUseProtection RuntimeClass DefaultIngressClass autoscaling.openshift.io/ManagementCPUsOverride scheduling.openshift.io/OriginPodNodeEnvironment image.openshift0 码力 | 55 页 | 1.16 MB | 1 年前3
OpenShift Container Platform 4.10 架构架构 构 46 RuntimeClass CertificateApproval CertificateSigning CertificateSubjectRestriction autoscaling.openshift.io/ManagementCPUsOverride authorization.openshift.io/RestrictSubjectBindings scheduling PodTolerationRestriction DefaultStorageClass StorageObjectInUseProtection RuntimeClass DefaultIngressClass autoscaling.openshift.io/ManagementCPUsOverride scheduling.openshift.io/OriginPodNodeEnvironment image.openshift0 码力 | 63 页 | 1.40 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具"foo", with the number of pods between 2 and 10, no target CPU utilization specified so a default autoscaling policy will be used oc autoscale deployment foo --min=2 --max=10 第 第 2 章 章 OPENSHIFT CLI (OC) 绑定来连接现有的 Kubernetes 应用程序和 Knative 服务。 使用灵活的插件架构扩展 Knative CLI,类似于 kubectl CLI。 为 Knative 服务配置 autoscaling 参数。 脚本化使用,如等待一个操作的结果,或部署自定义推出和回滚策略。 4.2. 安装 KNATIVE CLI 请参阅安装 Knative CLI。 OpenShift Container0 码力 | 120 页 | 1.04 MB | 1 年前3
共 26 条
- 1
- 2
- 3













