OpenShift Container Platform 4.10 CLI 工具
tab 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" $ oc completion --api-group=extensions # Print the supported API versions oc api-versions # Apply the configuration in pod.json to a pod oc apply -f ./pod.json # Apply resources from a directory containing stdin to a pod cat pod.json | oc apply -f - # Note: --prune is still in Alpha # Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in0 码力 | 120 页 | 1.04 MB | 1 年前3OpenShift Container Platform 4.13 CLI 工具
reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" 第 第 2 章 apply edit-last-applied 编辑资源/对象的最新 last-applied-configuration 注解 用法示例 用法示例 2.7.1.6. oc apply set-last-applied 设置 live 对象上的 last-applied-configuration 注释,以匹配文件的内容。 用法示例 用法示例 2.7.1.7. oc apply view-last-applied view-last-applied 查看资源/对象最新的最后应用配置注解 # Apply the configuration in pod.json to a pod oc apply -f ./pod.json # Apply resources from a directory containing kustomization.yaml - e.g. dir/kustomization0 码力 | 128 页 | 1.11 MB | 1 年前3OpenShift Container Platform 4.8 CLI 工具
tab 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" out on "https://openshift.example.com" $ oc completion --api-group=extensions # Print the supported API versions oc api-versions # Apply the configuration in pod.json to a pod. oc apply -f ./pod.json # Apply resources from a directory containing stdin to a pod. cat pod.json | oc apply -f - # Note: --prune is still in Alpha # Apply the configuration in manifest.yaml that matches label app=nginx and delete all the other resources that are not0 码力 | 152 页 | 1.24 MB | 1 年前3OpenShift Container Platform 4.13 认证和授权
(IDP)。 先决条件 先决条件 您必须以集群管理员身份登录到 web 控制台。 流程 流程 1. 导航至 Administration → Cluster Settings。 2. 在 Configuration 选项卡下,单击 OAuth。 3. 在 Identity Providers 部分中,从 Add 下拉菜单中选择您的身份提供程序。 注意 注意 您可以通过 web 控制台来指定多个 modules/mod_auth_form.so # LoadModule session_module modules/mod_session.so # Nothing needs to be served over HTTP. This virtual host simply redirects to # HTTPS.DocumentRoot /var/www/html (IDP)。 先决条件 先决条件 您必须以集群管理员身份登录到 web 控制台。 流程 流程 1. 导航至 Administration → Cluster Settings。 2. 在 Configuration 选项卡下,单击 OAuth。 3. 在 Identity Providers 部分中,从 Add 下拉菜单中选择您的身份提供程序。 注意 注意 您可以通过 web 控制台来指定多个 0 码力 | 201 页 | 2.74 MB | 1 年前3OpenShift Container Platform 4.10 构建应用程序
使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 $ oc adm create-bootstrap-project-template -o yaml > template.yaml $ oc create -f 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 iii. 找到 Project 的条目,并点击 Edit YAML。 使用 CLI: i. 以具有 cluster-admin 特权的用户身份登录。 ii. 改其它参数的默认值,如探 测成功和失败的阈值、在容器启动后执行第一个探测前的秒数、探测的频率以及超时值。 构 构建配置和部署 建配置和部署 点 Build Configuration 和 Deployment Configuration 链接来查看对应的配置选项。一些选项会被默 认选中;您可以通过添加必要的触发器和环境变量来进一步自定义。 对于无服务器应用程序,Deployment 选项不会显示,因为0 码力 | 198 页 | 3.62 MB | 1 年前3OpenShift Container Platform 4.14 Operator
OperatorHub 也会显示由目录源提供的 Operator。 提示 提示 集群管理员可以使用 web 控制台中的 Administration → Cluster Settings → Configuration → OperatorHub 页面查看集群中已启用的目录源提供的 Operator 的完整列表。 CatalogSource 的 spec 指明了如何构造 pod,以及如何与服务于 Operator Normal BackOff 20s (x2 over 46s) kubelet Back-off pulling image "quay.io/example-org/example-catalog:v1" Warning Failed 20s (x2 over 46s) kubelet Error: ImagePullBackOff ImagePullBackOff Normal Pulling 8s (x3 over 47s) kubelet Pulling image "quay.io/example- org/example-catalog:v1" Warning Failed 8s (x3 over 47s) kubelet Failed to pull0 码力 | 423 页 | 4.26 MB | 1 年前3OpenShift Container Platform 4.9 构建应用程序
使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 $ oc adm create-bootstrap-project-template -o yaml > template.yaml $ oc create -f 使用 Web 控制台或 CLI 编辑项目配置资源。 使用 Web 控制台: i. 导航至 Administration → Cluster Settings 页面。 ii. 单击 Configuration 以查看所有配置资源。 iii. 找到 Project 的条目,并点击 Edit YAML。 使用 CLI: i. 以具有 cluster-admin 特权的用户身份登录。 ii. 更改。然后您可以修改其它参数的默认值,如探 测成功和失败的阈值、在容器启动后执行第一个探测前的秒数、探测的频率以及超时值。 构建配置和部署 点 Build Configuration 和 Deployment Configuration 链接来查看对应的配置选项。一些选项会被默 认选中;您可以通过添加必要的触发器和环境变量来进一步自定义。 对于无服务器应用程序,Deployment 选项不会显示,因为0 码力 | 184 页 | 3.36 MB | 1 年前3OpenShift Container Platform 4.13 虚拟化
盘和脚本 脚本选项卡 Configuration → Scheduling 标签页 调度 VirtualMachine 以便在特定节点上运行 Configuration → Environment 标签页 配置映射、secret 和服务帐户管理 Configuration → Network interfaces 标 签页 网络接口 Configuration → Disks 标签页 标签页 磁盘 Configuration → Scripts 标签页 cloud-init 设置、Linux VirtualMachines 的 SSH 密钥、Windows VirtualMachines 的 Sysprep 回答文件 Events 标签页 VirtualMachine 事件流 控制台 控制台 标签页 控制台会话管理 快照 快照标签页 快照管理 诊 诊断 断标签页 状态条件和卷快照状态 配置集 点编辑图标编辑工作负载配置集。 使用 virtctl 进行 SSH 点复制图标将 virtctl ssh 命令复制到剪贴板。 SSH 服务类型选项 选择 SSH over LoadBalancer 或 SSH over NodePort。 GPU 设备 点编辑图标添加 GPU 设备。 主机设备 点编辑图标添加主机设备。 无头模式 点编辑图标启用无头模式。 Services 部分 如果安装了0 码力 | 393 页 | 4.53 MB | 1 年前3OpenShift Container Platform 4.2 Service Mesh 的安装、使用和发行注记信息
based on a distributed microservices architecture. - Spring enables easy packaging and configuration of Spring applications into a self-contained executable application which can be easily deployed experience for both existing and net-new Spring applications. For example: - Externalized configuration using Kubernetes ConfigMaps and integration with Spring Cloud Kubernetes - Service discovery action" 结构。告诉用户要做什么前先告诉用户到什么地方。 正确的示例 正确的示例: In the node.js deployment, hover over the icon. 不正确的示例 不正确的示例: Hover over the icon in the node.js deployment. OpenShift Container Platform 4.8 Web 控制台 控制台0 码力 | 44 页 | 651.51 KB | 1 年前3OpenShift Container Platform 4.6 发行注记
网络连接检查 1.2.8.6. 辅助设备指标可与网络附加关联 1.2.8.7. CNF 测试可以在发现模式下运行 1.2.8.8. HAProxy 版本升级 1.2.8.9. Control over X-Forwarded header 1.2.8.10. 修改路由路径 1.2.8.11. Ingress 终止策略 1.2.8.12. AWS 的 Ingress Controller 网络负载均衡 集群监控 Node Tuning Operator OpenShift Jenkins OpenShift Logging OpenShift Do (odo) Machine Configuration Operator 用于使用安装程序置备的基础架构的安装 Node Feature Discovery Operator OpenShift Container Platform 内核(CVO Ingress 现在使用 HAProxy 版本 2.0.16。 OpenShift Container Platform 4.6 发 发行注 行注记 记 22 1.2.8.9. Control over X-Forwarded header 现在可以通过设置 forwardHeaderPolicy 参数来控制 X-Forwarded 标头。 现在,通过引入 haproxy.router.openshift0 码力 | 91 页 | 1.15 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6