From 5c98c93f0f36bdcc0d02a0b93a3ffdf400e70851 Mon Sep 17 00:00:00 2001 From: Long Wu Yuan Date: Sat, 7 Aug 2021 01:09:30 +0530 Subject: [PATCH] added K8s v1.22 tip for kind cluster,bug-report (#7437) --- .github/ISSUE_TEMPLATE/bug_report.md | 25 +++++++++++++++++++++++++ docs/developer-guide/getting-started.md | 1 + 2 files changed, 26 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index ed5a31532..3df73cc6a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -37,7 +37,32 @@ This questions are the first thing we need to know to understand the context. - **OS** (e.g. from /etc/os-release): - **Kernel** (e.g. `uname -a`): - **Install tools**: + - `Please mention how/where was clsuter created like kubeadm/kops/minikube/kind etc. ` +- **Basic cluster related info**: + - `kubectl version` + - `kubectl get nodes -o wide` + +- **How was the ingress-nginx-controller installed**: + - If helm was used then please show output of `helm ls -A` + - If helm was used then please show output of `helm -n get values ` + - If helm was not used, then please explain how the ingress-nginx-controller was installed or copy/paste the command used to install the controller below + - if you have more than one instance of the ingress-nginx-controller installed in the same cluster, please provide details for all the instances + +- **Current State of the controller**: + - `kubectl -n get all -A -o wide` + - `kubectl -n describe po ` + - `kubectl -n describe svc ` + +- **Current state of ingress object, if applicable**: + - `kubectl -n get all,ing -o wide` + - `kubectl -n describe ing ` + - If applicable, then, your complete and exact curl/grpcurl command (redacted if required) and the reponse to the curl/grpcurl command with the -v flag + - **Others**: + - Any other related information like ; + - copy/paste of the snippet (if applicable) + - `kubectl describe ...` of any custom configmap(s) created and in use + - Any other related information that may help **What happened**: diff --git a/docs/developer-guide/getting-started.md b/docs/developer-guide/getting-started.md index eb5e7cae5..2e0c5b26c 100644 --- a/docs/developer-guide/getting-started.md +++ b/docs/developer-guide/getting-started.md @@ -29,6 +29,7 @@ Start a local Kubernetes cluster using [kind](https://kind.sigs.k8s.io/), build ```console make dev-env ``` +- If you are working on the v1.x.x version of this controler, and you want to create a cluster with kubernetes version 1.22, then please visit the [documentation for kind](https://kind.sigs.k8s.io/docs/user/configuration/#a-note-on-cli-parameters-and-configuration-files), and look for how to set a custom image for the kind node (image: kindest/node...), in the kind config file. ### Testing