OpenShift Container Platform 3.11 CLI 参考
${KUBECTL_PLUGINS_PATH} 如果指定, 如果指定,则 则搜索将在此 搜索将在此处 处停止。 停止。 如果 如果 KUBECTL_PLUGINS_PATH 环 环境 境变 变量存在, 量存在,则 则加 加载 载程序会将其用作 程序会将其用作查 查找插件的唯一 找插件的唯一 位置。 位置。KUBECTL_PLUGINS_PATH 中,列表以分号分隔。 如果 如果 KUBECTL_PLUGINS_PATH 不存在, 不存在,则 则加 加载 载程序将开始搜索 程序将开始搜索额 额外位置。 外位置。 2. ${XDG_DATA_DIRS}/kubectl/plugins 该 该插件加 插件加载 载程序根据 程序根据 XDG kubectl/plugins 目 目录 录。如果没有指定 。如果没有指定 XDG_DATA_DIRS, ,则 则默 默认为 认为 /usr/local/share:/usr/share。 。 3. ~/.kube/plugins 用 用户 户的 的 kubeconfig 目 目录 录下的 下的 plugins 目 目录 录。在大多数情况下,0 码力 | 45 页 | 737.95 KB | 1 年前3OpenShift Container Platform 4.13 CI/CD
Dfoo=first\ value - Dbar=second\ value。 JENKINS_OPTS 为 Jenkins 指定参数。 INSTALL_PLUGINS 指定在容器首次运行或 OVERRIDE_PV_PLUGINS_WI TH_IMAGE_PLUGINS 设置为 true 时需要安装的 Jenkins 附加插 件。插件被指定为用逗号分隔 的“名称:版本”对列表。 示例设 置:git:3.7 将该环境变量设置为 true。 默认:false 变 变量 量 定 定义 义 值 值和 和设 设置示例 置示例 第 第 5 章 章 JENKINS 99 OVERRIDE_PV_PLUGINS_WI TH_IMAGE_PLUGINS 当使用 Jenkins 配置目录的 OpenShift Container Platform PV 运行此镜像时,从镜像到 PV 的插 件传输仅在镜像首次启动时执行, 因为在创建 义配置来替换所提供 的 config.xml 文件。 要在 Jenkins 镜像中包括您的修改,必须要有采用以下目录结构的 Git 存储库: plugins 该目录包含要复制到 Jenkins 中的二进制 Jenkins 插件。 plugins.txt 该文件使用以下语法列出要安装的插件: pluginId:pluginVersion configuration/jobs 该目录包含0 码力 | 129 页 | 1.37 MB | 1 年前3OpenShift Container Platform 4.2 镜像
Dfoo=first\ value - Dbar=second\ value。 JENKINS_OPTS 为 Jenkins 指定参数。 INSTALL_PLUGINS 指定在容器首次运行或 OVERRIDE_PV_PLUGINS_WI TH_IMAGE_PLUGINS 设置为 true 时需要安装的 Jenkins 附加插 件。插件被指定为用逗号分隔 的“名称:版本”对列表。 示例设 置:git:3.7 明时会分配持久性卷。如果您在初 始启动后创建自定义镜像来扩展此 镜像并更新自定义镜像中的配置, 则不会复制该配置,除非将该环境 变量设置为 true。 默认:false OVERRIDE_PV_PLUGINS_WI TH_IMAGE_PLUGINS 当使用 Jenkins 配置目录的 OpenShift Container Platform 持 久性卷运行此镜像时,从镜像到持 久性卷的插件传输仅在镜像首次启 动时执行,因为在创建持久性卷声 义配置来替换所提供 的 config.xml 文件。 要在 Jenkins 镜像中包括您的修改,必须要有采用以下目录结构的 Git 存储库: plugins 该目录包含要复制到 Jenkins 中的二进制 Jenkins 插件。 plugins.txt 该文件使用以下语法列出要安装的插件: OpenShift Container Platform 4.2 镜 镜像 像 78 1 20 码力 | 92 页 | 971.35 KB | 1 年前3OpenShift Container Platform 4.7 镜像
Dfoo=first\ value - Dbar=second\ value。 JENKINS_OPTS 为 Jenkins 指定参数。 INSTALL_PLUGINS 指定在容器首次运行或 OVERRIDE_PV_PLUGINS_WI TH_IMAGE_PLUGINS 设置为 true 时需要安装的 Jenkins 附加插 件。插件被指定为用逗号分隔 的“名称:版本”对列表。 示例设 置:git:3.7 果您在初始启动后创建自定义镜像 来扩展此镜像并更新自定义镜像中 的配置,则不会复制该配置,除非 将该环境变量设置为 true。 默认:false OVERRIDE_PV_PLUGINS_WI TH_IMAGE_PLUGINS 当使用 Jenkins 配置目录的 OpenShift Container Platform PV 运行此镜像时,从镜像到 PV 的插 件传输仅在镜像首次启动时执行, 因为在创建....wRA OpenShift Container Platform 4.7 镜 镜像 像 106 1 2 3 plugins 该目录包含要复制到 Jenkins 中的二进制 Jenkins 插件。 plugins.txt 该文件使用以下语法列出要安装的插件: pluginId:pluginVersion configuration/jobs 该目录包含 0 码力 | 123 页 | 1.20 MB | 1 年前3OpenShift Container Platform 4.14 Operator
controllers// 目录中创建。然后会相应地更新 Dockerfile。 其他 其他资源 源 有关迁移到多组项目的详情,请参阅 Kubebuilder 文档。 version: "3" plugins: manifests.sdk.operatorframework.io/v2: {} scorecard.sdk.operatorframework.io/v2: {} sdk.x-openshift Memcached API: $ mkdir memcached-operator $ cd memcached-operator $ operator-sdk init \ --plugins=ansible \ --domain=example.com 第 第 5 章 章 开 开发 发 OPERATOR 201 1 为 API 生成 Ansible 角色。 3. 构建并推送 ed-operator $ operator-sdk init \ --plugins=ansible \ --domain=example.com domain: example.com layout: - ansible.sdk.operatorframework.io/v1 plugins: manifests.sdk.operatorframework.io/v2: 0 码力 | 423 页 | 4.26 MB | 1 年前3OpenShift Container Platform 4.1 发行注记
openshift4/ose-console-operator openshift4/ose-container-networking-plugins-supported openshift4/ose-container-networking-plugins-unsupported openshift4/ose-coredns openshift4/ose-deployer openshift4/ose-descheduler0 码力 | 22 页 | 287.47 KB | 1 年前3OpenShift Container Platform 4.13 CLI 工具
$ sudo mv /usr/local/bin/. $ oc plugin list The following compatible plugins are available: /usr/local/bin/ $ oc ns OpenShift Container Platform 4.13 CLI 工具 工具 nginx-deployment --subresource='scale' --type='merge' -p '{"spec": {"replicas":2}}' # List all available plugins oc plugin list # Add the 'view' role to user1 for the current project oc policy add-role-to-user Prometheus 指标的补丁文件 运行的 main.go 文件 表 表 7.8. init 标记 标记 标记 标记 描述 描述 --help, -h init 命令的帮助输出。 --plugins(字符串) 插件的名称和可选版本,用于初始化项目。可用插件包括 ansible.sdk.operatorframework.io/v1、go.kubebuilder.io/v2、go.kube 0 码力 | 128 页 | 1.11 MB | 1 年前3OpenShift Container Platform 4.10 可伸缩性和性能
tuned_profile_1 profile [sysctl] net.ipv4.ip_forward=1 # ... other sysctl's or other TuneD daemon plugins supported by the containerized TuneD # ... - name: tuned_profile_n data: | # TuneD profile 如果出现以下情况代表错误: 验证性能配置集失败。 创建所有相关组件未能成功完成。 INFO tuned.plugins.base: instance net_test (net): assigning devices ens1, ens2, ens3 WARNING tuned.plugins.base: instance net_test: no matching devices available code = Unknown desc = `kustomize build /tmp/https___git.com/ran-sites/siteconfigs/ --enable-alpha-plugins` failed exit status 1: 2021/11/26 17:21:40 Error could not create extra-manifest ranSite1.extra-manifest30 码力 | 315 页 | 3.19 MB | 1 年前3OpenShift Container Platform 4.10 CLI 工具
2.5.1.1. oc annotate 更新资源上的注解 用法示例 用法示例 2.5.1.2. oc api-resources The following compatible plugins are available: /usr/local/bin/$ oc ns # Update pod 'foo' with the annotation 'description' Prometheus 指标的补丁文件 运行的 main.go 文件 表 表 7.8. init 标记 标记 标记 标记 描述 描述 --help, -h init 命令的帮助输出。 --plugins(字符串) 插件的名称和可选版本,用于初始化项目。可用插件包括 ansible.sdk.operatorframework.io/v1、go.kubebuilder.io/v2、go.kube 0 码力 | 120 页 | 1.04 MB | 1 年前3OpenShift Container Platform 4.13 网络
namespace: default 2 spec: config: '{ "cniVersion": "0.4.0", 3 "name": "", 4 "plugins": [{ "type": " " 5 }, { "type": "tuning", 6 "sysctl": namespace: default spec: config: '{ "cniVersion": "0.4.0", "name": "tuningnad", "plugins": [{ "type": "bridge" }, { "type": "tuning", "sysctl": { "net ptpSchedulingPolicy: SCHED_FIFO ptpSchedulingPriority: 10 ptpSettings: logReduce: "true" plugins: e810: enableDefaultConfig: true ts2phcOpts: " " ts2phcConf: | [nmea] 0 码力 | 697 页 | 7.55 MB | 1 年前3
共 25 条
- 1
- 2
- 3