OpenShift Container Platform 4.14 存储-f - apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name:1 parameters: fsType: ext4 2 encrypted: "true" kmsKeyId: keyvalue 3 provisioner: ebs.csi.aws.com reclaimPolicy: .yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: ultra-disk-sc 1 parameters: cachingMode: None diskIopsReadWrite: "2000" 2 diskMbpsReadWrite: "320" 3 kind: managed Container Platform 集群间共享。 持久性卷声明是针对某个项目或者命名空间的,相应的用户可请求它。 重要 重要 # echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping OpenShift Container Platform 4.14 存 存储 储 54 重要 重要 OpenShift Container 0 码力 | 215 页 | 2.56 MB | 1 年前3
OpenShift Container Platform 4.14 安装指定要在镜像集中包含的任何其他镜像。 注意 注意 graph: true 字段还会镜像 ubi-micro 镜像,以及其他镜像的镜像。 如需完整的参数列表,请参阅 Image set configuration parameters;对于不同的镜像用例,请参 阅 Image set configuration examples 。 3. 保存更新的文件。 在镜像内容时,oc mirror 命令需要此镜像设置配置文件。 file://.yaml 2 --parameters file://<parameters>.json 3 第 第 6 章 章 在 在 AWS 上安装 上安装 485 2 3 是您保存的 CloudFormation 模板 YAML 文件的相对路径和名称。 <parameters> 是 CloudFormation 参数 JSON 文件的相对路径和名称。 AWSTemplateFormatVersion: 2010-09-09 Description: Template for Best Practice VPC with 1-3 AZs Parameters: VpcCidr: AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]0 码力 | 3881 页 | 39.03 MB | 1 年前3
OpenShift Container Platform 4.7 安装堆栈的名称,如 cluster-VPC。如果您删除集群,则需要此堆 栈的名称。 是您保存的 CloudFormation 模板 YAML 文件的相对路径和名称。 <parameters> 是 CloudFormation 参数 JSON 文件的相对路径和名称。 输出示例 出示例 4. 确认模板组件已存在: 在 StackStatus 显示 CREATE_COMPLETE create-stack --stack-name1 --template-body file://.yaml 2 --parameters file://<parameters>.json 3 arn:aws:cloudformation:us-east-1:269333783861:stack/cluster-vpc/dbedae40-2fd3-11eb- AWSTemplateFormatVersion: 2010-09-09 Description: Template for Best Practice VPC with 1-3 AZs Parameters: VpcCidr: AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9] 0 码力 | 2276 页 | 23.68 MB | 1 年前3
OpenShift Container Platform 4.8 存储- ReadWriteMany nfs: server: 192.168.1.1 path: "/" # echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping OpenShift Container Platform 4.8 存 存储 储 64 重要 重要 虚拟化的 Red Hat Hyperconverged 此功能仅可用于受支持的 Container Storage Interface (CSI) 驱动程序。 重要 重要 provisioner:2 parameters: EOF # oc new-app mysql-persistent --> Deploying template "openshift/mysql-persistent" to project provisioner: pd.csi.storage.gke.io volumeBindingMode: "WaitForFirstConsumer" allowVolumeExpansion: true parameters: type: pd-standard disk-encryption-kms-key: projects/ /locations/ /keyRings/ 0 码力 | 118 页 | 1.60 MB | 1 年前3
OpenShift Container Platform 4.8 安装堆栈的名称,如 cluster-VPC。如果您删除集群,则需要此堆 栈的名称。 是您保存的 CloudFormation 模板 YAML 文件的相对路径和名称。 <parameters> 是 CloudFormation 参数 JSON 文件的相对路径和名称。 输出示例 出示例 4. 确认模板组件已存在: { "ParameterKey": "VpcCidr" create-stack --stack-name1 --template-body file://.yaml 2 --parameters file://<parameters>.json 3 arn:aws:cloudformation:us-east-1:269333783861:stack/cluster-vpc/dbedae40-2fd3-11eb- AWSTemplateFormatVersion: 2010-09-09 Description: Template for Best Practice VPC with 1-3 AZs Parameters: VpcCidr: AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9] 0 码力 | 2586 页 | 27.37 MB | 1 年前3
OpenShift Container Platform 4.10 安装堆栈的名称,如 cluster-VPC。如果您删除集群,则需要此堆 栈的名称。 是您保存的 CloudFormation 模板 YAML 文件的相对路径和名称。 <parameters> 是 CloudFormation 参数 JSON 文件的相对路径和名称。 输 输出示例 出示例 4. 确认模板组件已存在: 在 StackStatus 显示 CREATE_COMPLETE create-stack --stack-name1 --template-body file://.yaml 2 --parameters file://<parameters>.json 3 arn:aws:cloudformation:us-east-1:269333783861:stack/cluster-vpc/dbedae40-2fd3-11eb- AWSTemplateFormatVersion: 2010-09-09 Description: Template for Best Practice VPC with 1-3 AZs Parameters: VpcCidr: AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9] 0 码力 | 3142 页 | 33.42 MB | 1 年前3
OpenShift Container Platform 4.14 镜像-l name=otherLabel $ oc process --parameters -f $ oc process --parameters -n $ oc process --parameters -n openshift rails-postgresql-example OpenShift dockerfile/redis name: master ports: - containerPort: 6379 protocol: TCP parameters: - description: Password used for Redis authentication from: '[A-Z0-9]{8}' generate: expression template: "cakephp-mysql-example" 1 app: "${NAME}" 2 parameters: - name: USERNAME description: "The user name for Joe" value: joe parameters: - name: PASSWORD description: "The random user 0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.13 安装指定要在镜像集中包含的任何其他镜像。 注意 注意 graph: true 字段还会镜像 ubi-micro 镜像,以及其他镜像的镜像。 如需完整的参数列表,请参阅 Image set configuration parameters;对于不同的镜像用例,请参 阅 Image set configuration examples 。 3. 保存更新的文件。 在镜像内容时,oc mirror 命令需要此镜像设置配置文件。 堆栈的名称,如 cluster-VPC。如果您删除集群,则需要此堆 栈的名称。 是您保存的 CloudFormation 模板 YAML 文件的相对路径和名称。 <parameters> 是 CloudFormation 参数 JSON 文件的相对路径和名称。 输出示例 出示例 [ { "ParameterKey": "VpcCidr", 1 "ParameterValue": create-stack --stack-name1 --template-body file://.yaml 2 --parameters file://<parameters>.json 3 arn:aws:cloudformation:us-east-1:269333783861:stack/cluster-vpc/dbedae40-2fd3-11eb- 0 码力 | 4634 页 | 43.96 MB | 1 年前3
OpenShift Container Platform 4.7 镜像-l name=otherLabel $ oc process --parameters -f $ oc process --parameters -n $ oc process --parameters -n openshift rails-postgresql-example NAME dockerfile/redis name: master ports: - containerPort: 6379 protocol: TCP parameters: - description: Password used for Redis authentication from: '[A-Z0-9]{8}' generate: expression template: "cakephp-mysql-example" 1 app: "${NAME}" 2 parameters: - name: USERNAME description: "The user name for Joe" value: joe parameters: - name: PASSWORD description: "The random user 0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.2 镜像oc process --parameters -f或者,如果模板已上传: $ oc process --parameters -n 例如,下面显示了在默认 openshift 项目中列出其中一个 Quickstart 模板的参数时的输出: $ oc process --parameters -n openshift dockerfile/redis name: master ports: - containerPort: 6379 protocol: TCP parameters: - description: Password used for Redis authentication from: '[A-Z0-9]{8}' generate: expression 生成 10 个字母字符。等同于 [a-zA-Z]{10}。 下面是附带参数定义和参考的完整模板示例: parameters: - name: USERNAME description: "The user name for Joe" value: joe parameters: - name: PASSWORD description: "The random user 0 码力 | 92 页 | 971.35 KB | 1 年前3
共 28 条
- 1
- 2
- 3













