OpenShift Container Platform 4.8 CLI 工具# subscription-manager register # subscription-manager refresh # subscription-manager list --available --matches '*OpenShift*' OpenShift Container Platform 4.8 CLI 工具 工具 8 5. 启用 OpenShift 开头的 CLI 插件文件。 流程 流程 1. 如有必要,将插件文件更新为可执行。 2. 将文件放在PATH中的任何位置,例如/usr/local/bin/ 。 3. 运行 oc plugin list 以确保列出了插件。 输 输出示例 出示例 #!/bin/bash # optional argument handling if [[ "$1" == "version" ]] then named kubectl-foo" $ chmod +x $ sudo mv /usr/local/bin/. $ oc plugin list 第 第 2 章 章 OPENSHIFT CLI (OC) 21 如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。 0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.13 认证和授权"scopes_supported": [ 4 "user:full", "user:info", "user:check-access", "user:list-scoped-projects", "user:list-projects" ], "response_types_supported": [ 5 "code", "token" ], " 项 项目 目:您访问的项目。项目是一种附带额外注解的 Kubernetes 命名空间,使一个社区的用户 可以在与其他社区隔离的前提下组织和管理其内容。 操作 操作动词 动词:操作本身:get、list、create、update、delete、deletecollection 或 watch。 资 资源名称 源名称:您访问的 API 端点。 绑 绑定 定 第 第 8 章 章 使用 使用 delete get list watch] imagestreams [] [] [create delete deletecollection get list patch update watch create get list watch]0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具OpenShift CLI # subscription-manager register # subscription-manager refresh # subscription-manager list --available --matches '*OpenShift*' # subscription-manager attach --pool=# subscription-manager 开头的 CLI 插件文件。 流程 流程 1. 如有必要,将插件文件更新为可执行。 2. 将文件放在PATH中的任何位置,例如/usr/local/bin/ 。 3. 运行 oc plugin list 以确保列出了插件。 输 输出示例 出示例 如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。 named kubectl-foo" $ chmod +x $ sudo mv /usr/local/bin/. $ oc plugin list The following compatible plugins are available: /usr/local/bin/ $ oc ns OpenShift 0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具# subscription-manager register # subscription-manager refresh # subscription-manager list --available --matches '*OpenShift*' OpenShift Container Platform 4.10 CLI 工具 工具 8 5. 启用 OpenShift 开头的 CLI 插件文件。 流程 流程 1. 如有必要,将插件文件更新为可执行。 2. 将文件放在PATH中的任何位置,例如/usr/local/bin/ 。 3. 运行 oc plugin list 以确保列出了插件。 输 输出示例 出示例 #!/bin/bash # optional argument handling if [[ "$1" == "version" ]] then named kubectl-foo" $ chmod +x $ sudo mv /usr/local/bin/. $ oc plugin list 第 第 2 章 章 OPENSHIFT CLI (OC) 21 如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。 0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.14 Operatornon-empty string package?: string & !="" // properties is optional, but if it's defined, it must be a list of 0 or more properties properties?: [... #Property] } #Property: { // type is required type: entry list. replaces?: string & !="" // skips is optional. It is a list of bundle names that are skipped by // this entry. The skipped bundles do not have to be present in the // entry list. skips permissions/aggregate- to-edit:. - -view 上的操作动词: get list watch 聚合标签: rbac.authorization.k8s.io/aggregate- to-view: true olm.opgroup.permissions/aggregate- 0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.10 可伸缩性和性能----+------------+----------- +------------+--------------------+--------+ sh-4.4# etcdctl alarm list memberID:12345678912345678912 alarm:NOSPACE sh-4.4# etcdctl alarm disarm 第 第 1 章 章 推荐的主机 推荐的主机实 echo -n "$i "; cat $i ; done cpuset.cpus 1 tasks 32706 # grep ^Cpus_allowed_list /proc/32706/status Cpus_allowed_list: 1 # cat /sys/fs/cgroup/cpuset/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort- available: "269192085504" capacity: "270534262784" name: memory type: Node kind: List metadata: resourceVersion: "" selfLink: "" $ oc get NUMAResourcesScheduler NAME0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 4.10 安装子命令 子命令 子命令 子命令 描述 描述 completion 为指定的 shell 生成自动完成脚本。 describe 输出镜像集合的内容。 帮助 帮助 显示有关任何子命令的帮助。 list 列出可用平台和 Operator 内容及其版本。 version 输出 oc-mirror 版本。 表 表 3.3. oc mirror 标记 标记 标记 标记 描述 描述 -c, --config adm release extract \ --credentials-requests \ --cloud=alibabacloud \ --to=list_of_credentials_requests>/credrequests \ 1 $RELEASE_IMAGE OpenShift Container Platform 4.10 安装 安装 其中: 是用于标记为跟踪而创建的云资源的名称。 是创建云资源的 Alibaba Cloud 区域。 list_of_requests>/credrequests 是含有组件 CredentialsRequest 对象的文件的目录。 是放置所生成的组件凭证 0 码力 | 3142 页 | 33.42 MB | 1 年前3
OpenShift Container Platform 4.14 安装仅指定要包含在镜像集中的 Operator 软件包的某些频道。即使您没有使用该频道中的捆绑 包,还必须始终包含 Operator 软件包的默认频道。您可以运行以下命令来找到默认频 道:oc mirror list operators --catalog=--package= 。 指定要在镜像集中包含的任何其他镜像。 注意 注意 graph: true 中,因为它是 Operator 的默认频道。即使您没有使用该频道中的捆绑包,还必须始终包含 Operator 软件 包的默认频道。 提示 提示 您可以运行以下命令来找到默认频道:oc mirror list operators --catalog= -- package= 。 ImageSetConfiguration 文件示例 文件示例 使用案例:包含整个目 描述 completion 为指定的 shell 生成自动完成脚本。 describe 输出镜像集合的内容。 帮助 帮助 显示有关任何子命令的帮助。 init 输出初始镜像设置配置模板。 list 列出可用平台和 Operator 内容及其版本。 version 输出 oc-mirror 版本。 表 表 4.3. oc mirror 标记 标记 标记 标记 描述 描述 -c, --config 0 码力 | 3881 页 | 39.03 MB | 1 年前3
OpenShift Container Platform 4.13 安装仅指定要包含在镜像集中的 Operator 软件包的某些频道。即使您没有使用该频道中的捆绑 包,还必须始终包含 Operator 软件包的默认频道。您可以运行以下命令来找到默认频 道:oc mirror list operators --catalog=--package= 。 指定要在镜像集中包含的任何其他镜像。 注意 注意 graph: true 中,因为它是 Operator 的默认频道。即使您没有使用该频道中的捆绑包,还必须始终包含 Operator 软件 包的默认频道。 提示 提示 您可以运行以下命令来找到默认频道:oc mirror list operators --catalog= -- package= 。 ImageSetConfiguration 文件示例 文件示例 描述 completion 为指定的 shell 生成自动完成脚本。 describe 输出镜像集合的内容。 帮助 帮助 显示有关任何子命令的帮助。 init 输出初始镜像设置配置模板。 list 列出可用平台和 Operator 内容及其版本。 version 输出 oc-mirror 版本。 表 表 4.3. oc mirror 标记 标记 apiVersion: mirror.openshift 0 码力 | 4634 页 | 43.96 MB | 1 年前3
OpenShift Container Platform 4.13 网络verbs: - get - apiGroups: - metrics.k8s.io resources: - pods - nodes verbs: - get - list - watch - apiGroups: - "" resources: - namespaces verbs: - get $ oc apply -f thanos-metrics-reader 10.217.4.0/23 ... dhcp-option-force=26,$ oc debug node/ -- chroot /host ip route list match 0.0.0.0/0 | awk '{print $5 }' 第 第 13 章 章 更改集群网 更改集群网络 络的 的 MTU 107 1 1 2 指定集群中的节点的名称。 100000000 ts2phc.nmea_serialport $gnss_serialport leapfile /usr/share/zoneinfo/leap-seconds.list [$iface_master] ts2phc.extts_polarity rising ts2phc.extts_correction 0 ptp4lConf: 0 码力 | 697 页 | 7.55 MB | 1 年前3
共 43 条
- 1
- 2
- 3
- 4
- 5













