Deploying the application via the CLI
Sometimes you need to do things via an approach other than using a graphical user interface. Maybe you just prefer using a CLI. Or, perhaps you want to automate such work as steps in a Continuous Integration / Continuous Deployment (CI / CD) pipeline. Or, maybe you are using a Kubernetes distribution other than Red Hat OpenShift Container Platform (OCP), such as from one of the hyperscalers, such as Amazon Web Services (AWS) or Microsoft Azure. To deploy the application without the benefit of the OpenShift console, follow these steps:
- The first thing you'll need to do is to make sure that the Operator Lifecycle Manager (OLM) feature is installed in your Kubernetes cluster. This can be done via the operator-sdk (which you can install on your Mac via
brew install operator-sdk
) by following the instructions at https://olm.operatorframework.io/docs/getting-started/.Note
operator-sdk
is used to produce an operator such as the one for the...