运行 "minikube addons enable ingress" 时未创建 Ingress Controller

The Ingress Controller is not created when running the "minikube addons enable ingress"

我在 Windows10 上安装了 minikube,我正在尝试使用 Ingress Controller

我在做:

$ minikube addons enable ingress

* After the addon is enabled, please run "minikube tunnel" and your ingress resources would be available at "127.0.0.1"
  - Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
  - Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
  - Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
* Verifying ingress addon...
* The 'ingress' addon is enabled

minikube addons list

 minikube addons list
|-----------------------------|----------|--------------|
|         ADDON NAME          | PROFILE  |    STATUS    |
|-----------------------------|----------|--------------|
| ambassador                  | minikube | disabled     |
| auto-pause                  | minikube | disabled     |
| csi-hostpath-driver         | minikube | disabled     |
| dashboard                   | minikube | disabled     |
| default-storageclass        | minikube | enabled ✅   |
| efk                         | minikube | disabled     |
| freshpod                    | minikube | disabled     |
| gcp-auth                    | minikube | disabled     |
| gvisor                      | minikube | disabled     |
| helm-tiller                 | minikube | disabled     |
| ingress                     | minikube | enabled ✅   |
| ingress-dns                 | minikube | disabled     |
| istio                       | minikube | disabled     |
| istio-provisioner           | minikube | disabled     |
| kubevirt                    | minikube | disabled     |
| logviewer                   | minikube | disabled     |
| metallb                     | minikube | disabled     |
| metrics-server              | minikube | disabled     |
| nvidia-driver-installer     | minikube | disabled     |
| nvidia-gpu-device-plugin    | minikube | disabled     |
| olm                         | minikube | disabled     |
| pod-security-policy         | minikube | disabled     |
| registry                    | minikube | disabled     |
| registry-aliases            | minikube | disabled     |
| registry-creds              | minikube | disabled     |
| storage-provisioner         | minikube | enabled ✅   |
| storage-provisioner-gluster | minikube | disabled     |
| volumesnapshots             | minikube | disabled     |
|-----------------------------|----------|--------------|

注意: 我 运行 minikube tunnel 启用插件后

但是在任何地方都看不到 nginx 控制器:

$ kubectl get pods -n kube-system

NAME                               READY   STATUS    RESTARTS   AGE
coredns-74ff55c5b-8gkwj            1/1     Running   0          2m35s
etcd-minikube                      1/1     Running   0          2m48s
kube-apiserver-minikube            1/1     Running   0          2m48s
kube-controller-manager-minikube   1/1     Running   0          2m48s
kube-proxy-jq4wm                   1/1     Running   0          2m35s
kube-scheduler-minikube            1/1     Running   0          2m48s
storage-provisioner                1/1     Running   2          2m47s

$ kubectl get pods

No resources found in default namespace.

正如评论中已经讨论的那样,Ingress Controller 将在 ingress-nginx 命名空间而不是 kube-system 命名空间中创建。除此之外,教程的其余部分应该按预期工作。