Skip to content

Commit 6d7538e

Browse files
Update docs/server-admin-4.8/modules/operator/pages/introduction-to-nomad-cluster-operation.adoc
Co-authored-by: Rosie Yohannan <rosie@circleci.com>
1 parent 3f5d3d8 commit 6d7538e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/server-admin-4.8/modules/operator/pages/introduction-to-nomad-cluster-operation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ export NOMAD_ADDR=$(kubectl get svc nomad-server -o jsonpath='{.spec.clusterIP}'
101101

102102
. To port-forward to the Nomad service, set up a lightweight tunnelling mechanism within the cluster as follows:
103103
+
104-
[source,bash]
104+
[source,console]
105105
----
106-
kubectl run nomad-tunnel --rm -it --restart=Never --image=alpine/socat -n <server-namespace> -- TCP-LISTEN:4646,fork,reuseaddr TCP:$NOMAD_ADDR:4646
106+
$ kubectl run nomad-tunnel --rm -it --restart=Never --image=alpine/socat -n <server-namespace> -- TCP-LISTEN:4646,fork,reuseaddr TCP:$NOMAD_ADDR:4646
107107
----
108108

109109
. In another terminal, run the following command to set up port forwarding:

0 commit comments

Comments
 (0)