Skip to content

Commit

Permalink
Add GPU machineset to build05 (#55726)
Browse files Browse the repository at this point in the history
  • Loading branch information
bear-redhat authored Aug 19, 2024
1 parent 936083f commit 6f7fef9
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions clusters/build-clusters/build05/machinesets/worker-gpu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
name: build05-kwk66-worker-gpu-us-east-1a
namespace: openshift-machine-api
spec:
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: build05-kwk66
machine.openshift.io/cluster-api-machineset: build05-kwk66-worker-gpu-us-east-1a
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: build05-kwk66
machine.openshift.io/cluster-api-machine-role: worker-gpu
machine.openshift.io/cluster-api-machine-type: worker-gpu
machine.openshift.io/cluster-api-machineset: build05-kwk66-worker-gpu-us-east-1a
spec:
lifecycleHooks: {}
metadata: {}
providerSpec:
value:
ami:
id: ami-0efc96a4e17e7b048
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
encrypted: true
iops: 3000
volumeSize: 200
volumeType: gp2
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: build05-kwk66-worker-profile
instanceType: g4dn.2xlarge
kind: AWSMachineProviderConfig
metadata:
creationTimestamp: null
placement:
availabilityZone: us-east-1a
region: us-east-1
securityGroups:
- filters:
- name: tag:Name
values:
- build05-kwk66-worker-sg
subnet:
filters:
- name: tag:Name
values:
- build05-kwk66-private-us-east-1a
tags:
- name: kubernetes.io/cluster/build05-kwk66
value: owned
- name: red-hat-managed
value: "true"
- name: red-hat-clustertype
value: osd
userDataSecret:
name: worker-user-data
---
apiVersion: autoscaling.openshift.io/v1beta1
kind: MachineAutoscaler
metadata:
name: build05-kwk66-worker-gpu-us-east-1a
namespace: openshift-machine-api
spec:
maxReplicas: 5
minReplicas: 0
scaleTargetRef:
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
name: build05-kwk66-worker-gpu-us-east-1a

0 comments on commit 6f7fef9

Please sign in to comment.