Skip to content

Commit

Permalink
update code to disable worload mcp (#51384)
Browse files Browse the repository at this point in the history
* update code to disable worload mcp

* Update ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-ref.yaml

Co-authored-by: Qiujie Li <81630527+qiliRedHat@users.noreply.github.com>

* Update ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-commands.sh

Co-authored-by: Qiujie Li <81630527+qiliRedHat@users.noreply.github.com>

---------

Co-authored-by: Qiujie Li <81630527+qiliRedHat@users.noreply.github.com>
  • Loading branch information
liqcui and qiliRedHat committed May 7, 2024
1 parent ebe8cdf commit 111e732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -708,8 +708,10 @@ esac

#Create infra and workload machineconfigpool
create_machineconfigpool infra
create_machineconfigpool workload

if [[ $IF_CREATE_WORKLOAD_NODE == "true" ]];then
create_machineconfigpool workload
fi
#Set default value to none if no specified value, using cpu and ram of worker nodes to create machineset
#This also used for some property don't exist in a certain cloud provider, but need to pass correct parameter for create_machineset
OPENSHIFT_INFRA_NODE_INSTANCE_TYPE=${OPENSHIFT_INFRA_NODE_INSTANCE_TYPE:-none}
Expand Down
Expand Up @@ -45,7 +45,7 @@ ref:
- name: IF_CREATE_WORKLOAD_NODE
default: "false"
documentation: |-
Default is true, which means openshift-qe-workers-infra-workload-commands.sh will create workload node. You can set it to false to disable creating workload node
Default is false, set it to true to let openshift-qe-workers-infra-workload-commands.sh to create workload node. set it to false to disable creating workload node
- name: OPENSHIFT_INFRA_NODE_CPU_COUNT
default: ""
documentation: |-
Expand Down

0 comments on commit 111e732

Please sign in to comment.