LFS258 - Lab 3.1 Step 18 - "could not bootstrap the admin user in file admin.conf"
Hello everyone,
I'm following the instructions for lab 3.1 - Install Kubernetes, running the instruction commands one by one on the Hosted Environment. I am facing an error on Step 18, when running this command:
kubeadm init \
--config=kubeadm-config.yaml \
--upload-certs \
--node-name=cp \
| tee kubeadm-init.out
The error message is:
I tried running this command to see more information:
kubeadm init \
--config=/root/kubeadm-config.yaml \
--upload-certs \
--node-name=cp \
--v=5
And saw:
Any insights would be much appreciated. Thank you so much!
Answers
-
Hi @geckogecko
What course are you enrolled in? This post seems to be in the wrong forum.
Regards,
Flavia0 -
Hello @fcioanca ,
Thank you for checking the post. I am taking LFS258. My apologies for posting in the wrong place, I tried to select the correct category but it said LFS258 was "Archived".
0 -
Hi @geckogecko
We have reorganized forums a couple of days ago, and each course has been updated with the new forum link and best practices on how to use the forums. To avoid duplication, old forums have been archived.
Regards,
Flavia0 -
Hi @geckogecko,
The second round of errors you posted are expected. The
kubeadm initcommand is meant to be executed only once. Any subsequent runs (even for the purpose of troubleshooting with the--voption) will result in conflict errors.If
kubeadm initorjoinneeds to be executed a second time (assuming corrections were made to the environment, its config file, or its options/flags) then akubeadm resetshould be executed first, to cleanup the environment.The first error could be related to misconfigured kubeadm manifest, or incorrect IP addresses populated in the
hostsfile.When attempting the exercise again, pay close attention to step descriptions, to ensure proper values are used to configure your node environment. Document your configuration files as you make progress, so if the issues persist, you can provide them to help us identify the root cause of the first error.
Regards,
-Chris0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 4 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
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 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
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 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)
