OpenShift Container Platform 4.8 CLI 工具by default oc exec svc/myservice -- date # Get the documentation of the resource and its fields oc explain pods # Get the documentation of a specific field of a resource oc explain pods.spec access.redhat.com/ocp-tools-4/odo-init-container- rhel8:1.1.11 上游存储库位于 https://github.com/redhat-developer/odo 3.1.2. 程序错误修复 在以前的版本中,如果 .odo/env 文件不存在,odo deploy 将失败。现在,如果需要,请创建 .odo/env 文件。 在以前的版本中,如果断开与集群的连接,使用 已在最新的发行版本中解决。 3.1.3. 获取支持 对 对于 于产 产品 品 如果您发现了错误,遇到问题或者有改进 odo 功能的建议,请在 Bugzilla 中提交问题。选择 OpenShift Developer Tools and Services 作为产品类型,odo 作为组件。 请在问题描述中提供尽可能多的细节。 对 对于文档 于文档 如果您发现了错误或有改进文档的建议,请为相关文档组件提交0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.7 镜像fd44297e2ddb050ec4f…),它通常会 被缩短为一个 12 位长的值(如 fd44297e2ddb)。 您可以创建、管理和使用 https://access.redhat.com/documentation/en- us/openshift_container_platform/4.7/html-single/images/#using-images-overview 容器镜像。 1.3. $ oc create secret docker-registry \ --docker-server=sso.redhat.com \ --docker-username=developer@example.com \ --docker-password=******** \ --docker-email=unused \ redhat-connect-sso secret docker-registry \ --docker-server=privateregistry.example.com \ --docker-username=developer@example.com \ OpenShift Container Platform 4.7 镜 镜像 像 42 1 1 5.4.3. 更新全局集群 pull secret 您可以通过替换当前的0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.14 镜像$ oc create secret docker-registry \ --docker-server=sso.redhat.com \ --docker-username=developer@example.com \ --docker-password=******** \ --docker-email=unused \ redhat-connect-sso secret docker-registry \ --docker-server=privateregistry.example.com \ --docker-username=developer@example.com \ --docker-password=******** \ --docker-email=unused \ private-registry 使用 WEB 控制台创建应用程序 您可使用 web 控制台从模板创建应用程序。 流程 流程 1. 在 Web 控制台导航菜单顶部的上下文选择器中,选择 Developer。 2. 在相关的项目中点 +Add 3. 点 Developer Catalog 标题中的 All services。 4. 点 Type 下的 Builder Images 以查看可用的构建器镜像。 注意 注意 只有其注解中列出0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.13 CI/CDbc/OpenShift Container Platform 4.13 CI/CD 58 2.7.3. 编辑 BuildConfig 要编辑构建配置,您可以使用 Developer 视角的 Builds 视图中的 Edit BuildConfig 选项。 您可以使用以下任一视图编辑 BuildConfig : Form 视图 视图 允许您使用标准表单字段和复选框编辑 BuildConfig,完全控制操作。 您可以在 Form view 和 YAML 视图 视图间切换,而不丢失任何数据。Form 视图 视图中的数据传输到 YAML 视 视 图 图,反之亦然。 流程 流程 1. 在 Developer 视 视角 角 的 Builds 视图中,点击菜单 来查看 Edit BuildConfig 选项。 2. 点击 Edit BuildConfig 以查看 Form view 选项。 3 com/pipelines/1.11。 另外,Red Hat OpenShift Pipelines 文档也包括在红帽客户门户网站 https://access.redhat.com/documentation/zh-cn/red_hat_openshift_pipelines/ 中。 如需有关 Red Hat OpenShift Pipelines 生命周期和支持的平台的更多信息,请参阅平台生 0 码力 | 129 页 | 1.37 MB | 1 年前3
OpenShift Container Platform 3.11 CLI 参考创建一个新项目 4.4.5. new-app 根据当前目录中的源代码创建新应用: https://access.redhat.com/documentation/en- us/openshift_container_platform/3.11/html-single/developer_guide/#dev-guide-new-app 根据远程存储库中的源代码创建新应用: $ oc types $ oc0 码力 | 45 页 | 737.95 KB | 1 年前3
OpenShift Container Platform 4.2 镜像$ oc create secret docker-registry \ --docker-server=sso.redhat.com \ --docker-username=developer@example.com \ --docker-password=******** \ --docker-email=unused \ redhat-connect-sso secret docker-registry \ --docker-server=privateregistry.example.com \ --docker-username=developer@example.com \ --docker-password=******** \ --docker-email=unused \ private-registry 该值将在引用参数的任意位置上被替 openshift.io/provider-display-name: "Red Hat, Inc." 7 openshift.io/documentation-url: "https://github.com/sclorg/cakephp-ex" 8 openshift.io/support-url: "https://access.redhat0 码力 | 92 页 | 971.35 KB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具OPENSHIFT CLI (OC) 11 5. 检查 CLI 是否有登录确认。 输 输出示例 出示例 注意 注意 Web 控制台默认为前面会话中使用的配置集。要在 Administrator 和 Developer 配置集间 切换,请从 OpenShift Container Platform Web 控制台注销并清除缓存。 您现在可以创建项目或执行其他命令来管理集群。 2.1.5. 使用 OpenShift oc extract 将 secret 或配置映射提取到磁盘 用法示例 用法示例 # Get the documentation of the resource and its fields oc explain pods # Get the documentation of a specific field of a resource oc explain pods.spec0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序第 第 2 章 章 项 项目 目 2.1. 处理项目 2.2. 以其他用户身份创建项目 2.3. 配置项目创建 第 第 3 章 章 创 创建 建应 应用程序 用程序 3.1. 使用 DEVELOPER 视角创建应用程序 3.2. 从已安装的 OPERATOR 创建应用程序 3.3. 使用 CLI 创建应用程序 第 第 4 章 章 使用 使用 TOPOLOGY 视图查 视图查看 看应 应用程序 和 LINUXONE 上使用服务绑定 6.6. 从服务公开绑定数据 6.7. 投射绑定数据 6.8. 使用 SERVICE BINDING OPERATOR 绑定工作负载 6.9. 使用 DEVELOPER 视角将应用程序连接到服务 第 第 7 章 章 使用 使用 HELM CHART 7.1. 了解 HELM 7.2. 安装 HELM 7.3. 配置自定义 HELM CHART 仓库 7 10 章 章 将配置映射与 将配置映射与应 应用程序搭配使用 用程序搭配使用 10.1. 了解配置映射 10.2. 用例: 在 POD 中使用配置映射 第 第 11 章 章 使用 使用 DEVELOPER 视 视角 角监 监控 控项 项目和 目和应 应用程序的指 用程序的指标 标 11.1. 先决条件 11.2. 监控项目指标数据 11.3. 监控应用程序的指标数据 11.4. 其他资源0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序第 第 2 章 章 项 项目 目 2.1. 处理项目 2.2. 以其他用户身份创建项目 2.3. 配置项目创建 第 第 3 章 章 创 创建 建应 应用程序 用程序 3.1. 使用 DEVELOPER 视角创建应用程序 3.2. 从已安装的 OPERATOR 创建应用程序 3.3. 使用 CLI 创建应用程序 第 第 4 章 章 使用 使用 TOPOLOGY 视图查 视图查看 看应 应用程序 和 LINUXONE 上使用服务绑定 5.6. 从服务公开绑定数据 5.7. 投射绑定数据 5.8. 使用 SERVICE BINDING OPERATOR 绑定工作负载 5.9. 使用 DEVELOPER 视角将应用程序连接到服务 第 第 6 章 章 使用 使用 HELM CHART 6.1. 了解 HELM 6.2. 安装 HELM 6.3. 配置自定义 HELM CHART 仓库 6 第 第 9 章 章 将配置映射与 将配置映射与应 应用程序搭配使用 用程序搭配使用 9.1. 了解配置映射 9.2. 用例: 在 POD 中使用配置映射 第 第 10 章 章 使用 使用 DEVELOPER 视 视角 角监 监控 控项 项目和 目和应 应用程序的指 用程序的指标 标 10.1. 先决条件 10.2. 监控项目指标数据 10.3. 监控应用程序的指标数据 10.4. 其他资源0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.2
Service Mesh 的安装、使用和发行注记信息Platform 4.7 及之后的版本中的 Web 控制台中打开内嵌的命令 行终端实例。 注意 注意 显示的默认 Web 控制台视角取决于用户的角色。如果用户是开发人员,则 Developer 视 角会被默认显示。 Developer 视角提供开发人员用例特有的工作流,比如: 通过导入现有代码基、镜像和容器文件在 OpenShift Container Platform 中创建和部署应用程 序。 Che 创建开发平台来编辑应用程序代码。 1.2.1. 访问 Developer 视角 OpenShift Container Platform web 控制台中的 Developer 视角提供了针对于开发人员用例的工作流。 您可以使用以下方法来访问 Developer 视角: 先决条件 先决条件 要访问 Developer 视角,需要已登陆到 web 控制台。OpenShift Container 1. 使用视角切换功能把它切换到 Developer 视角。此时会显示包含集群中所有项目的列表的 Topology 视图。 图 图 1.1. Developer Perspective (开 开发 发者 者视 视角 角) OpenShift Container Platform 4.8 Web 控制台 控制台 4 图 图 1.1. Developer Perspective (开 开发0 码力 | 44 页 | 651.51 KB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5













