Difference between revisions of "Helm install elasticsearch elastic/elasticsearch"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
* https://github.com/elastic/helm-charts
 
 
TO_MERGE: [[helm install elasticsearch]]
 
 
 
[[helm install elasticsearch]] elastic/elasticsearch
 
[[helm install elasticsearch]] elastic/elasticsearch [[--set]] [[replicas]]=2
 
  
 +
== Example Nov 2023 ==
 +
helm install elasticsearch elastic/elasticsearch
 +
NAME: elasticsearch
 +
LAST DEPLOYED: Thu Nov 30 18:38:00 2023
 +
NAMESPACE: default
 +
STATUS: deployed
 +
REVISION: 1
 +
NOTES:
 +
1. Watch all cluster members come up.
 +
  $ kubectl get pods --namespace=default -l app=elasticsearch-master -w
 +
2. Retrieve elastic user's password.
 +
  $ kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d
 +
3. Test cluster health using Helm test.
 +
  $ helm --namespace=default test elasticsearch
  
 +
== Example Sep 2022 ==
 
  helm install elasticsearch elastic/elasticsearch
 
  helm install elasticsearch elastic/elasticsearch
 
  [[helm install]] elasticsearch elastic/elasticsearch
 
  [[helm install]] elasticsearch elastic/elasticsearch
Line 23: Line 31:
 
== Configuration options ==
 
== Configuration options ==
 
* https://github.com/elastic/helm-charts/blob/main/elasticsearch/README.md#configuration
 
* https://github.com/elastic/helm-charts/blob/main/elasticsearch/README.md#configuration
[[extraVolumes]]
+
* <code>[[extraVolumes]]</code>
[[extraVolumeMounts]]
+
* <code>[[extraVolumeMounts]]</code>
  
 
== Changing values ==
 
== Changing values ==
[[helm upgrade --install]] elasticsearch elastic/elasticsearch --set [[replicas]]=2
+
* <code>[[helm upgrade --install]] elasticsearch elastic/elasticsearch --set [[replicas]]=2</code>
  
 
== Related ==
 
== Related ==
* <code>[[helm repo add elastic]] https://helm.elastic.co</code>
+
* [[Kibana]]
[[helm get values elasticsearch --all]]
+
* <code>[[helm repo add elastic https://helm.elastic.co]]</code>
[[helm show]]
 
* <code>[[helm search repo elastic]]</code>
 
* <code>[[Elastic/elasticsearch]]</code>
 
* Install using [[ECK]] operator (recommended) <ref>https://github.com/elastic/helm-charts#eck</ref>
 
* <code>[[Defaulted container "elasticsearch" out of: elasticsearch, configure-sysctl (init)]]</code>
 
* <code>[[helm show all elastic/elasticsearch]]</code>
 
* <code>[[helm upgrade --install]] elasticsearch elastic/elasticsearch</code>
 
 
* <code>[[helm install kibana elastic/kibana]]</code>
 
* <code>[[helm install kibana elastic/kibana]]</code>
  

Latest revision as of 17:39, 30 November 2023

Example Nov 2023[edit]

helm install elasticsearch elastic/elasticsearch
NAME: elasticsearch
LAST DEPLOYED: Thu Nov 30 18:38:00 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Watch all cluster members come up.
  $ kubectl get pods --namespace=default -l app=elasticsearch-master -w
2. Retrieve elastic user's password.
  $ kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d
3. Test cluster health using Helm test.
  $ helm --namespace=default test elasticsearch

Example Sep 2022[edit]

helm install elasticsearch elastic/elasticsearch
helm install elasticsearch elastic/elasticsearch
NAME: elasticsearch
LAST DEPLOYED: Tue Sep 20 17:15:38 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Watch all cluster members come up.
  $ kubectl get pods --namespace=default -l app=elasticsearch-master -w2. Test cluster health using Helm test.
  $ helm --namespace=default test elasticsearch

Configuration options[edit]

Changing values[edit]

Related[edit]

See also[edit]

Advertising: