OpenShift Container Platform 4.8 CLI 工具joe-project/ruby-20-centos7:latest #1 deployed 22 minutes ago - 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use minikube # Delete the minikube user oc config delete-user minikube # List the clusters oc knows about oc config get-clusters # List all the contexts in your kubeconfig file oc config get-contexts context in your kubeconfig file. oc config get-contexts my-context # List the users oc knows about oc config get-users OpenShift Container Platform 4.8 CLI 工具 工具 28 2.5.1.24. oc config set 在 0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具joe-project/ruby-20-centos7:latest #1 deployed 22 minutes ago - 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use (oc) 安装的插件。 先决条件 先决条件 您已按照 Krew 文档中的 安装过程安装 Krew。 您已使用 Krew 为 OpenShift CLI 安装了一个插件。 $ oc krew search $ oc krew info $ oc krew install $ oc krew list 第 第 2 章 章 OPENSHIFT 用法示例 2.7.1.24. oc config set 在 kubeconfig 文件中设置单个值 用法示例 用法示例 # List the clusters that oc knows about oc config get-clusters # List all the contexts in your kubeconfig file oc config get-contexts 0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具joe-project/ruby-20-centos7:latest #1 deployed 22 minutes ago - 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use # Delete the minikube user oc config delete-user minikube # List the clusters that oc knows about oc config get-clusters # List all the contexts in your kubeconfig file oc config get-contexts context in your kubeconfig file oc config get-contexts my-context # List the users that oc knows about oc config get-users # Rename the context 'old-name' to 'new-name' in your kubeconfig file oc 0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 认证和授权Labels:Annotations: openshift.io/description: A user that can get basic information about projects. rbac.authorization.kubernetes.io/autoupdate: true PolicyRule: Resources 目录中的子树。 搜索的范围。有效值为 base、one 或 sub。如果未定义,则假定为 sub 范围。下表中可找到范围 选项的描述。 与 LDAP 树中别名相关的搜索行为。有效值是 never、search、base 或 always。如果未定义,则 默认为 always 解引用别名。下表中可找到有关解引用行为的描述。 客户端可进行搜索的时间限值(以秒为单位)。0 代表不实施客户端限制。 有效的 考虑根部是为查询给定的基本 DN 的整个子树。 表 表 18.2. LDAP 解引用行 解引用行为 为 解引用行 解引用行为 为 描述 描述 never 从不解引用 LDAP 树中找到的任何别名。 search 仅解引用搜索时找到的别名。 base 仅在查找基本对象时解引用别名。 baseDN: ou=users,dc=example,dc=com 1 scope: sub 2 derefAliases: 0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.14 镜像oc describe is/$ oc describe is/python Name: python Namespace: default Created: About a minute ago Labels: Annotations: openshift.io/image.dockerRepositoryCheck=2017-10-02T17:05:11Z * centos/python-35- centos7@sha256:49c18358df82f4577386404991c51a9559f243e0b1bdc366df25 About a minute ago $ oc describe istag/ : $ oc describe istag/python:latest Image * centos/python-35- centos7@sha256:49c18358df82f4577386404991c51a9559f243e0b1bdc366df25 About a minute ago 3.5 tagged from centos/python-35-centos7 * centos/python-35- centos7@sha256:49 0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.7 镜像输出的信息多于显示的信息。 6.7.2. 为镜像流添加标签 您可以向镜像流添加其他标签。 流程 Name: python Namespace: default Created: About a minute ago Labels:Annotations: openshift.io/image.dockerRepositoryCheck=2017-10-02T17:05:11Z * centos/python-35- centos7@sha256:49c18358df82f4577386404991c51a9559f243e0b1bdc366df25 About a minute ago $ oc describe istag/ : $ oc describe istag/python:latest Image * centos/python-35- centos7@sha256:49c18358df82f4577386404991c51a9559f243e0b1bdc366df25 About a minute ago 3.5 tagged from centos/python-35-centos7 * centos/python-35- centos7@sha256:49 0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.7 日志记录y_version" : "5.6.0", "minimum_index_compatibility_version" : "5.0.0" }, "" : " search>" } $ oc -n openshift-logging edit ClusterLogging instance apiVersion: "logging.openshift.io/v1" max_retries":10}' oc exec -n openshift-logging -c elasticsearch -- es_util -- query=_search/scroll/_all -X DELETE oc exec -n openshift-logging -c elasticsearch -- 如果前面的步骤没有解决这个问题,请删除旧的索引。 a. 检查 Elasticsearch 上所有索引的状态。 b. 确定可以删除的旧索引。 c. 删除索引。 其他 其他资 资源 源 在 About the Cluster Logging custom resource 的 "Sample ClusterLogging custom resource (CR)" 中搜索 "redundancyPolicy" 0 码力 | 183 页 | 1.98 MB | 1 年前3
OpenShift Container Platform 3.11 CLI 参考在继续之前,请先在工作站上安装 Git。如需了解工作站操作系统的说明,请参阅官方 Git 文档。 2.3. 安装 CLI 如果集群管理员启用了下载链接,则下载 CLI 的最简单方法是访问 web 控制台中的 About 页面: CLI 的安装选项会因您的操作系统而异。 要使用 CLI 登录,请从 Web 控制台的 Command Line 页面收集您的令牌,该页可通过 Help 菜单的 Command Line 可以从红帽客户门户下载。使用您的红帽帐户登录后,您必须 有一个活跃的 OpenShift Enterprise 订阅才能访问下载页面: 从红帽客户门户网站下载 CLI 另外,如果集群管理员启用了它,您可以在 web 控制台的 About 页面中下载并解压缩 CLI。 教程 教程视频 视频: : 以下视频将引导您完成此过程: 单击此处观看 然后,使用 ZIP 程序解压存档,并将 oc 二进制文件移到 PATH 的目录中。要查看您的 可以从红帽客户门户下载。使用您的红帽帐户登录后,您必 须有一个活跃的 OpenShift Enterprise 订阅才能访问下载页面: 从红帽客户门户网站下载 CLI 另外,如果集群管理员启用了它,您可以在 web 控制台的 About 页面中下载并解压缩 CLI。 教程 教程视频 视频: : 以下视频将引导您完成此过程: 单击此处观看 C:\> path 第 第 2 章 章 CLI 入 入门 门 7 1 然后,解包存档,并将0 码力 | 45 页 | 737.95 KB | 1 年前3
OpenShift Container Platform 4.2 镜像Container Platform 4.2 镜 镜像 像 40 $ oc describe is/python Name: python Namespace: default Created: About a minute ago Labels:Annotations: openshift.io/image.dockerRepositoryCheck=2017-10-02T17:05:11Z * centos/python-35- centos7@sha256:49c18358df82f4577386404991c51a9559f243e0b1bdc366df25 About a minute ago 获取有关特定 imagestreamtag 的所有可用信息: $ oc describe istag/ : 例如: * centos/python-35- centos7@sha256:49c18358df82f4577386404991c51a9559f243e0b1bdc366df25 About a minute ago 3.5 tagged from centos/python-35-centos7 * centos/python-35- centos7@sha256:49 0 码力 | 92 页 | 971.35 KB | 1 年前3
OpenShift Container Platform 4.8 日志记录y_version" : "5.6.0", "minimum_index_compatibility_version" : "5.0.0" }, "" : " search>" } $ oc -n openshift-logging edit ClusterLogging instance apiVersion: "logging.openshift.io/v1" max_retries":10}' oc exec -n openshift-logging -c elasticsearch -- es_util -- query=_search/scroll/_all -X DELETE oc exec -n openshift-logging -c elasticsearch -- 如果前面的步骤没有解决这个问题,请删除旧的索引。 a. 检查 Elasticsearch 上所有索引的状态。 b. 确定可以删除的旧索引。 c. 删除索引。 其他 其他资 资源 源 在 About the Cluster Logging custom resource 的 "Sample ClusterLogging custom resource (CR)" 中搜索 "redundancyPolicy" 0 码力 | 223 页 | 2.28 MB | 1 年前3
共 38 条
- 1
- 2
- 3
- 4













