OpenShift Container Platform 4.8 CLI 工具"https://openshift.example.com:6443". $ oc new-app https://github.com/sclorg/cakephp-ex --> Found image 40de956 (9 days old) in imagestream "openshift/php" under tag "7.2" for "php" ... Run 'oc status' bash-completion is not installed on Linux, please install the 'bash-completion' package ## via your distribution's package manager. ## Load the oc completion code for bash into the current shell source <(oc password}' # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'oc cp' will fail. # # For advanced use cases, such as symlinks, wildcard0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具"https://openshift.example.com:6443". $ oc new-app https://github.com/sclorg/cakephp-ex --> Found image 40de956 (9 days old) in imagestream "openshift/php" under tag "7.2" for "php" ... Run 'oc status' 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 <(oc password}' # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'oc cp' will fail. # # For advanced use cases, such as symlinks, wildcard0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具"https://openshift.example.com:6443". $ oc new-app https://github.com/sclorg/cakephp-ex --> Found image 40de956 (9 days old) in imagestream "openshift/php" under tag "7.2" for "php" ... Run 'oc status' 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 <(oc password}' # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'oc cp' will fail. # # For advanced use cases, such as symlinks, wildcard0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.9 节点mountPath: /var/run/secrets/kubernetes.io/serviceaccount 6 terminationMessagePolicy: File image: registry.redhat.io/openshift4/ose-ogging-eventrouter:v4.3 7 serviceAccount: default 8 volumes: reason: ContainerCreating lastState: {} ready: false restartCount: 0 image: openshift/hello-openshift imageID: '' qosClass: BestEffort 第 第 2 章 章 使用 使用 POD 15 注意 注意 的数量,即使在中断期间也是如此。 { "kind": "Pod", "spec": { "containers": [ { "image": "openshift/hello-openshift", "name": "hello-openshift" } ]0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.14 OperatorOPERATOR 6.8. CLUSTER CONFIG OPERATOR 6.9. CLUSTER CSI SNAPSHOT CONTROLLER OPERATOR 6.10. CLUSTER IMAGE REGISTRY OPERATOR 6.11. CLUSTER MACHINE APPROVER OPERATOR 6.12. CLUSTER MONITORING OPERATOR 6.13 须正好有一个这些属 #Bundle: { schema: "olm.bundle" package: string & !="" name: string & !="" image: string & !="" properties: [...#Property] relatedImages?: [...#RelatedImage] } #Property: { null value: !=null } #RelatedImage: { // image is the image reference image: string & !="" // name is an optional descriptive name for an image that // helps identify its purpose in the context0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.6 节点mountPath: /var/run/secrets/kubernetes.io/serviceaccount 6 terminationMessagePolicy: File image: registry.redhat.io/openshift4/ose-ogging-eventrouter:v4.3 7 serviceAccount: default 8 volumes: reason: ContainerCreating lastState: {} ready: false restartCount: 0 image: openshift/hello-openshift imageID: '' qosClass: BestEffort OpenShift Container Platform 的数量,即使在中断期间也是如此。 { "kind": "Pod", "spec": { "containers": [ { "image": "openshift/hello-openshift", "name": "hello-openshift" } ]0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序存储库中导 入一个存在的 codebase、Devfile 或 Dockerfile,以在 OpenShift Container Platform 上构建和 部署一个应用程序。 Container Image:使用镜像流或 registry 中的现有镜像,将其部署到 OpenShift Container Platform 中。 Pipelines:使用 Tekton 管道为 OpenShift Container Create Sample Application Form 中: 在 Name 字段中,部署名称会被默认显示。您可以根据需要修改此名称。 在 Builder Image Version 中,会默认选择一个构建器镜像。您可以使用 Builder Image Version 下拉列表修改此镜像版本。 默认添加 Git 存储库 URL 示例。 4. 点 Create 创建示例应用程序。示例应用程序的构建状态显示在 请选择一个构建器镜像。对于 https://github.com/sclorg/nodejs-ex Git URL,默认选择了 Node.js 构建器镜像。 a. 可选: 使用 Builder Image Version 下拉菜单指定版本。 b. 可选: 使用 Edit import 策略来选择不同的策略。 6. 在 General 部分中: a. 在 Application 字段中输入应用程序组别的唯一名称,例如0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序存储库中导 入一个存在的 codebase、Devfile 或 Dockerfile,以在 OpenShift Container Platform 上构建和 部署一个应用程序。 Container Image:使用镜像流或 registry 中的现有镜像,将其部署到 OpenShift Container Platform 中。 Pipelines:使用 Tekton 管道为 OpenShift Container Create Sample Application Form 中: 在 Name 字段中,部署名称会被默认显示。您可以根据需要修改此名称。 在 Builder Image Version 中,会默认选择一个构建器镜像。您可以使用 Builder Image Version 下拉列表修改此镜像版本。 默认添加 Git 存储库 URL 示例。 4. 点 Create 创建示例应用程序。示例应用程序的构建状态显示在 请选择一个构建器镜像。对于 https://github.com/sclorg/nodejs-ex Git URL,默认选择了 Node.js 构建器镜像。 a. 可选: 使用 Builder Image Version 下拉菜单指定版本。 b. 可选: 使用 Edit import 策略来选择不同的策略。 c. 可选: 对于 Node.js 构建器镜像,请使用 Run command 字段覆盖运行应用程序的命令。0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.10 虚拟化ConsoleCLIDownload virtctl-clidownloads-kubevirt-hyperconverged -o yaml $ tar -xvfdistribution.arch>.tar.gz $ chmod +x $ echo $PATH C:\> path 第 第 4 章 章 安装 安装 29 1 如果没有指定端口号,代理会在随机端口上运行。 $ virtctl image-upload -h $ virtctl options OpenShift Container Platform 4.10 虚 虚拟 拟化 化 42 1 virtctl image-upload dv --image-path= image> --no-create 将虚拟机镜像上传到已存在的数据卷中。 将虚拟机镜像上传到已存在的数据卷中。 virtctl image-upload dv --size= --image-path= image> 将虚拟机镜像上传到新数据卷。 virtctl version 显示客户端和服务器版本。 virtctl fslist 返回客户端机器中可用文件系统的完整列表。 0 码力 | 307 页 | 3.45 MB | 1 年前3
OpenShift Container Platform 4.13 虚拟化可执行文件来安装客户端。 c. 将 virtctl 二进制文件移到 PATH 环境变量中的目录中。 您可以运行以下命令来检查您的路径: $ tar -xvfdistribution.arch>.tar.gz $ chmod +x $ echo $PATH $ export KUBECONFIG=/home/image-upload 命令将虚拟机镜像上传到数据卷中。 表 表 9.8. 镜 镜像上 像上传 传命令 命令 命令 命令 描述 描述 virtctl image-upload dv image> --no-create 将虚拟机镜像上传到已存在的数据卷中。 virtctl image-upload image-upload dv-- image-path= --size= --image- path=image> 将虚拟机镜像上传到指定请求大小的新数据卷中。 9.3. 使用 LIBGUESTFS 9.3.1. 使用 virtctl 部署 libguestfs-tools 容器 您可以使用 virtctl guestfs 命令部署带有 libguestfs-tools 0 码力 | 393 页 | 4.53 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













