See README
Setup OCP web terminal
# apply enhanced web terminal
oc apply -k https://github.com/redhat-na-ssa/ocp-rhoai-deploy/demo/web-terminal
# delete old terminal-tooling
$(wtoctl | grep delete)Setup worker node in AWS
ocp_machineset_scale 1
ocp_control_nodes_not_schedulable
oc apply -k ../demo_ops/components/cluster-configs/autoscale/overlays/defaultSetup GPU node in AWS
# setup gpu node
ocp_aws_machineset_create_gpu
ocp_machineset_scale 1# view configs
oc describe cm device-plugin-config \
-n nvidia-gpu-operator
# apply config per node
DEVICE_CONFIG=time-sliced-4
oc label node "${NODE_NAME}" \
--overwrite \
nvidia.com/device-plugin.config="${DEVICE_CONFIG}"# patch gpu cluster policy
patch clusterpolicies.nvidia.com/cluster-policy \
--type='json' \
-p='[{"op":"replace", "path":"/spec/mig/strategy", "value":"single"}]'
# get mig profiles
oc -n nvidia-gpu-operator \
describe cm default-mig-parted-config
# label a node with a mig profile
oc label nodes \
<node-name> \
nvidia.com/mig.config=all-1g.10gb --overwrite