Skip to content

Commit

Permalink
Merge pull request #8102 from hongkailiu/machine_config
Browse files Browse the repository at this point in the history
Create machineconfig for m5d
  • Loading branch information
openshift-merge-robot authored Apr 3, 2020
2 parents 9e2b667 + ee2b442 commit 8793336
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: worker
name: m5d
spec:
config:
ignition:
version: 2.2.0
storage:
disks:
- device: "/dev/nvme1n1"
wipeTable: true
partitions:
- label: containerraid1
number: 0
start: 0
size: 0
- device: "/dev/nvme2n1"
wipeTable: true
partitions:
- label: containerraid2
number: 0
start: 0
size: 0
raid:
- devices:
- "/dev/disk/by-partlabel/containerraid1"
- "/dev/disk/by-partlabel/containerraid2"
level: stripe
name: containerraid
filesystems:
- mount:
device: "/dev/md/containerraid"
format: xfs
label: containers
systemd:
units:
- name: var-lib-containers.mount
enable: true
contents: |-
[Mount]
What=/dev/md/containerraid
Where=/var/lib/containers
Type=xfs
[Install]
WantedBy=local-fs.target
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,12 @@ spec:
ami:
id: ami-06f85a7940faa3217
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
iops: 16000
volumeSize: 640
volumeType: io1
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: build01-9hdwj-worker-profile
instanceType: m5.4xlarge
instanceType: m5d.4xlarge
kind: AWSMachineProviderConfig
metadata:
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,12 @@ spec:
ami:
id: ami-06f85a7940faa3217
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
iops: 16000
volumeSize: 640
volumeType: io1
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: build01-9hdwj-worker-profile
instanceType: m5.4xlarge
instanceType: m5d.4xlarge
kind: AWSMachineProviderConfig
metadata:
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,12 @@ spec:
ami:
id: ami-06f85a7940faa3217
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
iops: 16000
volumeSize: 640
volumeType: io1
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: build01-9hdwj-worker-profile
instanceType: m5.4xlarge
instanceType: m5d.4xlarge
kind: AWSMachineProviderConfig
metadata:
creationTimestamp: null
Expand Down

0 comments on commit 8793336

Please sign in to comment.