LFD259 Exercise 7.2, Step 15: ingress-controller pods not being created
Hello everybody,
I'm running into issues on LFD259 Exercise 7.2, 'Service Mesh and Ingress Controller,' Step 15. The command helm install myingress . went as expected, installing myingress in the default namespace (the output clearly says so). The service 'secondapp' is configured as a LoadBalancer on 80:32000/TCP, as outlined in the lab.
Here is what I am seeing:
myhostname@cp:~/app2/ingress-nginx$ helm install myingress . NAME: myingress LAST DEPLOYED: Thu Jun 8 21:46:28 2023 NAMESPACE: default STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: The ingress-nginx controller has been installed. ... myhostname@cp:~$ kubectl get ingress --all-namespaces No resources found myhostname@cp:~$ kubectl --namespace default get services -o wide myingress-ingress-nginx-controller NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR myingress-ingress-nginx-controller LoadBalancer 10.96.9.110 <pending> 80:30795/TCP,443:31467/TCP 17m app.kubernetes.io/component=controller,app.kubernetes.io/instance=myingress,app.kubernetes.io/name=ingress-nginx myhostname@cp:~$ kubectl get pod --all-namespaces | grep nginx default nginx-79ff9c85db-pcf9v 1/1 Running 0 2d4h myhostname@cp:~$
As you can see, the two 'myingress-ingress-nginx-controller-xxxxx' pods do not exist.
What is the issue likely to be, and how can I fix it?
I am using one cp node and one worker node on GCE using the standard lab setup described in the videos: Ubuntu 20.04.6 LTS (on x86_64 machines), kubectl/kubeadm v1.27.1, and Linkerd 2.12.2. I'm following lab manual V2023-05-31. I think the only deviation I made from the instructions was at step 1 of Exercise 7.2, in which I exported a PATH using my actual hostname instead of 'student' because it looked like there was a typo in the lab. I used this:
export PATH=$PATH:/home/<hostname>/.linkerd2/bin
Linkerd appears to be running fine, as I can see the dashboard and all the appropriate links.
I have tried uninstalling and reinstalling the helm chart, but that did not fix the problem.
Thanks
Answers
-
I have figured-out what caused this behavior: when editing the 'values.yaml' file in step 13, I entered 'Daemonset' instead of 'DaemonSet'. After correcting this and reinstalling 'myingress' using helm, the two missing 'myingress-ingress-nginx-controller-xxxxx' pods appeared. Problem solved.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 754 Linux Foundation IT Professional Programs
- 374 Cloud Engineer IT Professional Program
- 170 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 5 DevOps & GitOps IT Professional Program
- 100 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 2 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 794 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 89 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 112 Mobile Computing
- 20 Android
- 77 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 393 Off Topic
- 121 Introductions
- 182 Small Talk
- 29 Study Material
- 977 Programming and Development
- 310 Kernel Development
- 649 Software Development
- 990 Software
- 382 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class 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)