Search

Chapter 15. Disabling Multicloud Object Gateway external service after deploying OpenShift Data Foundation

download PDF

When you deploy OpenShift Data Foundation, public IPs are created even when OpenShift is installed as a private cluster. However, you can disable the Multicloud Object Gateway (MCG) load balancer usage by using the disableLoadBalancerService variable in the storagecluster CRD. This restricts MCG from creating any public resources for private clusters and helps to disable the NooBaa service EXTERNAL-IP.

Procedure

  • Run the following command and add the disableLoadBalancerService variable in the storagecluster YAML to set the service to ClusterIP:

    $ oc edit storagecluster -n openshift-storage <storagecluster_name>
    [...]
    spec:
      arbiter: {}
      encryption:
        kms: {}
      externalStorage: {}
      managedResources:
        cephBlockPools: {}
        cephCluster: {}
        cephConfig: {}
        cephDashboard: {}
        cephFilesystems: {}
        cephNonResilientPools: {}
        cephObjectStoreUsers: {}
        cephObjectStores: {}
        cephRBDMirror: {}
        cephToolbox: {}
      mirroring: {}
      multiCloudGateway:
        disableLoadBalancerService: true       <--------------- Add this
        endpoints:
    [...]
    Note

    To undo the changes and set the service to LoadBalancer, set the disableLoadBalancerService variable to false or remove that line completely.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.