diff --git a/modules/ROOT/pages/kubernetes/quickstart-cluster/access-inside-k8s.adoc b/modules/ROOT/pages/kubernetes/quickstart-cluster/access-inside-k8s.adoc index a1a8ac22e..09290fe5d 100644 --- a/modules/ROOT/pages/kubernetes/quickstart-cluster/access-inside-k8s.adoc +++ b/modules/ROOT/pages/kubernetes/quickstart-cluster/access-inside-k8s.adoc @@ -14,8 +14,8 @@ You run `cypher-shell` in a new pod and point it directly to one of the servers. + [source, shell, subs="attributes"] ---- -kubectl run --rm -it --image "neo4j:{neo4j-version-exact}-enterprise" cypher-shell \ - -- cypher-shell -a "neo4j://server-3.default.svc.cluster.local:7687" -u neo4j -p "my-password" +kubectl run --rm -it --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes --image "neo4j:{neo4j-version-exact}-enterprise" cypher-shell \ + -- cypher-shell -a "neo4j://server-3.neo4j.svc.cluster.local:7687" -u neo4j -p "my-password" ---- + [source, result, subs="attributes", role=nocopy] @@ -23,7 +23,7 @@ kubectl run --rm -it --image "neo4j:{neo4j-version-exact}-enterprise" cypher-she If you don't see a command prompt, try pressing enter. -Connected to Neo4j using Bolt protocol version {neo4j-version} at neo4j://server-3.default.svc.cluster.local:7687 as user neo4j. +Connected to Neo4j using Bolt protocol version {neo4j-version} at neo4j://server-3.neo4j.svc.cluster.local:7687 as user neo4j. Type :help for a list of available commands or :exit to exit the shell. Note that Cypher queries must end with a semicolon. ----