Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

Chapter 42. Uninstalling Operator Lifecycle Manager

After installing your cluster, you can uninstall the Operator Lifecycle Manager by using the OpenShift Container Platform openshift-ansible installer.

42.1. Uninstalling Operator Lifecycle Manager using Ansible

After installing your cluster, you can use this procedure with the OpenShift Container Platform openshift-ansible installer to uninstall the Technology Preview Operator Framework.

You must check the following prerequisites before uninstalling the Technology Preview Operator Framework:

  • An existing OpenShift Container Platform 3.11 cluster
  • Access to the cluster using an account with cluster-admin permissions
  • Ansible playbooks provided by the latest openshift-ansible installer

    1. Add the following variables to your config.yml playbook:

      operator_lifecycle_manager_install=false
      operator_lifecycle_manager_remove=true
    2. Change to the playbook directory:

      $ cd /usr/share/ansible/openshift-ansible
    3. Run the OLM installation playbook to uninstall OLM using your inventory file:

      $ ansible-playbook -i <inventory_file> playbooks/olm/config.yml