mirror of
https://github.com/labring/sealos.git
synced 2026-10-29 17:25:58 +08:00
modify the scp yaml field (#2261)
Signed-off-by: zhu jing yang <3161362058@qq.com>
This commit is contained in:
@@ -48,16 +48,19 @@ spec:
|
||||
image: "ami-0d66b970b9f16f1f5"
|
||||
disks:
|
||||
- capacity: ${infraForm.masterDisk}
|
||||
type: ${infraForm.masterDiskType}
|
||||
name: "/dev/sda2"
|
||||
volumeType: ${infraForm.masterDiskType}
|
||||
# allowed value is root|data
|
||||
type: "root"
|
||||
|
||||
- roles: [ node ]
|
||||
count: ${infraForm.nodeCount}
|
||||
flavor: ${infraForm.nodeType}
|
||||
image: "ami-0d66b970b9f16f1f5"
|
||||
disks:
|
||||
- capacity: ${infraForm.nodeDisk}
|
||||
type: ${infraForm.nodeDiskType}
|
||||
name: "/dev/sda2"
|
||||
volumeType: ${infraForm.nodeDiskType}
|
||||
# allowed value is root|data
|
||||
type: "root"
|
||||
---
|
||||
apiVersion: cluster.sealos.io/v1
|
||||
kind: Cluster
|
||||
|
||||
@@ -20,16 +20,16 @@ spec:
|
||||
image: "ami-0d66b970b9f16f1f5"
|
||||
disks:
|
||||
- capacity: {{.masterDisk}}
|
||||
type: {{.masterDiskType}}
|
||||
name: "/dev/sda2"
|
||||
volumeType: {{.masterDiskType}}
|
||||
type: "root"
|
||||
- roles: [ node ]
|
||||
count: {{ .nodeCount }}
|
||||
flavor: {{ .nodeType }}
|
||||
image: "ami-0d66b970b9f16f1f5"
|
||||
disks:
|
||||
- capacity: {{.nodeDisk}}
|
||||
type: {{.nodeDiskType}}
|
||||
name: "/dev/sda2"
|
||||
volumeType: {{.nodeDiskType}}
|
||||
type: "root"
|
||||
`;
|
||||
|
||||
const clusterMeta: CRDMeta = {
|
||||
|
||||
Reference in New Issue
Block a user