DirectorySecurity advisories
Sign in

Directory

eck-operator logo

eck-operator

Last changed
Get started with latest for free
docker pull cgr.dev/chainguard/eck-operator

Need access to a specific version? Contact us.

Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Elastic Cloud on Kubernetes

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/eck-operator:latest

Usage

There are several ways to deploy the ECK operator. You can follow up the Quickstart guide or you can use the Helm Chart available in Artifact Hub to deploy the operator.

The following example is going to show how to deploy the ECK operator using a its Helm Chart.

Deploy the ECK operator using Helm

  1. Add the Elastic Helm repository:
helm repo add elastic https://helm.elastic.co
  1. Install the ECK operator:

helm install elastic-operator elastic/eck-operator --namespace elastic-system --set image.repository=cgr.dev/chainguard/eck-operator --set image.tag=latest

Deploy an Elasticsearch cluster

  1. Create a file called elasticsearch.yaml with the following content:
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: quickstart
spec:
  version: 8.13.3
  nodeSets:
  - name: default
    count: 1
    config:
      node.store.allow_mmap: false
  1. Deploy the Elasticsearch cluster:
kubectl apply -f elasticsearch.yaml
  1. Check the Elasticsearch cluster status:
kubectl get elasticsearch quickstart -o=jsonpath='{.status.phase}'
  1. Access the Elasticsearch cluster:
kubectl port-forward service/quickstart-es-http 9200
  1. Get the password for the elastic user:
PASSWORD=$(kubectl get secret quickstart-es-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode)
  1. Access the Elasticsearch cluster using curl:
curl -u "elastic:$PASSWORD" -k "https://localhost:9200"

That's it! You have deployed an Elasticsearch cluster using the ECK operator.

Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Elastic License 2.0

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
eck
elastic
kubernetes
operator

Products

Chainguard Images

© 2024 Chainguard, Inc.