Skip to content

Commit c7442a3

Browse files
authored
Merge pull request #54637 from xenolinux/replace-kubectl
Replace `kubectl` with `oc`
2 parents 73165b9 + 18a5052 commit c7442a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/creating-instance-aws-load-balancer-controller.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ spec:
7171
spec:
7272
containers:
7373
- image: openshift/origin-node
74+
command:
75+
- "/bin/socat"
7476
args:
7577
- TCP4-LISTEN:8080,reuseaddr,fork
7678
- EXEC:'/bin/bash -c \"printf \\\"HTTP/1.0 200 OK\r\n\r\n\\\"; sed -e \\\"/^\r/q\\\"\"'
@@ -139,7 +141,7 @@ spec:
139141
+
140142
[source,terminal]
141143
----
142-
$ HOST=$(kubectl get ingress -n echoserver echoserver -o json | jq -r '.status.loadBalancer.ingress[0].hostname')
144+
$ HOST=$(oc get ingress -n echoserver echoserver --template='{{(index .status.loadBalancer.ingress 0).hostname}}')
143145
----
144146
145147
* Verify the status of the provisioned AWS Load Balancer (ALB) host by running the following command:

0 commit comments

Comments
 (0)