OpenShift Container Platform 4.2 镜像构建工具协同工作。S2I 是一个框架,便于编写以应 用程序源代码为输入的镜像和生成以运行汇编应用程序为输出的新镜像。 第 第 4 章 章 创 创建 建镜 镜像 像 21 例如,该 Python 镜像定义了构建各个版本的 Python 应用程序的 S2I 脚本。 支持任意用 支持任意用户 户 id 默认情况下,OpenShift Container Platform 使用任意分配的用户 ID 来运行容器。这对因容器引擎漏洞而 imagestreamtag 来自镜像流对象: 历史 史记录中含有 中含有两个 个镜像的 像的镜像流 像流标签 镜像流标签可以是持久性标签,也可以是跟踪标签。 持久性标签是特定于版本的标签,指向镜像的特定版本,如 Python 3.5。 跟踪标签是引用标签,跟在另一 imagestreamtag 的后面,以后可进行更新以更改它们跟随的镜 像,类似于符号链接。请注意,这些新等级无法保证向后兼容。 例如,OpenShift a0fe79147dd6b9135bf7dd13d OpenShift Container Platform 4.2 镜 镜像 像 40 $ oc describe is/python Name: python Namespace: default Created: About a minute ago Labels:Annotations: openshift 0 码力 | 92 页 | 971.35 KB | 1 年前3
OpenShift Container Platform 4.14 镜像Operator 将提供对 Non-S2I 镜像流和模板的支持。 Cluster Samples Operator 将继续支持 S2I 构建器镜像和模板,并接受更新。S2I 镜像流和模板包括: Ruby Python Node.js Perl PHP HTTPD Nginx EAP Java Webserver .NET Go 从 OpenShift Container Platform ImageStream 对象: 历史 史记录中有 中有两个 个镜像的 像的镜像流 像流标签 镜像流标签可以是持久性标签,也可以是跟踪标签。 本文标签是特定于版本的标签,指向镜像的特定版本,如 Python 3.5。 跟踪标签是引用标签,跟随另一个镜像流标签,并可更新以更改它们跟随的镜像,如符号链接。 这些新等级无法保证向后兼容。 例如,OpenShift Container Platform 附带的 要获取有关特定镜像流标签的所有信息,请输入以下命令: 例如: 输出示例 出示例 $ oc describe is/$ oc describe is/python Name: python Namespace: default Created: About a minute ago Labels: Annotations: openshift 0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.7 镜像ImageStream 对象: 历史 史记录中有 中有两个 个镜像的 像的镜像流 像流标签 镜像流标签可以是持久性标签,也可以是跟踪标签。 本文标签是特定于版本的标签,指向镜像的特定版本,如 Python 3.5。 跟踪标签是引用标签,跟随另一个镜像流标签,并可更新以更改它们跟随的镜像,如符号链接。 这些新等级无法保证向后兼容。 例如,OpenShift Container Platform 附带的 is/$ oc describe is/python OpenShift Container Platform 4.7 镜 镜像 像 50 获取有关特定镜像流标签的所有可用信息: 例如: 输出示例 出示例 注意 注意 输出的信息多于显示的信息。 6.7.2. 为镜像流添加标签 您可以向镜像流添加其他标签。 流程 Name: python Namespace: default docker-registry.default.svc:5000/default/python Image Lookup: local=false Unique Images: 1 Tags: 1 3.5 tagged from centos/python-35-centos7 * centos/python-35- centos7@sha256:49c18358df82f45773 0 码力 | 123 页 | 1.20 MB | 1 年前3
以外部模式部署OpenShift Container Storage单上的外部集群部分 上的外部集群部分 5. 在 Connect to external cluster 部分中,单击 Download Script 链接,以下载用于提取 Ceph 集 群详细信息的 python 脚本。 6. 要提取 Red Hat Ceph Storage (RHCS) 集群详情,请联系 RHCS 管理员,以在带有 admin 密 密钥 钥 第 第 4 章 章 为 为外部模式 外部模式创 (RHCS) 集群详情,请联系 RHCS 管理员,以在带有 admin 密 密钥 钥 的 Red Hat Ceph Storage 节点上运行下载的 python 脚本。 a. 在 RHCS 节点上运行以下命令,以查看可用参数的列表: # python3 ceph-external-cluster-details-exporter.py --help 重要 重要 如果在 Red Hat Enterprise (RHEL 7.x) 集群中部署了 Red Hat Ceph Storage 4.x 集群,则使用 python 而不是 python3。 注意 注意 您也可以从 MON 容器(容器化部署)或 MON 节点(rpm 部署)运行 脚本。 b. 要从 RHCS 集群检索外部集群详情,请运行以下命令 # python3 ceph-external-cluster-details-exporter.py \0 码力 | 29 页 | 738.90 KB | 1 年前3
更新OpenShift Data Foundation必须安装并配置 Ceph 控制面板。 流程 流程 1. 下载 OpenShift Data Foundation 的 ceph-external-cluster-details-exporter.py python 脚本。 # oc get csv $(oc get csv -n openshift-storage | grep ocs-operator | awk '{print $1}') -n openshift-storage details-exporter.py,更新外部 Red Hat Ceph Storage 存储集群的权限上限。您可能需要要求您 的 Red Hat Ceph Storage 管理员来执行此操作。 # python3 ceph-external-cluster-details-exporter.py --upgrade 用户的更新权限被设置为: client.csi-cephfs-node key: command 'osd blocklist' caps: [osd] profile rbd 3. 运行之前下载的 python 脚本,再保存从外部 Red Hat Ceph Storage 存储集群生成的 JSON 输 出。 a. 运行之前下载的 python 脚本: # python3 ceph-external-cluster-details-exporter.py --rbd-data-pool-name0 码力 | 18 页 | 239.14 KB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具DefaultDevfileRegistry python Python Stack with Python 3.7 DefaultDevfileRegistry python-django Python3.7 with Django php-laravel Stack with Laravel 8 DefaultDevfileRegistry python Python Stack with Python 3.7 DefaultDevfileRegistry [...] $ odo catalog describe component $ odo0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.7 安装event['ResourceProperties']['TargetArn']+event['ResourceProperties']['TargetIp']) Runtime: "python3.7" Timeout: 120 RegisterSubnetTagsLambdaIamRole: Type: AWS::IAM::Role Properties: event['ResourceProperties']['InfrastructureName']+event['ResourceProperties']['Subnets'][0]) Runtime: "python3.7" Timeout: 120 RegisterPublicSubnetTags: Type: Custom::SubnetRegister 第 第 4 章 章 在 event['ResourceProperties']['TargetArn']+event['ResourceProperties']['TargetIp']) Runtime: "python3.7" Timeout: 120 RegisterSubnetTagsLambdaIamRole: Type: AWS::IAM::Role Properties:0 码力 | 2276 页 | 23.68 MB | 1 年前3
OpenShift Container Platform 4.8 安装event['ResourceProperties']['TargetArn']+event['ResourceProperties']['TargetIp']) Runtime: "python3.7" Timeout: 120 RegisterSubnetTagsLambdaIamRole: Type: AWS::IAM::Role Properties: event['ResourceProperties']['InfrastructureName']+event['ResourceProperties']['Subnets'][0]) Runtime: "python3.7" Timeout: 120 RegisterPublicSubnetTags: Type: Custom::SubnetRegister OpenShift Container 程序中使用位于 https://github.com/coreos/stream-metadata-go 的正式 stream- metadata-go 库。您还可以查看库中的示例代码。 在 Python 或 Ruby 等其他编程语言中使用您首选编程语言的 JSON 库。 在处理 JSON 数据的命令行工具中,如 jq: 为 AWS 区域输出当前的 x86_64 AMI,如 us-west-1:0 码力 | 2586 页 | 27.37 MB | 1 年前3
OpenShift Container Platform 4.6 发行注记平台可以在配置和管理成本最小化的情况下,利用安全、可扩展的资源部署新的或已有的应用程序。 OpenShift Container Platform 支持大量编程语言和开发平台,如 Java、JavaScript、Python、Ruby 和 PHP。 OpenShift Container Platform 基于 Red Hat Enterprise Linux 和 Kubernetes,为当今的企业级应用程序 提 19.4,它包括以下显著的技术更改: operator SDK 现在与 OpenShift Container Platform 范围一致使用 UBI-8 和 Python 3。下游基 础镜像现在使用 UBI-8 并包含 Python 3。 run --local 命令已弃用,以 run local 替代。 run --olm 和 --kubeconfig 命令已启用,以 run packagemanifests 21 日 OpenShift Container Platform release 4.6.9 现已正式发布,其中包括 openshift- clients、openvswitch2.13 和 python-sushy 的安全更新。此更新包括的程序错误修正信息包括在 RHSA-2020:5614 公告中。此更新中包括的 RPM 软件包由 RHSA-2020:5615 公告提供。 您可以运行以下命令来查看此发行版本中的容器镜像:0 码力 | 91 页 | 1.15 MB | 1 年前3
OpenShift Container Platform 4.10 安装event['ResourceProperties']['TargetArn']+event['ResourceProperties']['TargetIp']) Runtime: "python3.7" Timeout: 120 RegisterSubnetTagsLambdaIamRole: Type: AWS::IAM::Role Properties: event['ResourceProperties']['InfrastructureName']+event['ResourceProperties']['Subnets'][0]) Runtime: "python3.7" Timeout: 120 RegisterPublicSubnetTags: Type: Custom::SubnetRegister Properties: 程序中使用位于 https://github.com/coreos/stream-metadata-go 的正式 stream- metadata-go 库。您还可以查看库中的示例代码。 在 Python 或 Ruby 等其他编程语言中使用您首选编程语言的 JSON 库。 在处理 JSON 数据的命令行工具中,如 jq: 为 AWS 区域输出当前的 x86_64 或 aarch64 AMI,如0 码力 | 3142 页 | 33.42 MB | 1 年前3
共 36 条
- 1
- 2
- 3
- 4













