OpenShift Container Platform 4.8 CLI 工具te.json --param=MYSQL_USER=admin # Search all templates, image streams, and Docker images for the ones that match "ruby" oc new-app --search ruby # Search for "ruby", but only in stored templates # can be used to filter search results) oc new-app --search --template=ruby # Search for "ruby" in stored templates and print the output as YAML oc new-app --search --template=ruby --output=yaml 2.2.2. 搜索服 搜索服务 务 要通过关键字搜索特定服务,请运行以下命令: 例如,要检索 PostgreSQL 服务,请运行以下命令: 输 输出示例 出示例 您将看到在其名称中包含 search 关键字的 Operator 列表。 3.5.2.2.3. 获 获取有关服 取有关服务 务的信息 的信息 要获取有关特定服务的更多信息,请运行以下命令: 例如: 输 输出示例 出示例 $0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具(oc) 安装的插件。 先决条件 先决条件 您已按照 Krew 文档中的 安装过程安装 Krew。 您已使用 Krew 为 OpenShift CLI 安装了一个插件。 $ oc krew search $ oc krew info$ oc krew install $ oc krew list 第 第 2 章 章 OPENSHIFT .json --param=MYSQL_USER=admin # Search all templates, image streams, and container images for the ones that match "ruby" oc new-app --search ruby # Search for "ruby", but only in stored templates # can be used to filter search results) oc new-app --search --template=ruby # Search for "ruby" in stored templates and print the output as YAML oc new-app --search --template=ruby --output=yaml 0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具.json --param=MYSQL_USER=admin # Search all templates, image streams, and container images for the ones that match "ruby" oc new-app --search ruby # Search for "ruby", but only in stored templates # can be used to filter search results) oc new-app --search --template=ruby # Search for "ruby" in stored templates and print the output as YAML oc new-app --search --template=ruby --output=yaml 示例:从 示例:从 mynamespace 命名空 命名空间 间中的 中的 tekton 目 目录 录重新安装 重新安装 mytask 任 任务 务的特定版本 的特定版本 5.3.12.7. hub search 按名称、类型和标签组合搜索资源。 示例:搜索 示例:搜索带 带有 有标签 标签 cli的 的资 资源 源 5.3.12.8. hub upgrade 升级已安装的资源。 示例:将 示例:将0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 认证和授权目录中的子树。 搜索的范围。有效值为 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: membership lookup for user "" in group " " failed because of "search for entry with dn=" " would search outside of the base dn specified (dn=" ")". 这通常表示 usersQuery 字段中的 0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.14 镜像openshift.io 自定义资源文件: sh-4.4# chroot /host sh-5.1# cat etc/containers/registries.conf unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] [[registry]] prefix = "" location = Registries 参数只适用于 Podman 和 CRI-O 容器引擎。列表中的 registry 只 能用于 pod 规格,不能用于构建和镜像流。 流程 流程 unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] [[registry]] prefix = "" location = /host sh-5.1# cat /etc/containers/registries.conf.d/01-image-searchRegistries.conf unqualified-search-registries = ['reg1.io', 'reg2.io', 'reg3.io'] 第 第 9 章 章 镜 镜像配置 像配置资 资源 源 77 1 镜像 像 registry0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.7 镜像openshift.io/cluster CR: 以下是一个带有不安全 registry 列表的 image.config.openshift.io/cluster CR 示例: unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] [[registry]] prefix = "" location = image-registry.openshift-image-registry.svc:5000 $ cat /host/etc/containers/registries.conf unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] [[registry]] prefix = "" location = svc:5000 $ cat /host/etc/containers/registries.conf.d/01-image-searchRegistries.conf unqualified-search-registries = ['reg1.io', 'reg2.io', 'reg3.io'] 第 第 9 章 章 镜 镜像配置 像配置资 资源 源 71 1 对于每个要信任的额外 registry0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.1 发行注记Linux CoreOS 替代。 系统容器 由 Red Hat Enterprise Linux CoreOS 替代。 projectatomic/docker-1.13 additional search registries CRI-O is the default container runtime for OpenShift Container Platform 4.x on RHCOS Policy GA GA Multus - GA Service Catalog Initial Experience GA GA New Add Project Flow GA GA Search Catalog GA GA Cron Jobs GA GA Kubernetes Deployments GA GA OpenShift Container Platform 4.1 发0 码力 | 22 页 | 287.47 KB | 1 年前3
OpenShift Container Platform 4.2
Service Mesh 的安装、使用和发行注记信息qs-nav-administration}} [Add]{{highlight qs-nav-add}} [Topology]{{highlight qs-nav-topology}} [Search]{{highlight qs-nav-search}} [Project]{{highlight qs-nav-project}} [Helm]{{highlight qs-nav-helm}} [Builds]{{highlight0 码力 | 44 页 | 651.51 KB | 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 -- 同的数据模型可以应用到其他编码。 要从 Elasticsearch 和 Kibana 搜索这些字段,在搜索时使用完整的点号字段名称。例如,使用 Elasticsearch /_search URL,若要查找 Kubernetes pod 名称,请使用 /_search/q=kubernetes.pod_name:name-of-my-pod。 顶级字段可以出现在每条记录中。 第 第 14 章 章 日志 日志记录 记录字段 0 码力 | 183 页 | 1.98 MB | 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 -- 同的数据模型可以应用到其他编码。 要从 Elasticsearch 和 Kibana 搜索这些字段,在搜索时使用完整的点号字段名称。例如,使用 Elasticsearch /_search URL,若要查找 Kubernetes pod 名称,请使用 /_search/q=kubernetes.pod_name:name-of-my-pod。 顶级字段可以出现在每条记录中。 第 第 14 章 章 日志 日志记录 记录字段 0 码力 | 223 页 | 2.28 MB | 1 年前3
共 34 条
- 1
- 2
- 3
- 4













