7.1.15 No pods showing up
kubectl get pod --all-namespaces |grep nginx
Does not show any pods. Then when I run
kubectl create -f ingress.yaml
i get the following error
Error from server (InternalError): error when creating "ingress.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://myingress-ingress-nginx-controller-admission.default.svc:443/networking/v1/ingresses?timeout=10s": dial tcp 10.100.32.57:443: connect: connection refused
Comments
-
Did you execute the step 14 "helm install myingress ." (Note there is a . (dot/period) at the end of the command).? If not, then please retry the step 14 and rerun the commands you should be fine.
0 -
Yes I did, it started the service but not the pods
0 -
Hi @mikaelohlsson,
I am wondering about the overall state of your cluster.
What are the outputs of:kubectl get nodes -o wide kubectl get pods -A -o wide kubectl get deployments -A kubectl get daemonsets -A
Regards,
-Chris0 -
ubuntu@ip-172-31-24-56:~$ kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ip-172-31-19-196 Ready 7d14h v1.31.1 172.31.19.196 Ubuntu 24.04.1 LTS 6.8.0-1016-aws containerd://1.7.22
ip-172-31-24-56 Ready control-plane 7d14h v1.31.1 172.31.24.56 Ubuntu 24.04.1 LTS 6.8.0-1016-aws containerd://1.7.22ubuntu@ip-172-31-24-56:~$ kubectl get pods -A -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
default broken-58f89b548f-qq74l 1/1 Running 1 (3m46s ago) 41h 10.0.1.118 ip-172-31-19-196
default nginx 1/1 Running 1 (3m46s ago) 45h 10.0.1.241 ip-172-31-19-196
default registry-666dd8b56f-4kmr5 1/1 Running 5 (3m46s ago) 7d14h 10.0.1.10 ip-172-31-19-196
default second 2/2 Running 5 (3m46s ago) 44h 10.0.1.150 ip-172-31-19-196
default troubleshoot-6d76676cdf-ptjmm 1/1 Running 1 (3m46s ago) 42h 10.0.1.22 ip-172-31-19-196
default webtwo 1/1 Running 1 (3m46s ago) 45h 10.0.1.192 ip-172-31-19-196
kube-system cilium-8htjz 1/1 Running 7 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system cilium-bfzwr 1/1 Running 5 (3m46s ago) 7d14h 172.31.19.196 ip-172-31-19-196
kube-system cilium-envoy-6wfp9 1/1 Running 5 (3m46s ago) 7d14h 172.31.19.196 ip-172-31-19-196
kube-system cilium-envoy-qdtnc 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system cilium-operator-5c7867ccd5-dthzk 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system coredns-7c65d6cfc9-5dxrl 1/1 Running 7 (3m46s ago) 7d14h 10.0.0.188 ip-172-31-24-56
kube-system coredns-7c65d6cfc9-gj4gp 1/1 Running 7 (3m46s ago) 7d14h 10.0.0.13 ip-172-31-24-56
kube-system etcd-ip-172-31-24-56 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system kube-apiserver-ip-172-31-24-56 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system kube-controller-manager-ip-172-31-24-56 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system kube-proxy-jvkz6 1/1 Running 5 (3m46s ago) 7d14h 172.31.19.196 ip-172-31-19-196
kube-system kube-proxy-w9q7f 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kube-system kube-scheduler-ip-172-31-24-56 1/1 Running 8 (3m46s ago) 7d14h 172.31.24.56 ip-172-31-24-56
kubectl-8039 update-demo-nautilus-4dncx 1/1 Running 1 (3m46s ago) 40h 10.0.1.27 ip-172-31-19-196
kubectl-8039 update-demo-nautilus-p98nl 1/1 Running 1 40h 10.0.1.130 ip-172-31-19-196
linkerd-viz metrics-api-8448d5b8f8-fgjw8 2/2 Running 4 (81s ago) 44h 10.0.1.1 ip-172-31-19-196
linkerd-viz prometheus-674cc7b6d5-qgc2m 2/2 Running 2 (3m46s ago) 44h 10.0.1.142 ip-172-31-19-196
linkerd-viz tap-85c5f5dcb-m6rkw 2/2 Running 3 (104s ago) 44h 10.0.1.86 ip-172-31-19-196
linkerd-viz tap-injector-d79586df-bfzhx 2/2 Running 2 (3m46s ago) 44h 10.0.1.77 ip-172-31-19-196
linkerd-viz web-7bc7b85ccb-l5qjc 2/2 Running 2 (3m46s ago) 44h 10.0.1.24 ip-172-31-19-196
linkerd linkerd-destination-6bd54f5c54-jd84x 4/4 Running 4 (3m46s ago) 44h 10.0.1.214 ip-172-31-19-196
linkerd linkerd-identity-7849f4b847-7r2qw 2/2 Running 2 (3m46s ago) 44h 10.0.1.32 ip-172-31-19-196
linkerd linkerd-proxy-injector-6886d84cf6-htx2m 2/2 Running 2 (3m46s ago) 44h 10.0.1.161 ip-172-31-19-196
multitenant mainapp-5489f85574-9v9pj 2/2 Running 2 (3m46s ago) 44h 10.0.1.148 ip-172-31-19-196
multitenant mainapp-5489f85574-js98n 2/2 Running 2 (3m46s ago) 44h 10.0.1.70 ip-172-31-19-196
multitenant mainapp-5489f85574-kpmz5 2/2 Running 2 (3m46s ago) 44h 10.0.1.149 ip-172-31-19-196
multitenant mainapp-5489f85574-lgrrf 2/2 Running 2 (3m46s ago) 44h 10.0.1.82 ip-172-31-19-196
multitenant mainapp-5489f85574-ljfmh 2/2 Running 2 (3m46s ago) 44h 10.0.1.134 ip-172-31-19-196
sonobuoy sonobuoy 0/1 Unknown 0 41h ip-172-31-19-196
sonobuoy sonobuoy-e2e-job-e8ad6fe12ad344ff 0/2 Unknown 0 41h ip-172-31-19-196
sonobuoy sonobuoy-systemd-logs-daemon-set-dd4302d4569a47d3-24sbv 2/2 Running 2 (3m46s ago) 41h 172.31.24.56 ip-172-31-24-56
sonobuoy sonobuoy-systemd-logs-daemon-set-dd4302d4569a47d3-pltzz 1/2 CrashLoopBackOff 4 (20s ago) 41h 172.31.19.196 ip-172-31-19-1960 -
ubuntu@ip-172-31-24-56:~$ kubectl get deployments -A
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
default broken 1/1 1 1 41h
default registry 1/1 1 1 7d14h
default troubleshoot 1/1 1 1 42h
kube-system cilium-operator 1/1 1 1 7d14h
kube-system coredns 2/2 2 2 7d14h
linkerd-viz metrics-api 1/1 1 1 44h
linkerd-viz prometheus 1/1 1 1 44h
linkerd-viz tap 1/1 1 1 44h
linkerd-viz tap-injector 1/1 1 1 44h
linkerd-viz web 1/1 1 1 44h
linkerd linkerd-destination 1/1 1 1 44h
linkerd linkerd-identity 1/1 1 1 44h
linkerd linkerd-proxy-injector 1/1 1 1 44h
multitenant mainapp 5/5 5 5 44hubuntu@ip-172-31-24-56:~$ kubectl get daemonsets -A
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system cilium 2 2 2 2 2 kubernetes.io/os=linux 7d14h
kube-system cilium-envoy 2 2 2 2 2 kubernetes.io/os=linux 7d14h
kube-system kube-proxy 2 2 2 2 2 kubernetes.io/os=linux 7d14h
sonobuoy sonobuoy-systemd-logs-daemon-set-dd4302d4569a47d3 2 2 2 2 2 kubernetes.io/os=linux 41h0 -
ubuntu@ip-172-31-24-56:~$ k get all
NAME READY STATUS RESTARTS AGE
pod/broken-58f89b548f-qq74l 1/1 Running 1 (7m19s ago) 41h
pod/nginx 1/1 Running 1 (7m19s ago) 45h
pod/registry-666dd8b56f-4kmr5 1/1 Running 5 (7m19s ago) 7d14h
pod/second 2/2 Running 5 (7m19s ago) 44h
pod/troubleshoot-6d76676cdf-ptjmm 1/1 Running 1 (7m19s ago) 42h
pod/webtwo 1/1 Running 1 (7m19s ago) 45hNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 443/TCP 7d14h
service/myingress-ingress-nginx-controller NodePort 10.101.46.219 80:31989/TCP,443:31066/TCP 42h
service/myingress-ingress-nginx-controller-admission ClusterIP 10.101.211.22 443/TCP 42h
service/registry ClusterIP 10.97.40.62 5000/TCP 7d14h
service/secondapp LoadBalancer 10.99.95.69 80:32000/TCP 44h
service/webone-svc ClusterIP 10.104.73.208 80/TCP 45h
service/webtwo-svc ClusterIP 10.109.28.90 80/TCP 45hNAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/broken 1/1 1 1 41h
deployment.apps/registry 1/1 1 1 7d14h
deployment.apps/troubleshoot 1/1 1 1 42hNAME DESIRED CURRENT READY AGE
replicaset.apps/broken-58f89b548f 1 1 1 41h
replicaset.apps/registry-666dd8b56f 1 1 1 7d14h
replicaset.apps/troubleshoot-6d76676cdf 1 1 1 42h0 -
Hi @mikaelohlsson,
You are correct, the myingress services are deployed but you have no endpoints because the expected DaemonSet is not deployed. You need to revisit Step 4 and edit the
values.yaml
manifest to set the expected controller -DaemonSet
around line 218 prior to deploying the myingress release.Regards,
-Chris0 -
I had misspelled itThanks
0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 788 Linux Foundation IT Professional Programs
- 352 Cloud Engineer IT Professional Program
- 177 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 146 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.1K Training Courses
- 46 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 36 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 693 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 144 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 4 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 25 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 130 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 150 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 370 Off Topic
- 114 Introductions
- 173 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 96 All In Program
- 96 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)