diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 551b7f5d79..d4fbfaf839 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,8 +24,8 @@ A clear and concise description of what you expected to happen. * Version of Kubernetes * Kubernetes platform (e.g. Mini-kube or GCP) * Details on how you expose the NGINX Gateway Fabric Pod (e.g. Service of type LoadBalancer or port-forward) -* Logs of NGINX container: `kubectl -n nginx-gateway logs -l app=nginx-gateway -c nginx` -* NGINX Configuration: `kubectl -n nginx-gateway exec -c nginx -- nginx -T` +* Logs of NGINX container: `kubectl -n logs deployments/` +* NGINX Configuration: `kubectl -n exec -it deployments/ -- nginx -T` **Additional context** Add any other context about the problem here. Any log files you want to share. diff --git a/docs/developer/testing.md b/docs/developer/testing.md index daae07ee6a..bc19f145cb 100644 --- a/docs/developer/testing.md +++ b/docs/developer/testing.md @@ -69,19 +69,19 @@ Follow the steps below for manual testing: - Logs of the `nginx-gateway` container. Look out for unexpected error logs or panics. ```shell - kubectl -n nginx-gateway logs -c nginx-gateway + kubectl -n nginx-gateway logs ``` - Logs of the `nginx` container. Look for unexpected error logs and verify the access logs are correct. ```shell - kubectl -n logs -c nginx + kubectl -n logs ``` - The generated nginx config. Make sure it's correct. ```shell - kubectl exec -it -n -c nginx -- nginx -T + kubectl exec -it -n -- nginx -T ``` - The statuses of the Gateway API Resources. Make sure they look correct.