OpenShift Container Platform 4.10 可伸缩性和性能生成延迟测试失败报告 15.6. 生成 JUNIT 延迟测试报告 15.7. 在单节点 OPENSHIFT 集群上运行延迟测试 15.8. 在断开连接的集群中运行延迟测试 15.9. 对 CNF-TESTS 容器的错误进行故障排除 78 78 78 80 80 82 83 84 87 87 87 90 90 92 92 94 94 94 95 96 96 96 100 "disable" spec: containers: - name: dynamic-irq-pod image: "registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10" command: ["sleep", "10h"] resources: requests: cpu: 2 memory: 集群上运行延迟测试,其中安装了运行 CNF 工作负载所需的所有组件。运行延迟测试以验证工 作负载的节点调整。 cnf-tests 容器镜像位于 registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 中。 重要 重要 cnf-tests 镜像还包含了红帽不支持的多个测试。红帽只支持延迟测试。 15.1. 运行延迟测试的先决条件 运行延迟测试前,集群必须满足以下要求:0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 4.14 Operator/bundle ... └── tests └── scorecard └── config.yaml kind: Configuration apiversion: scorecard.operatorframework.io/v1alpha3 metadata: name: config stages: - parallel: true tests: - image: 描述 描述 短名称 短名称 5.11.4. 运行 scorecard 工具 Operator SDK 在运行 init 命令后生成一组默认 Kustomize 文件。生成的默认 bundle/tests/scorecard/config.yaml 文件可立即用于针对 Operator 运行 scorecard 工具,或者您可以 根据测试规格修改该文件。 先决条件 先决条件 使用 Operator operatorframework.io/v1alpha3 kind: Configuration metadata: name: config stages: - parallel: true 1 tests: - entrypoint: - scorecard-test - basic-check-spec image: quay.io/operator-framework/scorecard-test:v10 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具watch。 如果 .odoignore 文件 文件 不 存在,则会使用 .gitignore 文件来忽略特定的文件和文件夹。 要忽略 .git 文件、任意带有 .js 扩展名的文件,以及 tests 目录,在 .odoignore 或 .gitignore 文件中添 加以下内容: $ odo preference unset updatenotification ? Do you want preference was successfully updated OpenShift Container Platform 4.8 CLI 工具 工具 96 1 2 .git *.js tests/ .odoignore 文件 文件 允许任何 glob 表达式。 3.5. ODO CLI 参考指南 3.5.1. odo build-images odo 可根据 Dockerfile 远程存在。 表 表 7.11. scorecard 标记 标记 标记 标记 描述 描述 -c, --config(字符串) scorecard 配置文件的路径。默认路径为 bundle/tests/scorecard/config.yaml。 -h,--help scorecard 命令的帮助输出。 --kubeconfig (string) kubeconfig 文件的路径。 第 第0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 3.11 扩展和性能指南OpenShift Container Platform 部署的性能指标。 12.2. 安装 CLUSTER LOADER Cluster Loader 包含在 atomic-openshift-tests 软件包中。要安装它,请运行: 安装后,测试可执行文件 extended.test 位于 /usr/libexec/atomic-openshift/extended.test 中。 12.3 12.4.1. 配置字段 表 表 12.1. 顶层 顶层 Cluster Loader 字段 字段 字段 字段 描述 描述 $ yum install atomic-openshift-tests $ export KUBECONFIG=${KUBECONFIG-$HOME/.kube/config} $ cd /usr/libexec/atomic-openshift/ $ ./extended0 码力 | 58 页 | 732.06 KB | 1 年前3
OpenShift Container Platform 4.13 CI/CD'Build' sh 'cd helloworld && mvn clean' sh 'cd helloworld && mvn compile' stage 'Run Unit Tests' sh 'cd helloworld && mvn test' stage 'Package' sh 'cd helloworld && mvn package' context-path)" - name: GOALS value: ["-DskipTests", "clean", "compile"] - name: mvn-tests taskRef: name: maven runAfter: - mvn-build workspaces: - ["test"] - name: mvn-package taskRef: name: maven runAfter: - mvn-tests workspaces: - name: source workspace: shared-workspace - name: maven-settings0 码力 | 129 页 | 1.37 MB | 1 年前3
OpenShift Container Platform 4.1 发行注记openshift4/ose-template-service-broker-operator openshift4/ose-template-service-broker openshift4/ose-tests openshift4/postgresql-apb openshift4/ose-haproxy-router-base 第 第 1 章 章 OPENSHIFT CONTAINER PLATFORM0 码力 | 22 页 | 287.47 KB | 1 年前3
OpenShift Container Platform 4.6 发行注记(BZ#1887545) 目前,当在多个 Non-Uniform Memory Access(NUMA)节点中请求巨页时,巨页无法被正确检 测到。这是因为当集群包含多个 NUMA 节点时,cnf-tests 套件报告错误是由于测试将一个 NUMA 上的巨页数与整个节点上的巨页数进行比较。(BZ#1889633) 用于检查数据包转发和接收一直失败的 Data Plane Development Kit(DPDK)测试。 传输协议(Stream Control Transmission Protocol,SCTP)验证阶段会失败。例如,这会包括只包含内核参数的机器配置。 (BZ#1889275) 因为 cnf-tests 套件没有正确地检测运行 PTP 的节点数量,所以 PTP 验证阶段失败。 (BZ#1889741) 网络接口卡(NIC)验证阶段失败,因为它没有等待节点上的设备可用。pod 在节点上启动运行 的等待时间太短,因此0 码力 | 91 页 | 1.15 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具远程存在。 表 表 7.11. scorecard 标记 标记 标记 标记 描述 描述 -c, --config(字符串) scorecard 配置文件的路径。默认路径为 bundle/tests/scorecard/config.yaml。 -h,--help scorecard 命令的帮助输出。 --kubeconfig (string) kubeconfig 文件的路径。 第 第0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具远程存在。 表 表 7.11. scorecard 标记 标记 标记 标记 描述 描述 -c, --config(字符串) scorecard 配置文件的路径。默认路径为 bundle/tests/scorecard/config.yaml。 -h,--help scorecard 命令的帮助输出。 --kubeconfig (string) kubeconfig 文件的路径。 -L、--list0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.13 网络命令或编辑部署配 置来运行。值通常为 0755、493(十进制): 注意 oc set env 命令对空格敏感。= 符号的两侧不能有空格。 提示 #!/bin/bash # Whatever tests are needed # E.g., send request and verify response exit 0 $ oc create configmap mycustomcheck -dst string dest: destination pod name -dst-ip string destination IP address (meant for tests to external targets) -dst-namespace string k8s namespace of dest pod (default "default")0 码力 | 697 页 | 7.55 MB | 1 年前3
共 11 条
- 1
- 2













