Giter Club home page Giter Club logo

openshift-elastic's Introduction

openshift-elastic

Test Env: OCP 4.5 on AWS us-east-2

Install ArgoCD in OpenShift

until oc apply -k https://github.com/luigiaparicio/openshift-elastic/argocd/install; do sleep 3; done

Add Nodes for Elastic

Create MachineSet

CLUSTERID=$(oc get machineset -n openshift-machine-api -o jsonpath='{.items[0].metadata.labels.machine\.openshift\.io/cluster-api-cluster}')
echo $CLUSTERID

curl -s https://raw.githubusercontent.com/luigiaparicio/openshift-elastic/master/cluster-config/elastic-machineset.yaml | sed -e "s/CLUSTERID/${CLUSTERID}/g" | oc apply -f -

After a couple of minutes you'll see new Nodes added and in Ready state

oc get nodes -l elastic-cluster=elasticsearch-sample

Example output:

NAME                                         STATUS   ROLES    AGE    VERSION
ip-10-0-132-221.us-east-2.compute.internal   Ready    elastic  100s   v1.18.3+10e5708
ip-10-0-174-238.us-east-2.compute.internal   Ready    elastic  100s   v1.18.3+10e5708
ip-10-0-216-236.us-east-2.compute.internal   Ready    elastic  99s    v1.18.3+10e5708

Create MachineConfigPool

oc apply -f https://raw.githubusercontent.com/luigiaparicio/openshift-elastic/master/cluster-config/elastic-mcp.yaml

Create Tuned config

oc apply -f https://raw.githubusercontent.com/luigiaparicio/openshift-elastic/master/cluster-config/elastic-tuned.yaml

Install ECK + ES + Kibana

oc apply -k https://github.com/luigiaparicio/openshift-elastic/cluster-config/config/overlays/default

Access to Kibana

A default user named elastic is automatically created with the password stored in a Kubernetes secret

oc get secret -n elastic-system elasticsearch-sample-es-elastic-user -o go-template='{{.data.elastic | base64decode}}'

openshift-elastic's People

Contributors

luigiaparicio avatar hugomelendez avatar andreshans 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.