[ELK] k8s에 Elastic Stack 구축하기 (1/2)

  • Elastic Search
  • Logstash
  • Kibana
  • Beats
#kubectl apply -f https://download.elastic.co/downloads/eck/1.5.0/all-in-one.yaml
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
name: quickstart
version: 7.12.0
- name: default
count: 1
node.store.allow_mmap: false
#kubectl get elasticsearches.elasticsearch.k8s.elastic.co
#kubectl get statefulsets
#kubectl get po
PASSWORD=$(kubectl get secret quickstart-es-elastic-user -o go-template='{{.data.elastic | base64decode}}') ; echo $PASSWORD
#kubectl get svcNAME                           TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)          AGE
quickstart-es-http NodePort <none> 9200:30982/TCP 10d
quickstart-es-default ClusterIP None <none> 9200/TCP 10d
quickstart-es-transport ClusterIP None <none> 9300/TCP 10d
"name" : "quickstart-es-default-1",
"cluster_name" : "quickstart",
"cluster_uuid" : "rahFLiecRZCU63_H260Ahw",
"version" : {
"number" : "7.12.0",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "78722783c38caa25a70982b5b042074cde5d3b3a",
"build_date" : "2021-03-18T06:17:15.410153305Z",
"build_snapshot" : false,
"lucene_version" : "8.8.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
"tagline" : "You Know, for Search"



gooby goober yeah

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store