OpenShift Container Platform 4.14 Operatorator- bundle@sha256:6d2587129c846ec28d384540322b40b05833e7e00b25cca584e004af9a1d292e" rpc error: code = Unknown desc = error pinging docker registry example.com: Get "https://example.com/v2/": dial tcp: 47s) kubelet Failed to pull image "quay.io/example-org/example-catalog:v1": rpc error: code = Unknown desc = reading manifest v1 in quay.io/example-org/example-catalog: unauthorized: access 47s) kubelet Failed to pull image "quay.io/example-org/example-catalog:v1": rpc error: code = Unknown desc = reading manifest v1 in quay.io/example-org/example-catalog: unauthorized: access0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序构 构建策略 建策略检测 检测 OpenShift Container Platform 通过检测某些文件自动决定要使用的构建策略: $ oc new-app /code> $ oc new-app https://github.com/sclorg/cakephp-ex $ oc new-app https://github.com/youruser/yourprivaterepo Godeps、main.go 检测了语言后,new-app 会在 OpenShift Container Platform 服务器上搜索具有与所检测语言匹配的 $ oc new-app /home/user/code/myapp --strategy=docker 第 第 3 章 章 创 创建 建应 应用程序 用程序 25 检测了语言后,new-app 会在 OpenShift Container Platform -i 需要 new-app 尝试克隆 repository,从而判断其工件类 型;如果 Git 不可用,此操作会失败。 调用 -i --code 需要 new-app 克隆 repository,从而能判断 image 应用作源代码的构建器,还是另外部署(使用数据库镜像时)。 3.3.2. 从镜像创建应用程序 0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具distribution's package manager. ## Load the oc completion code for bash into the current shell source <(oc completion bash) ## Write bash completion code to a file and source it from .bash_profile oc completion source $HOME/.bash_profile # Load the oc completion code for zsh[1] into the current shell source <(oc completion zsh) # Set the oc completion code for zsh[1] to autoload on startup oc completion zsh zsh > "${fpath[1]}/_oc" # Load the oc completion code for fish[2] into the current shell oc completion fish | source # To load completions for each session, execute once: oc completion fish >0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序构 构建策略 建策略检测 检测 OpenShift Container Platform 通过检测某些文件自动决定要使用的构建策略: $ oc new-app /code> $ oc new-app https://github.com/sclorg/cakephp-ex $ oc new-app https://github.com/youruser/yourprivaterepo Godeps、main.go 检测了语言后,new-app 会在 OpenShift Container Platform 服务器上搜索具有与所检测语言匹配的 $ oc new-app /home/user/code/myapp --strategy=docker OpenShift Container Platform 4.10 构 构建 建应 应用程序 用程序 26 检测了语言后,new-app 会在 -i 需要 new-app 尝试克隆 repository,从而判断其工件类 型;如果 Git 不可用,此操作会失败。 调用 -i --code 需要 new-app 克隆 repository,从而能判断 image 应用作源代码的构建器,还是另外部署(使用数据库镜像时)。 3.3.2. 从镜像创建应用程序 0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.14 更新集群镜像,以及其他镜像的镜像。 如需完整的参数列表,请参阅 Image set configuration parameters;对于不同的镜像用例,请参 阅 Image set configuration examples 。 3. 保存更新的文件。 在镜像内容时,oc mirror 命令需要此镜像设置配置文件。 其他 其他资 资源 源 镜像设置配置参数 镜像设置配置示例 关于 OpenShift Update 如有必要,更新您的镜像设置配置文件,以获取新的 OpenShift Container Platform 和 Operator 版本。对于示例镜像使用情况,请参阅 Image set configuration examples 。 2. 按照您用来将初始镜像设置为镜像 registry 的步骤操作。具体步骤,请参阅在部分断开连接的环 境中镜像镜像集,或在完全断开连接的环境中镜像镜像集。 重要 重要 您必须提 sleep 10; do HTTP_CODE="$(curl --header Accept:application/json --output /dev/stderr --write-out "%{http_code}" "${POLICY_ENGINE_GRAPH_URI}? channel=stable-4.6")"; if test "${HTTP_CODE}" -eq 200; then break;0 码力 | 149 页 | 1.94 MB | 1 年前3
OpenShift Container Platform 4.4 构建(build)令来使用 Origin 存储库中的示例: $ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/nodejs- sample-pipeline.yaml 5. 启动管道: $ oc start-build nodejs-sample-pipeline lives=3 enemies.cheat=true enemies.cheat.level=noGoodRotten secret.code.passphrase=UUDDLRLRBABAS secret.code.allowed=true secret.code.lives=30 第 第 15 章 章 创 创建和使用 建和使用 CONFIGMAP 89 输出示例 出示例 2. 输入以下命令,创建一个 enemies.cheat=true enemies.cheat.level=noGoodRotten secret.code.passphrase=UUDDLRLRBABAS secret.code.allowed=true secret.code.lives=30 ui.properties: | OpenShift Container Platform 4.4 构0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具distribution's package manager. ## Load the oc completion code for bash into the current shell source <(oc completion bash) ## Write bash completion code to a file and source it from .bash_profile oc completion source $HOME/.bash_profile # Load the oc completion code for zsh[1] into the current shell source <(oc completion zsh) # Set the oc completion code for zsh[1] to autoload on startup oc completion zsh zsh > "${fpath[1]}/_oc" # Load the oc completion code for fish[2] into the current shell oc completion fish | source 第 第 2 章 章 OPENSHIFT CLI (OC) 31 2.7.1.16. oc config current-context 显示 current-context0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具distribution's package manager. ## Load the oc completion code for bash into the current shell source <(oc completion bash) ## Write bash completion code to a file and source it from .bash_profile oc completion source $HOME/.bash_profile # Load the oc completion code for zsh[1] into the current shell source <(oc completion zsh) # Set the oc completion code for zsh[1] to autoload on startup oc completion zsh /home/config/production # Build from github oc kustomize https://github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6 # Update pod 'foo' with the label 'unhealthy' and the value 'true'. oc0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.13 网络错误代码页面作为自定义的模板,文 件中的标头需要编辑器而不是使用 CRLF 行结尾。 流程 流程 1. 在 openshift-config 命名空间中创建一个名为 my-custom-error-code-pages 的配置映射: 重要 haproxy_server_bytes_in_total{namespace="",pod="",route="",server="fe_no_sni",service=" http://: @ :1936/metrics;csv $ oc -n openshift-config create configmap my-custom-error-code-pages \ --from-file=error-page-503.http \ --from-file=error-page-404.http 第 第 7 章 章 OPENSHIFT CONTAINER pod,以便 使用正确的信息重新创建它们。 2. 对 Ingress Controller 进行补丁以根据名称引用 my-custom-error-code-pages 配置映射: Ingress Operator 将 my-custom-error-code-pages 配置映射从 openshift-config 命名空间复制 到 openshift-ingress 命名空间。Operator 根据 0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 3.11 扩展和性能指南tuning: default ifexists: reuse templates: - num: 1 file: ./examples/quickstarts/cakephp-mysql.json - num: 1 basename: clusterloader-dancer-mysql tuning: tuning: default ifexists: reuse templates: - num: 1 file: ./examples/quickstarts/dancer-mysql.json - num: 1 basename: clusterloader-django-postgresql tuning: tuning: default ifexists: reuse templates: - num: 1 file: ./examples/quickstarts/django-postgresql.json 第 第 12 章 章 使用 使用 CLUSTER LOADER 45 1 2 3 4 端到端测试的可选设置。设置为 local0 码力 | 58 页 | 732.06 KB | 1 年前3
共 37 条
- 1
- 2
- 3
- 4













