Skip to content

Commit

Permalink
Update quickstart (elastic#1307) (elastic#1328)
Browse files Browse the repository at this point in the history
* Update the name of the secret for the elastic user
* Bump the Elastic Stack version from 7.1.0 to 7.2.0
  • Loading branch information
thbkrkr authored Jul 22, 2019
1 parent 919dc5c commit 50a9c90
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/k8s-quickstart.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ kind: Elasticsearch
metadata:
name: quickstart
spec:
version: 7.1.0
version: 7.2.0
nodes:
- nodeCount: 1
config:
Expand All @@ -79,7 +79,7 @@ kubectl get elasticsearch
[source,sh]
----
NAME HEALTH NODES VERSION PHASE AGE
quickstart green 1 7.1.0 Operational 1m
quickstart green 1 7.2.0 Operational 1m
----

When you create the cluster, there is no `HEALTH` status and the `PHASE` is `Pending`. After a while, the `PHASE` turns into `Operational`, and `HEALTH` becomes `green`.
Expand Down Expand Up @@ -126,7 +126,7 @@ A default user named `elastic` is automatically created. Its password is stored
+
[source,sh]
----
PASSWORD=$(kubectl get secret quickstart-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode)
PASSWORD=$(kubectl get secret quickstart-es-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode)
----

. Request the Elasticsearch endpoint.
Expand Down Expand Up @@ -161,7 +161,7 @@ NOTE: For testing purposes only, you can specify the `-k` option to turn off cer
"cluster_name" : "quickstart",
"cluster_uuid" : "XqWg0xIiRmmEBg4NMhnYPg",
"version" : {
"number" : "7.1.0",
"number" : "7.2.0",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "04116c9",
Expand Down Expand Up @@ -191,7 +191,7 @@ kind: Kibana
metadata:
name: quickstart
spec:
version: 7.1.0
version: 7.2.0
nodeCount: 1
elasticsearchRef:
name: quickstart
Expand Down Expand Up @@ -236,7 +236,7 @@ Login with the `elastic` user. Retrieve its password with:
+
[source,sh]
----
echo $(kubectl get secret quickstart-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode)
echo $(kubectl get secret quickstart-es-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode)
----

[float]
Expand All @@ -255,7 +255,7 @@ kind: Elasticsearch
metadata:
name: quickstart
spec:
version: 7.1.0
version: 7.2.0
nodes:
- nodeCount: 3
config:
Expand All @@ -281,7 +281,7 @@ kind: Elasticsearch
metadata:
name: quickstart
spec:
version: 7.1.0
version: 7.2.0
nodes:
- nodeCount: 3
config:
Expand Down

0 comments on commit 50a9c90

Please sign in to comment.