OpenShift Container Platform 4.8 CLI 工具
bypass the certificate check, but any data you send to the server could be intercepted by others. Use insecure connections? (y/n): y 2 Authentication required for https://openshift.example.com:6443 (openshift) com/sclorg/cakephp-ex on openshift/php:7.2 deployment #1 deployed 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use 'oc get all' to see lists of each of the types described in this 0 码力 | 152 页 | 1.24 MB | 1 年前3OpenShift Container Platform 4.10 CLI 工具
bypass the certificate check, but any data you send to the server could be intercepted by others. Use insecure connections? (y/n): y 2 Authentication required for https://openshift.example.com:6443 (openshift) com/sclorg/cakephp-ex on openshift/php:7.2 deployment #1 deployed 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use 'oc get all' to see lists of each of the types described in this 0 码力 | 120 页 | 1.04 MB | 1 年前3OpenShift Container Platform 4.13 CLI 工具
bypass the certificate check, but any data you send to the server could be intercepted by others. Use insecure connections? (y/n): y 2 Authentication required for https://openshift.example.com:6443 (openshift) com/sclorg/cakephp-ex on openshift/php:7.2 deployment #1 deployed 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use 'oc get all' to see lists of each of the types described in this 0 码力 | 128 页 | 1.11 MB | 1 年前3OpenShift Container Platform 3.11 CLI 参考
To see more information about a service or deployment config, use 'oc describe service' or 'oc describe dc '. You can use 'oc get pods,svc,dc,bc,builds' to see lists of each of the types 2 pods To see more information about a service or deployment, use 'oc describe service ' or 'oc describe dc '. You can use 'oc get all' to see lists of each of the types described above. cluster nickname 已存在,则指定的信息将合并到其 中。 set- context 在 CLI 配置文件中设置上下文条目。如果引用的上下文 nickname 已存在,则指定的信息将合并在. use- context 使用指定上下文 nickname 设置当前上下文。 $ oc project alice-project Now using project "alice-project" 0 码力 | 45 页 | 737.95 KB | 1 年前3OpenShift Container Platform 4.14 存储
14 存 存储 储 8 输出显示 /var/lib 中的临时存储使用情况: 输 输出示例 出示例 $ df -h /var/lib Filesystem Size Used Avail Use% Mounted on /dev/disk/by-partuuid/4cd1448a-01 69G 32G 34G 49% / 第 第 2 章 章 了解 了解临时 临时存 存储 储 读。您将需要按照以下步骤启用正确的 SELinux 权限。 先决条件 先决条件 必须安装 container-selinux 软件包。这个软件包提供 virt_use_nfs SELinux 布尔值。 流程 流程 使用以下命令启用 virt_use_nfs 布尔值。使用 -P 选项可以使这个布尔值在系统重启后仍然有 效。 4.9.3.4. 导 导出 出设 设置 置 为了使任意容器用户都可以读取和写入卷, 111 (portmapper)。 NFSv3 必须设置 NFS 导出和目录,以便目标 pod 可以对其进行访问。将导出设定为由容器的主 UID 拥 # setsebool -P virt_use_nfs 1 /*(rw,root_squash) # iptables -I INPUT 1 -p tcp --dport 2049 -j ACCEPT # iptables 0 码力 | 215 页 | 2.56 MB | 1 年前3OpenShift Container Platform 4.14 Operator
under the Apache License, Version 2.0 (the "License"); 第 第 5 章 章 开 开发 发 OPERATOR 185 you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www // Owned objects are automatically garbage collected. For additional cleanup logic use finalizers. // Return and don't requeue log.Info("Memcached 项目的选项,它利用现有 Ansible playbook 和模块将 Kubernetes 资源 部署为统一应用程序,而无需编写任何 Go 代码。 # Set the Operator SDK version to use. By default, what is installed on the system is used. # This is useful for CI or a project to utilize0 码力 | 423 页 | 4.26 MB | 1 年前3OpenShift Container Platform 4.13 CI/CD
stream tar cf - deps fi popd #!/bin/bash # inform the user how to use the image cat <use it, install https://github.com/openshift/source-to-image EOF 第 第 2 构建您的自定义构建器镜像。 流程 流程 1. 创建名为 buildconfig.yaml 的文件。此文件定义要在项目中创建并执行的 BuildConfig 对象: # account to use it for pushing the image cp /var/run/secrets/openshift.io/push/.dockercfg /tmp (echo "{ \"auths\": buildConfig.status.imageChangeTriggers 中,标识具有最新时间戳的 lastTriggerTime。 这个 ImageChangeTriggerStatus Then you use the `name` and `namespace` from that build to find the corresponding image change trigger in `buildConfig 0 码力 | 129 页 | 1.37 MB | 1 年前3OpenShift Container Platform 3.11 扩展和性能指南
devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section. 要简化存储配置,请使用 docker-storage-setup OPENSHIFT CONTAINER PLATFORM 的建议 在专用 OpenShift Container Platform 基础架构节点上运行 指标 pod。 在配置指标时使用持久性存储。Set USE_PERSISTENT_STORAGE=true. 在 OpenShift Container Platform 指标部署中保留 METRICS_RESOLUTION=30 参数。不建议 为 METRICS_RESOLUTION 扩展集群指 展集群指标 标 33 警告 警告 由于 OpenShift Container Platform 指标使用 Cassandra 数据库作为指标数据的数据 存储,如果在指标设置过程中设置了 USE_PERSISTENT_STORAGE=true,则 PV 将位于网络存储的顶部,且 NFS 用作默认数据。但不建议将网络存储与 Cassandra 结合使用。 如果您使用 Cassandra 数据库作为指标数据的数据存储,请参阅0 码力 | 58 页 | 732.06 KB | 1 年前3OpenShift Container Platform 4.8 Service Mesh
[external/envoy/source/common/protobuf/utility.cc:174] Using deprecated option 'envoy.api.v2.Listener.use_original_dst' from file LDS.proto。This configuration will be removed from Envoy soon. MAISTRA-806 options have been removed in v2.1, please use another alternative, support for telemetry.type "Mixer" and telemetry.Mixer options have been removed in v2.1, please use another alternative]” apiVersion: maistra on" triggerRules: - excludedPaths: - exact: /health_check principalBinding: USE_ORIGIN OpenShift Container Platform 4.8 Service Mesh 72 PeerAuthentication 资 资源示例 源示例 #require0 码力 | 344 页 | 3.04 MB | 1 年前3OpenShift Container Platform 4.4 构建(build)
popd 例 例 5.4. usage 脚本: 脚本: #!/bin/bash # inform the user how to use the image cat <use it, install https://github.com/openshift/source-to-image EOF 5.3. buildah requires a slight modification to the push secret provided by the service # account in order to use it for pushing the image cp /var/run/secrets/openshift.io/push/.dockercfg /tmp (echo "{ \"auths\": manager configurations COPY ./rhsm-conf /etc/rhsm COPY ./rhsm-ca /etc/rhsm/ca # Delete /etc/rhsm-host to use entitlements from the build container RUN rm /etc/rhsm-host && \ # Initialize /etc/yum.repos.d/redhat 0 码力 | 101 页 | 1.12 MB | 1 年前3
共 43 条
- 1
- 2
- 3
- 4
- 5