OpenShift Container Platform 4.10 可伸缩性和性能exec 命令查看这些配置集的内容: 4.4. 验证是否应用了 TUNED 配置集 验证应用到集群节点的 TuneD 配置集。 输 输出示例 出示例 NAME:配置集(Profile)对象的名称。每个节点有一个 Profile 对象,其名称相互匹配。 TUNED:要应用的 TuneD 配置集的名称。 APPLIED:如果 TuneD 守护进程应用了所需的配置集,则为 True。 (True/False/Unknown)。 DEGRADED:如果在应用 TuneD 配置集时报告了任何错误则为 True(True/False/Unknown)。 AGE:创建 Profile 对象后经过的时间。 4.5. 自定义调整规格 Operator 的自定义资源 (CR) 包含两个主要部分。第一部分是 profile:,这是 TuneD 配置集及其名称的列 表。第二部分是 recommend:,用来定义配置集选择逻辑。 多个自定义调优规格可以共存,作为 recommend: - profile: "openshift-control-plane" priority: 30 match: - label: "node-role.kubernetes.io/master" - label: "node-role.kubernetes.io/infra" - profile: "openshift-node"0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 4.9 节点程序策略将具 有优先权。 先决条件 先决条件 使用具有 cluster-admin 角色的用户访问集群。 流程 流程 1. 编辑 Scheduler 对象: 2. 指定在 spec.profile 字段中使用的配置集: $ oc edit scheduler cluster apiVersion: config.openshift.io/v1 kind: Scheduler metadata: 的标签的 pod,则 pod 将偏向于不调度到该节点上。 具有 具有 pod 关 关联 联性的 性的 Pod 配置文件示例 配置文件示例 policy: name: "" profile: HighNodeUtilization 1 OpenShift Container Platform 4.9 节 节点 点 102 1 2 3 5 4 1 用于配置 pod 关联性的小节。 部分,以选择要启用的一个或多个配置集。AffinityAndTaints 配置集默认 为启用。点 Add Profile 选择附加配置集。 注意 注意 不要同时启用 TopologyAndDuplicates 和 SoftTopologyAndDuplicates。启用两者会导致冲突。 ii. 可选:扩展 Profile Customizations 部分,以便为 LifecycleAndUtilization0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.13 网络Container Platform TLS 安全配置集基于 Mozilla 推荐的配置。 您可以为每个组件指定以下 TLS 安全配置集之一: 表 表 7.1. TLS 安全配置集 安全配置集 profile 描述 描述 OpenShift Container Platform 4.13 网 网络 络 42 Old 此配置集用于旧的客户端或库。该配置集基于旧的向后兼容性建议配置。 Old 配置集要求最低 Modern 配置集需要最低 TLS 版本 1.3。 Custom 此配置集允许您定义要使用的 TLS 版本和密码。 警告 使用 Custom 配置集时要谨慎,因为无效的配置 可能会导致问题。 profile 描述 描述 注意 当使用预定义的配置集类型时,有效的配置集配置可能会在发行版本之间有所改变。例 如,使用在版本 X.Y.Z 中部署的 Intermediate 配置集指定了一个规格,升级到版本 1 2 TLS 安全配置集定义 Ingress Controller 的 TLS 连接的最低 TLS 版本和 TLS 密码。 您可以在 Status.Tls Profile 和 Spec.Tls Security Profile 下看到 IngressController 自定义资源(CR) 中配置的 TLS 安全配置集的密码和最小 TLS 版本。对于 Custom TLS 安全配置集,这两个参数下列出了0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.9 网络Container Platform TLS 安全配置集基于 Mozilla 推荐的配置。 您可以为每个组件指定以下 TLS 安全配置集之一: 表 表 6.1. TLS 安全配置集 安全配置集 profile 描述 描述 OpenShift Container Platform 4.9 网 网络 络 32 Old 此配置集用于旧的客户端或库。该配置集基于旧的向后兼容性建议配置。 Old 配置集要求最低 配置集需要最低 TLS 版本 1.3。 Custom 此配置集允许您定义要使用的 TLS 版本和密码。 警告 警告 使用 Custom 配置集时要谨慎,因为无效的配置 可能会导致问题。 profile 描述 描述 注意 注意 当使用预定义的配置集类型时,有效的配置集配置可能会在发行版本之间有所改变。例 如,使用在版本 X.Y.Z 中部署的 Intermediate 配置集指定了一个规格,升级到版本 1 2 TLS 安全配置集定义 Ingress Controller 的 TLS 连接的最低 TLS 版本和 TLS 密码。 您可以在 Status.Tls Profile 和 Spec.Tls Security Profile 下看到 IngressController 自定义资源(CR) 中配置的 TLS 安全配置集的密码和最小 TLS 版本。对于 Custom TLS 安全配置集,这两个参数下列出了0 码力 | 388 页 | 4.04 MB | 1 年前3
OpenShift Container Platform 4.6 节点5.5.2. 自定 自定义调 义调整 整规 规格 格 Operator 的自定 的自定义资 义资源 源 (CR) 包含 包含两 两个主要部分。第一部分是 个主要部分。第一部分是 profile:, ,这 这是 是 tuned 配置集及其名称 配置集及其名称 的列表。第二部分是 的列表。第二部分是 recommend:,用来定 ,用来定义 义配置集 配置集选择逻辑 选择逻辑。 。 配置集数据 配置集数据 profile: 部分列出了 部分列出了 Tuned 配置集及其名称。 配置集及其名称。 建 建议 议的配置集 的配置集 profile: - name: tuned_profile_1 data: | # Tuned profile specification [main] summary=Description of tuned_profile_1 profile [sysctl] net.ipv4.ip_forward=1 # ... other sysctl's or other Tuned daemon plugins supported by the containerized Tuned # ... - name: tuned_profile_n data: |0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.6 网络示例 示例 TLS 安全配置集定义 Ingress Controller 的 TLS 连接的最低 TLS 版本和 TLS 密码。 您可以在 Status.Tls Profile 和 Spec.Tls Security Profile 下看到 IngressController 自定义资源(CR) 中配置的 TLS 安全配置集的密码和最小 TLS 版本。对于 Custom TLS 安全配置集,这两个参数下列出了 Version: operator.openshift.io/v1 Kind: IngressController ... Spec: ... Tls Security Profile: Custom: Ciphers: ECDHE-ECDSA-CHACHA20-POLY1305 ECDHE-RSA-CHACHA20-POLY1305 namespace: openshift-ptp 2 spec: profile: 3 - name: "profile1" 4 interface: "ens787f1" 5 ptp4lOpts: "-s -2" 6 phc2sysOpts: "-a -r" 7 recommend: 8 - profile: "profile1" 9 priority: 10 100 码力 | 256 页 | 2.78 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具source it from .bash_profile oc completion bash > ~/.kube/completion.bash.inc printf " # Kubectl shell completion source '$HOME/.kube/completion.bash.inc' " >> $HOME/.bash_profile source $HOME/ $HOME/.bash_profile # Load the oc completion code for zsh[1] into the current shell source <(oc completion zsh) # Set the oc completion code for zsh[1] to autoload on startup oc completion zsh > "${fpath[1]}/_oc" execute in the profile oc completion powershell > $HOME\.kube\completion.ps1 Add-Content $PROFILE "$HOME\.kube\completion.ps1" ## Execute completion code in the profile Add-Content $PROFILE "if (Get-Command0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具source it from .bash_profile oc completion bash > ~/.kube/completion.bash.inc printf " # Kubectl shell completion source '$HOME/.kube/completion.bash.inc' " >> $HOME/.bash_profile source $HOME/ $HOME/.bash_profile # Load the oc completion code for zsh[1] into the current shell source <(oc completion zsh) # Set the oc completion code for zsh[1] to autoload on startup oc completion zsh > "${fpath[1]}/_oc" execute in the profile oc completion powershell > $HOME\.kube\completion.ps1 Add-Content $PROFILE "$HOME\.kube\completion.ps1" ## Execute completion code in the profile Add-Content $PROFILE "if (Get-Command0 码力 | 128 页 | 1.11 MB | 1 年前3
更新OpenShift Data Foundationcaps: [mon] profile rbd, allow command 'osd blocklist' caps: [osd] profile rbd client.csi-rbd-provisioner key: AQCYz0pi6W8IIBAAgRJfrAW7kZfucNdqJqS9dQ== caps: [mgr] allow rw caps: [mon] profile rbd, allow allow command 'osd blocklist' caps: [osd] profile rbd 3. 运行之前下载的 python 脚本,再保存从外部 Red Hat Ceph Storage 存储集群生成的 JSON 输 出。 a. 运行之前下载的 python 脚本: # python3 ceph-external-cluster-details-exporter.py --rbd-data-pool-name0 码力 | 18 页 | 239.14 KB | 1 年前3
OpenShift Container Platform 4.8 安装0。 4. 将 Amazon S3 存储桶名称导出为环境变量: 5. 创建 containers.json 文件并定义 RHCOS VMDK 文件: $ export AWS_PROFILE=profile> 1 $ export AWS_DEFAULT_REGION= 1 $ export RHCOS_VERSION= 1 $ export 对于用于容器存储的文件系统,必须启用 prjquota 挂载选项。 ? SSH Public Key ... INFO Credentials loaded from the "myprofile" profile in file "/home/myuser/.aws/credentials" INFO Consuming Install Config from target directory INFO MasterInstanceProfile: Description: Master IAM Instance Profile Value: !Ref MasterInstanceProfile WorkerInstanceProfile: Description: Worker IAM Instance Profile Value: !Ref WorkerInstanceProfile $ openshift-install 0 码力 | 2586 页 | 27.37 MB | 1 年前3
共 27 条
- 1
- 2
- 3













