Difference between revisions of "Helm install elasticsearch elastic/elasticsearch --set replicas=2"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  [[helm install elasticsearch]] elastic/elasticsearch [[--set]] [[replicas]]=2
 
  [[helm install elasticsearch]] elastic/elasticsearch [[--set]] [[replicas]]=2
<pre>
+
 
NAME: elasticsearch
+
NAME: elasticsearch
LAST DEPLOYED: Thu Nov 30 18:46:08 2023
+
LAST DEPLOYED: Thu Nov 30 18:46:08 2023
NAMESPACE: default
+
NAMESPACE: default
STATUS: deployed
+
STATUS: deployed
REVISION: 1
+
REVISION: 1
NOTES:
+
NOTES:
1. Watch all cluster members come up.
+
1. Watch all cluster members come up.
  $ kubectl get pods --namespace=default -l app=elasticsearch-master -w
+
  $ [[kubectl get pods --namespace=default -l app=elasticsearch-master]] -w
2. Retrieve elastic user's password.
+
2. Retrieve elastic user's password.
  $ kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d
+
  $ kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d
3. Test cluster health using Helm test.
+
3. Test cluster health using Helm test.
  $ helm --namespace=default test elasticsearch
+
  $ helm --namespace=default test elasticsearch
</pre>
 
  
  

Revision as of 17:50, 30 November 2023

helm install elasticsearch elastic/elasticsearch --set replicas=2
NAME: elasticsearch
LAST DEPLOYED: Thu Nov 30 18:46:08 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


Related

CRITICAL

See also

Advertising: