Skip to content

Commit fb822d2

Browse files
VajiraPrabuddhakaMirage20
authored andcommitted
Fix pkill command for kubectl port-forward process termination
1 parent 4cff64c commit fb822d2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/getting-started/multi-cluster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ kubectl port-forward -n openchoreo-control-plane svc/backstage-demo 7007:7007 --
373373
# Then access in browser at http://localhost:7007
374374

375375
# To stop the port-forward when done:
376-
pkill -f "kubectl port-forward.*backstage-demo.*7007:7007"
376+
pkill -f "kubectl.*port-forward.*backstage-demo.*7007:7007"
377377
```
378378

379379
You can verify the portal is working correctly with curl:

docs/getting-started/single-cluster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ kubectl port-forward -n openchoreo-control-plane svc/backstage-demo 7007:7007 >
317317
# Then access in browser at http://localhost:7007
318318

319319
# To stop the port-forward when done:
320-
pkill -f "kubectl port-forward.*backstage-demo.*7007:7007"
320+
pkill -f "kubectl.*port-forward.*backstage-demo.*7007:7007"
321321
```
322322

323323
You can verify the portal is working correctly with curl:

versioned_docs/version-v0.3.x/getting-started/multi-cluster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ kubectl port-forward -n openchoreo-control-plane svc/backstage-demo 7007:7007 --
373373
# Then access in browser at http://localhost:7007
374374

375375
# To stop the port-forward when done:
376-
pkill -f "kubectl port-forward.*backstage-demo.*7007:7007"
376+
pkill -f "kubectl.*port-forward.*backstage-demo.*7007:7007"
377377
```
378378

379379
You can verify the portal is working correctly with curl:

versioned_docs/version-v0.3.x/getting-started/single-cluster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ kubectl port-forward -n openchoreo-control-plane svc/backstage-demo 7007:7007 >
317317
# Then access in browser at http://localhost:7007
318318

319319
# To stop the port-forward when done:
320-
pkill -f "kubectl port-forward.*backstage-demo.*7007:7007"
320+
pkill -f "kubectl.*port-forward.*backstage-demo.*7007:7007"
321321
```
322322

323323
You can verify the portal is working correctly with curl:

0 commit comments

Comments
 (0)