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
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
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
OpenShift Container Platform 4.14 机器管理此只能为集群创建一个集群自动扩展。 7.2.1. 集群自动扩展资源定义 此 ClusterAutoscaler 资源定义显示了集群自动扩展的参数和示例值。 apiVersion: "autoscaling.openshift.io/v1" kind: "ClusterAutoscaler" metadata: name: "default" spec: podPriorityThreshold: 创建的三台计算机器集的 spec.minReplicas 值设置为 0。 指定集群自动扩展初始化集群扩展后可在指定类型区域中部署的指定类型的最大机器数量。确保 apiVersion: "autoscaling.openshift.io/v1beta1" kind: "MachineAutoscaler" metadata: name: "worker-us-east-1a" 1 namespace: delete MachineAutoscaler/-n openshift-machine-api machineautoscaler.autoscaling.openshift.io "compute-us-east-1a" deleted $ oc get MachineAutoscaler -n openshift-machine-api 0 码力 | 277 页 | 4.37 MB | 1 年前3
OpenShift Container Platform 4.13 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 # Auto scale a replication 绑定来连接现有的 Kubernetes 应用程序和 Knative 服务。 使用灵活的插件架构扩展 Knative CLI,类似于 kubectl CLI。 为 Knative 服务配置 autoscaling 参数。 脚本化使用,如等待一个操作的结果,或部署自定义推出和回滚策略。 4.2. 安装 KNATIVE CLI 请参阅安装 Knative CLI。 OpenShift Container0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 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。 第 第 4 章 章 用于 用于0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.8 Service Mesh网关参数示例 gateways: egress: enabled: true runtime: deployment: autoScaling: enabled: true maxReplicas: 5 minReplicas: 1 enabled: true true ingress: enabled: true runtime: deployment: autoScaling: OpenShift Container Platform 4.8 Service Mesh 314 表 2.6. Istio 网关参数 参数 参数 描述 描述 值 值 默 默认值 认值 gateways 2.10.4. 配置 Kiali spec: runtime: components: pilot: deployment: autoScaling: enabled: true minReplicas: 1 maxReplicas: 5 t0 码力 | 344 页 | 3.04 MB | 1 年前3
共 17 条
- 1
- 2













