Deploy the operator

edit
  1. Apply the all-in-one template, as described in the quickstart.

    oc create -f https://download.elastic.co/downloads/eck/1.8.0/crds.yaml
    oc apply -f https://download.elastic.co/downloads/eck/1.8.0/operator.yaml
  2. [Optional] If the Software Defined Network is configured with the ovs-multitenant plug-in, you must allow the elastic-system namespace to access other Pods and Services in the cluster:

    oc adm pod-network make-projects-global elastic-system
  3. Create a namespace to hold the Elastic resources (Elasticsearch, Kibana, APM Server, Enterprise Search, Beats, Elastic Agent, and Elastic Maps Server):

    oc new-project elastic # creates the elastic project
  4. [Optional] Allow another user or a group of users to manage the Elastic resources:

    oc adm policy add-role-to-user elastic-operator developer -n elastic

    In the example above the user developer is allowed to manage Elastic resources in the namespace elastic.