Deploy ECK on Openshift

This section shows how to run ECK on OpenShift.

  1. To run the instructions on this page, you must be a system:admin user or a user with the privileges to create Projects, CRDs, and RBAC resources at the cluster level.

  2. Set virtual memory settings on the Kubernetes nodes.

    OpenShift sets vm.max_map_count to 262144 on its nodes by default. This value is enough for Elasticsearch to start. To use the recommended value 1048576, set it with the Node Tuning Operator, as described in Virtual memory. Pods created by ECK are likely to run with the restricted Security 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: false at the Elasticsearch node configuration level. This has performance implications and is not recommended for production workloads.

    For more information, check Virtual memory.