Skip to content

Commit 7812a06

Browse files
committed
Update the command for running cypher shell in a pod
1 parent f8ee272 commit 7812a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ROOT/pages/kubernetes/quickstart-cluster/access-inside-k8s.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ You run `cypher-shell` in a new pod and point it directly to one of the servers.
1414
+
1515
[source, shell, subs="attributes"]
1616
----
17-
kubectl run --rm -it --image "neo4j:{neo4j-version-exact}-enterprise" cypher-shell \
18-
-- cypher-shell -a "neo4j://server-3.default.svc.cluster.local:7687" -u neo4j -p "my-password"
17+
kubectl run --rm -it --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes --image "neo4j:{neo4j-version-exact}-enterprise" cypher-shell \
18+
-- cypher-shell -a "neo4j://server-3.neo4j.svc.cluster.local:7687" -u neo4j -p "my-password"
1919
----
2020
+
2121
[source, result, subs="attributes", role=nocopy]

0 commit comments

Comments
 (0)