Provision OCP on FYRE

Usage

mas provision-fyre [options]

FYRE Credentials

  • -u|--username FYRE_USERNAME FYRE username
  • -a|--apikey FYRE_APIKEY FYRE API key

Cluster Configuration

  • -p|--product-id FYRE_PRODUCT_ID FYRE product group ID that will own the cluster
  • -q|--quota-type FYRE_QUOTA_TYPE Declare the quota to use when provisioning the cluster ("quick_burn" or "product_group")
  • -c|--cluster-name CLUSTER_NAME Name of the cluster to be provisioned (lowercase only)
  • -v|--ocp-version OCP_VERSION OCP version to use (e.g 4.13, 4.14)
  • -d|--description FYRE_DESCRIPTION Description of the OCP cluster

Worker Node Configuration

  • --worker-count FYRE_WORKER_COUNT Number of worker nodes to provision
  • --worker-cpu FYRE_WORKER_CPU How many CPUs to allocate per worker node
  • --worker-memory FYRE_WORKER_MEMORY How much memory to allocate per worker node

Other Commands

  • -s|--simulate-airgap Set flag to apply the simulated airgap network configuration to the cluster after provisioning
  • --no-confirm Provision the cluster without prompting for confirmation
  • -h|--help Show this help message

Examples

Interactive Mode

docker run -ti --rm --pull always quay.io/ibmmas/cli mas provision-fyre

Non-Interactive Mode

export FYRE_USERNAME=xxx
export FYRE_APIKEY=xxx
docker run -ti --rm --pull always quay.io/ibmmas/cli mas provision-fyre \
  -u $FYRE_USERNAME -a $FYRE_APIKEY \
  -p 225 -q product_group \
  -c masonfyre -d "My Cluster" -v 4.14 \
  --worker-count 3 --worker-cpu 8 --worker-memory 32 \
  --no-confirm