Skip to content

Commit

Permalink
add: todo function
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Oct 4, 2024
1 parent 9b2305d commit 2e37ba0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/library/ocp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,24 @@ ocp_aws_create_gpu_machineset(){
oc -n openshift-machine-api \
patch "${MACHINE_SET_TYPE}" \
--type=merge --patch '{"spec":{"template":{"spec":{"providerSpec":{"value":{"instanceType":"'"${INSTANCE_TYPE}"'"}}}}}}'

# # fix storage

# cat << YAML > /tmp/patch.yaml
# spec:
# template:
# spec:
# providerSpec:
# value:
# blockDevices:
# - ebs:
# volumeSize: 120
# volumeType: gp3
# YAML

# oc -n openshift-machine-api \
# patch "${MACHINE_SET_TYPE}" \
# --type=merge --patch "$(cat /tmp/patch.yaml)"
}

ocp_aws_taint_gpu_machineset(){
Expand Down

0 comments on commit 2e37ba0

Please sign in to comment.