OpenShift Container Platform 4.14 Operator
operators.operatorframework.io.bundle.metadata.v1: "metadata/" 3 operators.operatorframework.io.bundle.package.v1: "test-operator" 4 operators.operatorframework.io.bundle.channels.v1: "beta,stable" 5 operators 文件中。此文件是可选的,目 前仅用于指明 Operator-version 依赖项。 依赖项列表中,每个项目包含一个 type 字段,用于指定这一依赖项的类型。支持以下 Operator 依赖项: olm.package 这个类型表示特定 Operator 版本的依赖项。依赖项信息必须包含软件包名称以及软件包的版本,格式 为 semver。例如,您可以指定具体版本,如 0.5.2,也可指定一系列版本,如 >0 dependencies.yaml 文件示例 文件示例 其他 其他资源 源 Operator Lifecycle Manager 依赖项解析 dependencies: - type: olm.package value: packageName: prometheus version: ">0.27.0" - type: olm.gvk value:0 码力 | 423 页 | 4.26 MB | 1 年前3OpenShift Container Platform 4.13 CLI 工具
## If bash-completion is not installed on Linux, install the 'bash-completion' package ## via your distribution's package manager. ## Load the oc completion code for bash into the current shell source 其他 其他资 资源 源 Operator Framework 打包格式 管理自定义目录 使用 oc-mirror 插件为断开连接的安装镜像镜像 6.2.3. init 生成 olm.package 声明性配置 blob。 命令 命令语 语法 法 $ opm index rm [] 第 第 6 章 章 OPM CLI 113 表 表 6.10. init 标记 标记 render 从提供的索引镜像、捆绑包镜像和 SQLite 数据库文件生成声明性配置 blob。 命令 命令语 语法 法 表 表 6.12. render 标记 标记 $ opm init <package_name> [ ] $ opm migrate [ ] $ opm render 0 码力 | 128 页 | 1.11 MB | 1 年前3OpenShift Container Platform 4.14 电源监控
oules_total 容器使用的非核心组件所消耗的累积能源消耗。组件 数量可能因系统而异。非核心指标特定于处理器模 型,可能不适用于某些服务器 CPU。 kepler_container_package_joules_total 容器使用的 CPU 插槽所消耗的累积能源。它包含所有 核心和非核心组件。 kepler_container_other_joules_total 主机组件的累积能源消耗,容器使用的 kepler_container_cpu_instructions_total 使用硬件计数器的容器使用的总 CPU 指令。CPU 指 令是考虑使用 CPU 的指标。 kepler_container_cache_miss_total 使用硬件计数器的容器发生的总缓存未命中。 kepler_container_cgroupfs_cpu_usage_us_t otal 容器从控制组统计读取的总 CPU 时间。 心组件使用的累积能源消耗。组件数量可能因系统而 异。 kepler_node_dram_joules_total 在节点和操作系统上运行的所有容器的总能源消耗。 kepler_node_package_joules_total 由在节点和操作系统上运行的所有容器使用的 CPU 插 槽使用的累积能源。它包含所有核心和非核心组件。 kepler_node_other_host_components_joules0 码力 | 20 页 | 350.27 KB | 1 年前3OpenShift Container Platform 4.13 CI/CD
start-build my-csi-bc -F build.build.openshift.io/my-csi-bc-1 started Caching blobs under "/var/cache/blobs". Pulling image registry.redhat.io/ubi9/ubi:latest ... Trying to pull registry.redhat.io/ubi9/ubi:latest clone https://github.com/openshift/openshift-jee-sample.git ." sh "mvn -B -Popenshift package" sh "oc start-build -F openshift-jee-sample-docker --from-file=target/ROOT.war" clone https://github.com/openshift/openshift-jee-sample.git ." sh "mvn -B -Popenshift package" sh "oc start-build -F openshift-jee-sample-docker --from-file=target/ROOT.war"0 码力 | 129 页 | 1.37 MB | 1 年前3OpenShift Container Platform 4.9 节点
poison-pill-manager source: redhat-operators sourceNamespace: openshift-marketplace package: poison-pill-manager $ oc create -f poison-pill-subscription.yaml 第 第 5 章 章 操作 操作节 节点 点 197 1 node-healthcheck-operator source: redhat-operators sourceNamespace: openshift-marketplace package: node-health-check-operator $ oc create -f node-health-check-subscription.yaml OpenShift Container 期消耗的内存多。较 较 高的内存消耗可能是由 高的内存消耗可能是由 RHEL 内核中的 内核中的 kmem_cache 造成的。 造成的。RHEL 内核 内核为 为每个 每个 cgroup 创 创建一个 建一个 kmem_cache。 。为 为添加性能, 添加性能,kmem_cache 包含 包含 cpu_cache 以及任何 以及任何 NUMA 节 节点的 点的节 节点 点缓 缓存。 存。这 这些 些缓 缓0 码力 | 374 页 | 3.80 MB | 1 年前3OpenShift Container Platform 4.10 可伸缩性和性能
在主机文件系统中挂载在虚拟 DVD 驱动器中的 DVD ISO 文件。 2.6.4. 为磁盘配置客户机缓存 将磁盘设备配置为由客户机而不是主机执行缓存。 确保磁盘设备的 driver 元素包含 cache="none" 和 io="native" 参数。 2.6.5. 排除内存气球(Balloon)设备 除非您需要动态内存大小,否则请不要定义内存气球设备,并确保 libvirt 不会为您创建。将 ...cache="none" io="native" iothread="1"/> ... OpenShift Container Platform grep -i NAMESPACE NAME PACKAGE SOURCE CHANNEL openshift-logging cluster-logging 0 码力 | 315 页 | 3.19 MB | 1 年前3OpenShift Container Platform 4.8 容器镜像仓库(Registry)
2015-05-01T19:48:36.303422845Z time="2015-05-01T19:48:36Z" level=info msg="using inmemory layerinfo cache" instance.id=9ed6c43d-23ee-453f-9a4b-031fea646002 2015-05-01T19:48:36.303433991Z time="2015-05-01T19:48:36Z" imageregistry_digest_cache_requests_total Total number of requests without scope to the digest cache. # TYPE imageregistry_digest_cache_requests_total counter imageregistry_digest_cache_requests_total{type="Hit"} imageregistry_digest_cache_requests_total{type="Miss"} 24 # HELP imageregistry_digest_cache_scoped_requests_total Total number of scoped requests to the digest cache. # TYPE imageregistry_digest_cache_scoped_requests_total0 码力 | 39 页 | 415.94 KB | 1 年前3OpenShift Container Platform 4.13 安装
包,还必须始终包含 Operator 软件包的默认频道。您可以运行以下命令来找到默认频 道:oc mirror list operators --catalog=--package= <package_name>。 指定要在镜像集中包含的任何其他镜像。 注意 注意 graph: true 字段还会镜像 ubi-micro 镜像,以及其他镜像的镜像。 如需完整的参数列表,请参阅 Operator 软件 包的默认频道。 提示 提示 您可以运行以下命令来找到默认频道:oc mirror list operators --catalog= -- package=<package_name>。 ImageSetConfiguration 文件示例 文件示例 path: /home/user/metadata mirror: operators: /home/kni/rhcos_image_cache 目 目录 录中: 中: 9. 为 为新文件确 新文件确认 认 SELinux 类 类型 型为 为 httpd_sys_content_t : : $ sudo firewall-cmd --reload $ mkdir /home/kni/rhcos_image_cache $ sudo semanage 0 码力 | 4634 页 | 43.96 MB | 1 年前3OpenShift Container Platform 4.8 Service Mesh
threescale_http_total 计数 到 3scale 后端的请求的 HTTP 状 态响应代码。 threescale_system_cache_hi ts 计数 从配置缓存获取到 3scale 系统的 请求总数。 threescale_backend_cache_ hits 计数 从后端缓存获取到 3scale 后端的 请求总数。 1.21.6. 3scale 后端缓存 3scale 后端缓存为 配置选项中找到用于配置后端缓存的设置。 最后的 3 设置控制启用后端缓存: PARAM_USE_CACHE_BACKEND - 设置为 true 以启用后端缓存。 PARAM_BACKEND_CACHE_FLUSH_INTERVAL_SECONDS - 以秒为单位设置连续尝试 刷新 API 管理器缓存数据的时间(以秒为单位)。 PARAM_BACKEND_CACHE_POLICY_FAIL_CLOSED - 当没有足够的缓存数据且无法到 8080 PARAM_THREESCALE_CACHE_TTL_SECONDS: 300 PARAM_THREESCALE_CACHE_REFRESH_SECONDS: 180 PARAM_THREESCALE_CACHE_ENTRIES_MAX: 1000 PARAM_THREESCALE_CACHE_REFRESH_RETRIES: 10 码力 | 344 页 | 3.04 MB | 1 年前3OpenShift Container Platform 4.12 容器镜像仓库(Registry)
2015-05-01T19:48:36.303422845Z time="2015-05-01T19:48:36Z" level=info msg="using inmemory layerinfo cache" instance.id=9ed6c43d-23ee-453f-9a4b-031fea646002 2015-05-01T19:48:36.303433991Z time="2015-05-01T19:48:36Z" imageregistry_digest_cache_requests_total Total number of requests without scope to the digest cache. # TYPE imageregistry_digest_cache_requests_total counter imageregistry_digest_cache_requests_total{type="Hit"} imageregistry_digest_cache_requests_total{type="Miss"} 24 # HELP imageregistry_digest_cache_scoped_requests_total Total number of scoped requests to the digest cache. # TYPE imageregistry_digest_cache_scoped_requests_total0 码力 | 75 页 | 652.51 KB | 1 年前3
共 39 条
- 1
- 2
- 3
- 4