Deploy the operator
editDeploy the operator
edit-
Apply the all-in-one template, as described in the quickstart.
oc create -f https://download.elastic.co/downloads/eck/2.14.0/crds.yaml oc apply -f https://download.elastic.co/downloads/eck/2.14.0/operator.yaml
-
[Optional] If the Software Defined Network is configured with the
ovs-multitenant
plug-in, you must allow theelastic-system
namespace to access other Pods and Services in the cluster:oc adm pod-network make-projects-global elastic-system
-
Create a namespace to hold the Elastic resources (Elasticsearch, Kibana, APM Server, Enterprise Search, Beats, Elastic Agent, Elastic Maps Server, and Logstash):
A namespace other than the default namespaces (default, kube-, openshift-, etc) is required such that default Security Context Constraint (SCC) permissions are applied automatically. Elastic resources will not work properly in any of the default namespaces.
oc new-project elastic # creates the elastic project
-
[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 this example the user
developer
is allowed to manage Elastic resources in the namespaceelastic
.