 OpenShift Container Platform 4.10 可伸缩性和性能设置拓扑管理器 5.4. POD 与拓扑管理器策略的交互 第 第 6 章 章 调 调度 度 NUMA 感知工作 感知工作负载 负载 6.1. 关于 NUMA 感知调度 6.2. 安装 NUMA RESOURCES OPERATOR 6.3. 创建 NUMARESOURCESOPERATOR 自定义资源 6.4. 部署 NUMA 感知辅助 POD 调度程序 6.5. 使用 NUMA 感知调度程序调度工作负载 creationTimestamp: 2019-02-08T14:52:39Z generation: 1 labels: custom-kubelet: set-max-pods 1 $ oc label machineconfigpool worker custom-kubelet=set-max-pods $ oc get machineconfig $ oc describe node KubeletConfig metadata: name: set-max-pods spec: machineConfigPoolSelector: matchLabels: custom-kubelet: set-max-pods 1 kubeletConfig: maxPods: 500 2 apiVersion: machineconfiguration.openshift0 码力 | 315 页 | 3.19 MB | 1 年前3 OpenShift Container Platform 4.10 可伸缩性和性能设置拓扑管理器 5.4. POD 与拓扑管理器策略的交互 第 第 6 章 章 调 调度 度 NUMA 感知工作 感知工作负载 负载 6.1. 关于 NUMA 感知调度 6.2. 安装 NUMA RESOURCES OPERATOR 6.3. 创建 NUMARESOURCESOPERATOR 自定义资源 6.4. 部署 NUMA 感知辅助 POD 调度程序 6.5. 使用 NUMA 感知调度程序调度工作负载 creationTimestamp: 2019-02-08T14:52:39Z generation: 1 labels: custom-kubelet: set-max-pods 1 $ oc label machineconfigpool worker custom-kubelet=set-max-pods $ oc get machineconfig $ oc describe node KubeletConfig metadata: name: set-max-pods spec: machineConfigPoolSelector: matchLabels: custom-kubelet: set-max-pods 1 kubeletConfig: maxPods: 500 2 apiVersion: machineconfiguration.openshift0 码力 | 315 页 | 3.19 MB | 1 年前3
 OpenShift Container Platform 4.7 日志记录创建 OpenShift Logging 实例: a. 切换到 Administration → Custom Resource Definitions 页面。 b. 在 Custom Resource Definitions 页面上,点 ClusterLogging。 c. 在 Custom Resource Definition details 页中,从 Actions 菜单中选择 View " OpenShift Container Platform 4.7 日志记录创建 OpenShift Logging 实例: a. 切换到 Administration → Custom Resource Definitions 页面。 b. 在 Custom Resource Definitions 页面上,点 ClusterLogging。 c. 在 Custom Resource Definition details 页中,从 Actions 菜单中选择 View "- " 6 size: 200G resources: 7 limits: memory: "16Gi" requests: memory: "16Gi" proxy: 8 resources: limits: memory: " - " 6 size: 200G resources: 7 limits: memory: "16Gi" requests: memory: "16Gi" proxy: 8 resources: limits: memory: 0 码力 | 183 页 | 1.98 MB | 1 年前3
 OpenShift Container Platform 4.13 CLI 工具istag/cakephp-ex:latest <- 第 第 2 章 章 OPENSHIFT CLI (OC) 13 2.1.5.7. 列出支持的 列出支持的 API 资 资源 源 使用oc api-resources命令查看服务器上支持的 API 资源列表。 输 输出示例 出示例 2.1.6. 获得帮助 您可以使用以下方法获取 CLI 命令和 OpenShift Container Platform 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES APIGROUP NAMESPACED unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" 第 第 2 章 章 OPENSHIFT CLI0 码力 | 128 页 | 1.11 MB | 1 年前3 OpenShift Container Platform 4.13 CLI 工具istag/cakephp-ex:latest <- 第 第 2 章 章 OPENSHIFT CLI (OC) 13 2.1.5.7. 列出支持的 列出支持的 API 资 资源 源 使用oc api-resources命令查看服务器上支持的 API 资源列表。 输 输出示例 出示例 2.1.6. 获得帮助 您可以使用以下方法获取 CLI 命令和 OpenShift Container Platform 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES APIGROUP NAMESPACED unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" 第 第 2 章 章 OPENSHIFT CLI0 码力 | 128 页 | 1.11 MB | 1 年前3
 OpenShift Container Platform 4.9 构建应用程序Admin、Edit 和 View。 要为项目添加或编辑集群角色,您可以自定义集群的 YAML 代码。 流程 流程 自定义项目的不同集群角色: 1. 在 Search 视图中,使用 Resources 下拉列表搜索 Console。 2. 在可用选项中,选择 Console operator.openshift.io/v1。 图 2.3. 搜索控制台资源 3. 在 Name 列表下选择 没有存在的应用程序)。如果已有应用程序,可以选择将组件部署到现有应用程序中,创建 一个新应用程序,或保持该组件没有被分配。 注意 注意 资源名称必须在命名空间中具有唯一性。如果遇到错误,请修改资源名称。 7. 在 Resources 部分,选择: Deployment,以纯 Kubernetes 风格方式创建应用程序。 Deployment Config,创建 OpenShift Container Platform 下拉列表来更改版本。 5. 在可选的 Application Name 字段中输入应用程序的唯一名称作为资源标记。 6. 在 Name 字段中输入唯一组件名称来命名关联的资源。 7. 在 Resources 字段中,为您的应用程序选择资源类型。 8. 在 Advanced options 中,点 Create a Route to the Application 配置您部署的应用程序的公共 URL。0 码力 | 184 页 | 3.36 MB | 1 年前3 OpenShift Container Platform 4.9 构建应用程序Admin、Edit 和 View。 要为项目添加或编辑集群角色,您可以自定义集群的 YAML 代码。 流程 流程 自定义项目的不同集群角色: 1. 在 Search 视图中,使用 Resources 下拉列表搜索 Console。 2. 在可用选项中,选择 Console operator.openshift.io/v1。 图 2.3. 搜索控制台资源 3. 在 Name 列表下选择 没有存在的应用程序)。如果已有应用程序,可以选择将组件部署到现有应用程序中,创建 一个新应用程序,或保持该组件没有被分配。 注意 注意 资源名称必须在命名空间中具有唯一性。如果遇到错误,请修改资源名称。 7. 在 Resources 部分,选择: Deployment,以纯 Kubernetes 风格方式创建应用程序。 Deployment Config,创建 OpenShift Container Platform 下拉列表来更改版本。 5. 在可选的 Application Name 字段中输入应用程序的唯一名称作为资源标记。 6. 在 Name 字段中输入唯一组件名称来命名关联的资源。 7. 在 Resources 字段中,为您的应用程序选择资源类型。 8. 在 Advanced options 中,点 Create a Route to the Application 配置您部署的应用程序的公共 URL。0 码力 | 184 页 | 3.36 MB | 1 年前3
 OpenShift Container Platform 4.8 日志记录创建 OpenShift Logging 实例: a. 切换到 Administration → Custom Resource Definitions 页面。 b. 在 Custom Resource Definitions 页面上,点 ClusterLogging。 c. 在 Custom Resource Definition details 页中,从 Actions 菜单中选择 View " OpenShift Container Platform 4.8 日志记录创建 OpenShift Logging 实例: a. 切换到 Administration → Custom Resource Definitions 页面。 b. 在 Custom Resource Definitions 页面上,点 ClusterLogging。 c. 在 Custom Resource Definition details 页中,从 Actions 菜单中选择 View "- " 6 size: 200G resources: 7 limits: memory: "16Gi" requests: memory: "16Gi" proxy: 8 resources: limits: memory: " - " 6 size: 200G resources: 7 limits: memory: "16Gi" requests: memory: "16Gi" proxy: 8 resources: limits: memory: 0 码力 | 223 页 | 2.28 MB | 1 年前3
 OpenShift Container Platform 4.10 构建应用程序Admin、Edit 和 View。 要为项目添加或编辑集群角色,您可以自定义集群的 YAML 代码。 流程 流程 自定义项目的不同集群角色: 1. 在 Search 视图中,使用 Resources 下拉列表搜索 Console。 2. 在可用选项中,选择 Console operator.openshift.io/v1。 图 图 2.3. 搜索控制台 搜索控制台资 资源 源 3. 没有存在的应用程序)。如果已有应用程序,可以选择将组件部署到现有应用程序中,创建 一个新应用程序,或保持该组件没有被分配。 注意 注意 资源名称必须在命名空间中具有唯一性。如果遇到错误,请修改资源名称。 7. 在 Resources 部分,选择: Deployment,以纯 Kubernetes 风格方式创建应用程序。 Deployment Config,创建 OpenShift Container Platform 下拉列表来更改版本。 5. 可选:在 Application Name 字段中输入应用程序的唯一名称,用于资源标记。 6. 在 Name 字段中输入唯一组件名称来命名关联的资源。 7. 在 Resources 字段中,为您的应用程序选择资源类型。 8. 在 Advanced options 菜单中,点 Create a Route to the Application 配置您部署的应用程序的 公共0 码力 | 198 页 | 3.62 MB | 1 年前3 OpenShift Container Platform 4.10 构建应用程序Admin、Edit 和 View。 要为项目添加或编辑集群角色,您可以自定义集群的 YAML 代码。 流程 流程 自定义项目的不同集群角色: 1. 在 Search 视图中,使用 Resources 下拉列表搜索 Console。 2. 在可用选项中,选择 Console operator.openshift.io/v1。 图 图 2.3. 搜索控制台 搜索控制台资 资源 源 3. 没有存在的应用程序)。如果已有应用程序,可以选择将组件部署到现有应用程序中,创建 一个新应用程序,或保持该组件没有被分配。 注意 注意 资源名称必须在命名空间中具有唯一性。如果遇到错误,请修改资源名称。 7. 在 Resources 部分,选择: Deployment,以纯 Kubernetes 风格方式创建应用程序。 Deployment Config,创建 OpenShift Container Platform 下拉列表来更改版本。 5. 可选:在 Application Name 字段中输入应用程序的唯一名称,用于资源标记。 6. 在 Name 字段中输入唯一组件名称来命名关联的资源。 7. 在 Resources 字段中,为您的应用程序选择资源类型。 8. 在 Advanced options 菜单中,点 Create a Route to the Application 配置您部署的应用程序的 公共0 码力 | 198 页 | 3.62 MB | 1 年前3
 OpenShift Container Platform 4.13 CI/CD对象通常构建可运行的镜像并将其推送到容器镜像 registry。 OpenShift 构建为构建策略提供以下可扩展的支持: Docker 构建 Source-to-image(S2I)构建 Custom 构建 如需更多信息,请参阅了解镜像构建 1.2. OPENSHIFT PIPELINES OpenShift Pipelines 提供了一个 Kubernetes 原生 CI/CD 框架,用于在其自己的容器中设计和运行 Platform 构建系统提供对构建策略的可扩展支持,它们基于构建 API 中指定的可选 择类型。可用的构建策略主要有三种: Docker 构建 Source-to-image(S2I)构建 Custom 构建 默认情况下,支持 docker 构建和 S2I 构建。 构建生成的对象取决于用于创建它的构建器(builder)。对于 docker 和 S2I 构建,生成的对象为可运行 的镜像。对 器镜像并汇编新镜像来生成可随时运行的镜像。新镜像融合了基础镜像(构建器)和构建的源代码,并可 搭配 buildah run 命令使用。S2I 支持递增构建,可重复利用以前下载的依赖项和过去构建的工件等。 2.1.1.3. Custom 构 构建 建 采用自定义构建策略时,开发人员可以定义负责整个构建过程的特定构建器镜像。通过利用自己的构建器 OpenShift Container Platform 4.13 CI/CD0 码力 | 129 页 | 1.37 MB | 1 年前3 OpenShift Container Platform 4.13 CI/CD对象通常构建可运行的镜像并将其推送到容器镜像 registry。 OpenShift 构建为构建策略提供以下可扩展的支持: Docker 构建 Source-to-image(S2I)构建 Custom 构建 如需更多信息,请参阅了解镜像构建 1.2. OPENSHIFT PIPELINES OpenShift Pipelines 提供了一个 Kubernetes 原生 CI/CD 框架,用于在其自己的容器中设计和运行 Platform 构建系统提供对构建策略的可扩展支持,它们基于构建 API 中指定的可选 择类型。可用的构建策略主要有三种: Docker 构建 Source-to-image(S2I)构建 Custom 构建 默认情况下,支持 docker 构建和 S2I 构建。 构建生成的对象取决于用于创建它的构建器(builder)。对于 docker 和 S2I 构建,生成的对象为可运行 的镜像。对 器镜像并汇编新镜像来生成可随时运行的镜像。新镜像融合了基础镜像(构建器)和构建的源代码,并可 搭配 buildah run 命令使用。S2I 支持递增构建,可重复利用以前下载的依赖项和过去构建的工件等。 2.1.1.3. Custom 构 构建 建 采用自定义构建策略时,开发人员可以定义负责整个构建过程的特定构建器镜像。通过利用自己的构建器 OpenShift Container Platform 4.13 CI/CD0 码力 | 129 页 | 1.37 MB | 1 年前3
 OpenShift Container Platform 4.8 CLI 工具使用 oc status 命令查看有关当前项目的信息,如服务、部署和构建配置。 输 输出示例 出示例 2.1.4.7. 列出支持的 列出支持的 API 资 资源 源 使用oc api-resources命令查看服务器上支持的 API 资源列表。 输 输出示例 出示例 2.1.5. 获得帮助 您可以通过以下方式获得有关 CLI 命令和 OpenShift Container Platform 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES APIGROUP NAMESPACED 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" $ oc completion bash >0 码力 | 152 页 | 1.24 MB | 1 年前3 OpenShift Container Platform 4.8 CLI 工具使用 oc status 命令查看有关当前项目的信息,如服务、部署和构建配置。 输 输出示例 出示例 2.1.4.7. 列出支持的 列出支持的 API 资 资源 源 使用oc api-resources命令查看服务器上支持的 API 资源列表。 输 输出示例 出示例 2.1.5. 获得帮助 您可以通过以下方式获得有关 CLI 命令和 OpenShift Container Platform 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES APIGROUP NAMESPACED 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" $ oc completion bash >0 码力 | 152 页 | 1.24 MB | 1 年前3
 OpenShift Container Platform 4.10 CLI 工具使用 oc status 命令查看有关当前项目的信息,如服务、部署和构建配置。 输 输出示例 出示例 2.1.4.7. 列出支持的 列出支持的 API 资 资源 源 使用oc api-resources命令查看服务器上支持的 API 资源列表。 输 输出示例 出示例 2.1.5. 获得帮助 您可以通过以下方式获得有关 CLI 命令和 OpenShift Container Platform 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES APIGROUP NAMESPACED 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" $ oc completion bash >0 码力 | 120 页 | 1.04 MB | 1 年前3 OpenShift Container Platform 4.10 CLI 工具使用 oc status 命令查看有关当前项目的信息,如服务、部署和构建配置。 输 输出示例 出示例 2.1.4.7. 列出支持的 列出支持的 API 资 资源 源 使用oc api-resources命令查看服务器上支持的 API 资源列表。 输 输出示例 出示例 2.1.5. 获得帮助 您可以通过以下方式获得有关 CLI 命令和 OpenShift Container Platform 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES APIGROUP NAMESPACED 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" $ oc completion bash >0 码力 | 120 页 | 1.04 MB | 1 年前3
 OpenShift Container Platform 4.13 虚拟化descheduler。descheduler 驱除正在运行的 pod,以便可将 pod 重 新调度到更合适的节点上。 专用资源 点编辑图标,选择 Schedule this workload with dedicated resources (guaranteed policy)。 驱除策略 点编辑图标选择 LiveMigrate 作为 VirtualMachineInstance 驱除策略。 4.3.1.5.2. Environment descheduler。descheduler 驱除正在运行的 pod,以便可将 pod 重 新调度到更合适的节点上。 专用资源 点编辑图标,选择 Schedule this workload with dedicated resources (guaranteed policy)。 驱除策略 点编辑图标选择 LiveMigrate 作为 VirtualMachineInstance 驱除策略。 4.4.1.4. 网 网络接口 name: rhel9 namespace: openshift-virtualization-os-images storage: resources: requests: storage: 30Gi running: false template: metadata:0 码力 | 393 页 | 4.53 MB | 1 年前3 OpenShift Container Platform 4.13 虚拟化descheduler。descheduler 驱除正在运行的 pod,以便可将 pod 重 新调度到更合适的节点上。 专用资源 点编辑图标,选择 Schedule this workload with dedicated resources (guaranteed policy)。 驱除策略 点编辑图标选择 LiveMigrate 作为 VirtualMachineInstance 驱除策略。 4.3.1.5.2. Environment descheduler。descheduler 驱除正在运行的 pod,以便可将 pod 重 新调度到更合适的节点上。 专用资源 点编辑图标,选择 Schedule this workload with dedicated resources (guaranteed policy)。 驱除策略 点编辑图标选择 LiveMigrate 作为 VirtualMachineInstance 驱除策略。 4.4.1.4. 网 网络接口 name: rhel9 namespace: openshift-virtualization-os-images storage: resources: requests: storage: 30Gi running: false template: metadata:0 码力 | 393 页 | 4.53 MB | 1 年前3
共 57 条
- 1
- 2
- 3
- 4
- 5
- 6













