OpenShift Container Platform 4.4 构建(build)sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档概述了 OpenShift Container Platform 中的构建和构建配置,并且说明了执行和管理构建的各 dmFsdWUtMQ0KDQo= 2 stringData: hostname: myapp.mydomain.com 3 secret.properties: |- 4 property1=valueA property2=valueB apiVersion: v1 kind: Pod metadata: name: secret-example-pod spec: containers: OpenShift Container Platform 4.4 构 构建( 建(build) ) 66 1 2 这将定义绑定到位于 <system-registry>//ruby-20-centos7 的容器镜像存储库的 镜像流。<system-registry> 定义为 OpenShift Container Platform 中运行的名为 docker- registry 0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 3.11 CLI 参考sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 使用 OpenShift Container Platform 命令行界面(CLI),您可以从终端创建应用程序并管理 OpenShift OpenShift Container Platform 3.11 CLI 参考 参考 10 其他选项 也可用于 oc login 命令。 注意 注意 如果您可以访问管理员凭据,但不再作为默认系统用户 system:admin 登录,只要仍存在 于 CLI 配置文件 中,您可以随时以这个用户身份登录。以下命令登录并切换到 default 项 目 : 2.5. CLI 配置文件 CLI 配置文件会永久存储 中的项目 包含多个 对象,组成一个逻辑应用程序。 大多数 oc 命令 在项目 的上下文中运行。oc login 在 初始设置 过程中选择用于后续命令的默认项目。使 $ oc login -u system:admin -n default $ oc config view apiVersion: v1 clusters: - cluster: server: https://openshift0 码力 | 45 页 | 737.95 KB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档提供有关安装、配置和使用 OpenShift Container Platform 命令行工具的信息。它还包含 CLI 在任何时候,您可以使用 oc config view 命令查看当前的 CLI 配置,如输出中所示。其他 CLI 配置命令 也可用于更高级的用法。 注意 注意 如果您可以访问管理员凭证,但不再作为默认系统用户 system:admin 登录,只要仍存在 于 CLI 配置文件中,您可以随时以这个用户身份登录。以下命令登录并切换到默认项目: 2.3.2. 手动配置 CLI 配置集 注意 注意 本节介绍 CLI Now using project "alice-project" on server "https://openshift1.example.com:8443". $ oc login -u system:admin -n default $ oc config set-cluster[--server= ] [--c 0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档提供有关安装、配置和使用 OpenShift Container Platform 命令行工具的信息。它还包含 CLI 在任何时候,您可以使用 oc config view 命令查看当前的 CLI 配置,如输出中所示。其他 CLI 配置命令 也可用于更高级的用法。 注意 注意 如果您可以访问管理员凭证,但不再作为默认系统用户 system:admin 登录,只要仍存在 于 CLI 配置文件中,您可以随时以这个用户身份登录。以下命令登录并切换到默认项目: 2.4.2. 手动配置 CLI 配置集 注意 注意 本节介绍 CLI Now using project "alice-project" on server "https://openshift1.example.com:8443". $ oc login -u system:admin -n default $ oc config set-cluster[--server= ] [--c 0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档提供有关安装、配置和使用 OpenShift Container Platform 命令行工具的信息。它还包含 CLI 在任何时候,您可以使用 oc config view 命令查看当前的 CLI 配置,如输出中所示。其他 CLI 配置命令 也可用于更高级的用法。 注意 注意 如果您可以访问管理员凭证,但不再作为默认系统用户 system:admin 登录,只要仍存在 于 CLI 配置文件中,您可以随时以这个用户身份登录。以下命令登录并切换到默认项目: 2.3.2. 手动配置 CLI 配置集 注意 注意 本节介绍 CLI Now using project "alice-project" on server "https://openshift1.example.com:8443". $ oc login -u system:admin -n default $ oc config set-cluster[--server= ] [--c 0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档说明如何通过不同方式创建和管理在 OpenShift Container Platform 上运行的用户置备应用程 开始的项目。集群管理员可以使用 oc adm new-project 命令创建这些项目。 注意 注意 您无法将 SCC 分配给在以下某一默认命名空间中创建的 Pod: default、kube- system、kube-public、openshift-node、openshift-infra、openshift。您不能使用这些 命名空间用来运行 pod 或服务。 2.1.1. 使用 Web 控制台创建项目 Platform 不允许使用 web 控制台创建以 openshift- 开头的项 目。 注意 注意 您无法将 SCC 分配给在以下某一默认命名空间中创建的 Pod: default、kube- system、kube-public、openshift-node、openshift-infra、openshift。您不能使用这些 命名空间用来运行 pod 或服务。 流程 1. 浏览至 Home →0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档说明如何通过不同方式创建和管理在 OpenShift Container Platform 上运行的用户置备应用程 开始的项目。集群管理员可以使用 oc adm new-project 命令创建这些项目。 注意 注意 您无法将 SCC 分配给在以下某一默认命名空间中创建的 Pod: default、kube- system、kube-public、openshift-node、openshift-infra、openshift。您不能使用这些 命名空间用来运行 pod 或服务。 2.1.1. 使用 Web 控制台创建项目 Platform 不允许使用 web 控制台创建以 openshift- 开头的项 目。 注意 注意 您无法将 SCC 分配给在以下某一默认命名空间中创建的 Pod: default、kube- system、kube-public、openshift-node、openshift-infra、openshift。您不能使用这些 命名空间用来运行 pod 或服务。 流程 流程 1. 浏览至 Home0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.9 节点sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文提供有关在集群中配置和管理节点、Pod 和容器的说明。它还提供有关配置 Pod 调度和放置、 使用作业(job)和 节点没有;您可以通过将 worker 节点配置为不可调度,并将 control plane 节点配 置为可以调度。 使用 system-reserved 设置为节点分配资源。您可以允许 OpenShift Container Platform 自动决 定节点的最佳 system-reserved CPU 和内存资源,也可以手动决定并为节点设置最佳资源。 根据节点上的处理器内核数、硬限制或两者,配置可在节点上运行的 流程 流程 使 pod 成为关键 pod: 1. 创建 Pod spec 或编辑现有的 pod,使其包含 system-cluster-critical 优先级类: 绝不可从节点驱除的 pod 的默认优先级类。 此外,对于对集群而言很重要但可在必要时移除的 pod,可以指定 system-node-critical。 2. 创建 pod: 2.4. 使用 POD 横向自动扩展自动扩展 POD0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.6 节点sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文提供有关在集群中配置和管理节点、Pod 和容器的说明。它还提供有关配置 Pod 调度和放置、 使用作业(job)和 放置。您可以通过 将 worker 节点配置为不可调度, 并可以调度 control plane 节点 来更改此 默认行为。 使用 system-reserved 设置为节点 分配资源。您可以允许 OpenShift Container Platform 自动 决定节点的最佳 system-reserved CPU 和内存资源,也可以手动为节点决定和设置最佳资源。 根据 节点上的处理器内核数和或硬限制,配置可在节点上运行的 流程 流程 使 pod 成为关键 pod: 1. 创建 Pod spec 或编辑现有的 pod,使其包含 system-cluster-critical 优先级类: 绝不可从节点驱除的 pod 的默认优先级类。 此外,对于对集群而言很重要但可在必要时移除的 pod,可以指定 system-node-critical。 2. 创建 pod: 2.4. 使用 POD 横向自动扩展自动扩展 POD0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.14 Operatorsponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. 摘要 摘要 本文档提供有关在 OpenShift Container Platform 中使用 Operator 的信息。文中为集群管理员提供 optional, but if it's defined, it must be a list of 0 or more properties properties?: [... #Property] } #Property: { // type is required type: string & !="" // value is required, and it must not be & !="" name: string & !="" image: string & !="" properties: [...#Property] relatedImages?: [...#RelatedImage] } #Property: { // type is required type: string & !="" // value is required0 码力 | 423 页 | 4.26 MB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













