Auto-generated documentation for ocs_ci.deployment.vmware module.
This module contains platform specific methods and classes for deployment on vSphere platform
- Ocs-ci / Modules / Ocs Ci / Deployment / Vmware
class VSPHEREUPI(VSPHEREBASE, BaseOCPDeployment):
def __init__():
def __init__():
A class to handle vSphere UPI specific deployment
def configure_storage_for_image_registry(kubeconfig):
Configures storage for the image registry
def convert_yaml2tfvars(yaml):
Converts yaml file to tfvars. It creates the tfvars with the same filename in the required format which is used for deployment.
yaml
str - File path to yaml
str
- File path to tfvars
def create_config():
Creates the OCP deploy config for the vSphere
def create_ignitions():
Creates the ignition files
def deploy(log_cli_level='DEBUG'):
Deployment specific to OCP cluster on this platform
log_cli_level
str - openshift installer's log level(default
- "DEBUG")
def deploy_ocp(log_cli_level='DEBUG'):
Deployment specific to OCP cluster on vSphere platform
log_cli_level
str - openshift installer's log level(default
- "DEBUG")
def deploy_prereq():
Pre-Requisites for vSphere UPI Deployment
def destroy_cluster(log_level='DEBUG'):
Destroy OCP cluster specific to vSphere UPI
log_level
str - log level openshift-installer (default: DEBUG)