need some help with Lab 13.3 Configure the Dashboard
andres@kubecp1:~$ kubectl top nodes
NAME CPU(cores) CPU% MEMORY(bytes) MEMORY%
kubecp1 147m 7% 2163Mi 27%
worker1 95m 4% 2058Mi 26%
andres@kubecp1:~$
instructions are QUITE messy, especially for someone who is NOT an expert in Linux.. or git or anything..
Search https://artifacthub.io/ for thehelmorganization and thekubernetes-dashboardchart
.2. Fetch the chart and edit thevalues.yamlfile.
ok I search for that
https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard
in that article I found
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard
run both it seems that the pod was installed
andres@kubecp1:~$ cd
andres@kubecp1:~$ helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
"kubernetes-dashboard" has been added to your repositories
andres@kubecp1:~$ helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard
NAME: kubernetes-dashboard
LAST DEPLOYED: Tue Mar 28 04:27:39 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
*** PLEASE BE PATIENT: kubernetes-dashboard may take a few minutes to install ***
Get the Kubernetes Dashboard URL by running:
export POD_NAME=$(kubectl get pods -n default -l "app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/instance=kubernetes-dashboard" -o jsonpath="{.items[0].metadata.name}")
echo https://127.0.0.1:8443/
kubectl -n default port-forward $POD_NAME 8443:8443
andres@kubecp1:~$ kubectl get serviceaccounts
NAME SECRETS AGE
default 0 8d
kubernetes-dashboard 0 33s
myingress-ingress-nginx 0 23h
checked my ip:8443, but it didn't work, of course I haven't modify any value.yaml, becusea there was NONE!
search for values.yaml nothing found back to https://artifacthub.io/ and found the the values.yaml
edit the file and follow the instructions on that website BECAUSE THERE IS NOT A SINGLE STEP ON HOW TO INSTALLED on the training instrucction
helm install kubernetes-dashboard/kubernetes-dashboard --name kubernetes-dashboard -f values.yaml
error
helm install kubernetes-dashboard/kubernetes-dashboard --name kubernetes-dashboard -f values.yaml
Error: unknown flag: --name
andres@kubecp1:~$
checked with
helm install kubernetes-dashboard/kubernetes-dashboard -name kubernetes-dashboard -f values.yaml
still not working, tried different stuff but the same not working
the solution will be on the Solution.tar file, guess what nothing for lab 13.. awesome..
Search on the forum, there are many many topics regarding problems with the dashboard..
Could you please be kind and put the steps that we need to follow, please DO NOT assume that we know the steps (because as you guess most of us we are still learning! and ENGLISH is not our first language I know that's not your fault, but try to explain a bit more please again search for lab 13.3 and you will see they are many post
now I tried to reinstall everything but I got tons of errors that I won't troubleshoot, I will probably leave this incomplete because I have no clue how to fix it .
I've tried to remove the deployment, but when I try to install it again it fails
instructions 1 to 4 are DEFINITELY not clear
Comments
-
The enrollment page for LFS258 - Kubernetes Fundamentals does list the following:
Prerequisites
Before starting this course, you should be familiar with:- Linux concepts and command line – We recommend Introduction to Linux, a free edX course
- Package managers
- Git and GitHub
- We recommend Introduction to Kubernetes, a free edX course, as a good start for your Kubernetes journey
For the dashboard installation, I encourage you to revisit Lab exercise 10.1 for helm installation steps, how to add a desired repository, fetch/pull and untar a chart, edit the values.yaml file of a chart, install and uninstall a release. These will be the steps needed for the kubernetes-dashboard installation.
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
- 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
- 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
- 984 Software
- 376 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)