Code Monkey home page Code Monkey logo

elastic-operator's Introduction

Elastic Cloud on Kubernetes Helm chart

Helm chart to deploy ECK operator.

This chart is based on the official Elastic resource file.

DISCLAIMER: This Helm chart is provided as-is and is an alpha version.

TL;DR;

$ helm install <repo>/elastic-operator

Prerequisites

  • Kubernetes 1.12+ or OpenShift 3.11+

See ECK overview.

Installing the Chart

To install the chart with the release name my-release and default configuration:

$ helm install --name my-release <repo>/elastic-operator

Uninstalling the Chart

To delete the chart:

$ helm delete my-release

Configuration

The following table lists the configurable parameters of the elastic-operator chart and their default values.

Parameter Description Default
replicaCount Number of replicas 1
image.repository Image repository docker.elastic.co/eck/eck-operator
image.tag Image tag 1.0.1
image.pullPolicy Image pull policy IfNotPresent
imagePullSecrets Image pull secrets []
nameOverride Override the name of the chart ""
fullnameOverride Override the fullname of the chart ""
labels Extra labels to add to statefulset {}
annotations Extra annotations to add to statefulset {}
podLabels Extra labels to add to pod {}
podAnnotations Extra annotations to add to pod {}
operator.logVerbosity Verbosity level of logs. -2=Error, -1=Warn, 0=Info, 0 and above=Debug. See Documentation 0
operator.metricsPort If configured, will expose Prometheus metrics. See Documentation nil
operator.roles Roles this operator should assume. Valid values are namespace, global, webhook or all. Accepts multiple space separated values. See Documentation all
webhook.enabled If true, creates the validating webhook. Make sure to also configure properly the operator.roles also. See Documentation true
serviceAccount.create If true, a new service account is created true
serviceAccount.name The service account to be created/used nil
rbac.create If true, will create rbac for the serviceAccount.name true
podSecurityContext Security context for the entire pod {}
securityContext Security context for containers running in the pod {}
resources Pod resource requests and limits {}
nodeSelector Node labels for pod assignment {}
tolerations Node taints to tolerate []
affinity Pod affinity {}

Specify each parameter you'd like to override using a YAML file as described above in the installation section or by using the --set key=value[,key=value] argument to helm install.

$ helm install <repo>/elastic-operator --name my-release --values values.yaml

Creating resources

Once installed you can create Elastic resources. For example, creating an Elasticsearch cluster:

apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: my-es-custer
spec:
  version: 7.6.0
  nodeSets:
  - name: my-group
    count: 1
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.store.allow_mmap: false

A more complete example can be found here. More info can be found on the offical ECK quickstart.

elastic-operator's People

Contributors

kevinnoel-be avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.