Deploy ECK on Openshift
This section shows how to run ECK on OpenShift.
- Before you begin
- Deploy the operator
- Deploy an Elasticsearch instance with a route
- Deploy a Kibana instance with a route
- Grant privileged permissions to Beats
- Grant host access permission to Elastic Agent
To run the instructions on this page, you must be a
system:adminuser or a user with the privileges to create Projects, CRDs, and RBAC resources at the cluster level.Set virtual memory settings on the Kubernetes nodes.
OpenShift sets
vm.max_map_countto262144on its nodes by default. This value is enough for Elasticsearch to start. To use the recommended value1048576, set it with the Node Tuning Operator, as described in Virtual memory. Pods created by ECK are likely to run with therestrictedSecurity Context Constraint (SCC), which prevents them from changing this setting in the underlying Kubernetes nodes.Alternatively, you can opt for setting
node.store.allow_mmap: falseat the Elasticsearch node configuration level. This has performance implications and is not recommended for production workloads.For more information, check Virtual memory.