File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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
1917Please 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
2624v4nic-0-nginx-ingress-controller-854796ff97-hhkk5:~# ls
2725api_stats.sh memory_stats.sh
You can’t perform that action at this time.
0 commit comments