Lab 2.2-2.3 DNS Loss
Issue:
When following the steps of this course to setup kubernetes cluster, the VM's are sabotaged by the scripts provided by this course, which damage/disable default DNS.
Steps to replicate:
-Setup VM's in designated environment (Ubuntu 18.04)
-VM's have good DNS, can ping www.google.com or each by master / minion hostname
-Run scripts for LFD259/SOLUTIONS/s_02/k8sMaster.sh and k8sSecond.sh to setup master and minion nodes
-No DNS
At this point I lose all DNS, preventing any further use of the course. I cannot get the Nginx image in lab 2.3 because that will not communicate with the image repository. I'm really not sure what to do to further investigate this or what is triggering this issue and would appreciate assistance.
Comments
-
Hi @nkerr,
Where are you setting up your VMs - which cloud or which local hypervisor are you using for the lab environment?
Regards,
-Chris0 -
Hi @chrispokorni,
The VM's are setup on VMware esxi 5.50 -
Hi @nkerr,
The installation and cluster bootstrapping scripts are not modifying the host DNS configuration. I am assuming that Calico may have something to do with that, instead of Kubernetes itself.
- Can you compare the
/etc/resolv.confof a new host (pre-install) with a node (post-install)? Does adding the missing/removed config options help fix your DNS? - Also, there is an earlier discussion in the forum which may also help.
Regards,
-Chris1 - Can you compare the
-
@chrispokorni
Thanks for your response. There is no change in the/etc/resolv.conffile before/after installation.
To correct my initial statement, it seems installation doesn't have an effect, after further testing the DNS doesn't fail until I run thekubeadmn joincommand.
I am still investigating regarding the other discussion you mentioned.0 -
@chrispokorni
The earlier discussions conclusion regardingSwitching from IP-in-IP to VXLANseems to have resolved everything. Thanks again.0 -
please delete . thx
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)
