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
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 47 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 775 Linux Distributions
- 83 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 175 Mobile Computing
- 32 Android
- 128 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 730 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 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)
