Skip to content

Commit bbc4f32

Browse files
committed
Fix: replace custom parameters with placeholders for succinctness
1 parent ae4adcd commit bbc4f32

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nginx-utils/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ Benefits:
1111
# Usage
1212
#### The command to start the debug container using the nginx-utils image version `ghcr.io/nginx/nginx-utils:v0.0.1-docker`:
1313
```
14-
ns=v4nic-0
15-
pod=$(kubectl get po -n $ns -o name | awk -F '/' '{print $2}')
16-
kubectl -n $ns debug -it $pod --image=ghcr.io/nginx/nginx-utils:latest --target=nginx-ingress
14+
kubectl -n <namespace> debug -it <nic-pod-name> --image=ghcr.io/nginx/nginx-utils:latest --target=nginx-ingress
1715
```
1816

1917
Please refer to the [nginx-utils packages page](https://github.com/nginx/nginx-supportpkg-for-k8s/pkgs/container/nginx-utils) for versions.
2018

2119
--------------
2220
#### Example usage of `api_stats.sh` found in the container:
2321
```
24-
kubectl -n $ns debug -it $pod --image=ghcr.io/nginx/nginx-utils:latest --target=nginx-ingress
22+
kubectl -n <namespace> debug -it <nic-pod-name> --image=ghcr.io/nginx/nginx-utils:latest --target=nginx-ingress
2523
2624
v4nic-0-nginx-ingress-controller-854796ff97-hhkk5:~# ls
2725
api_stats.sh memory_stats.sh

0 commit comments

Comments
 (0)