Lab 13.3 version of helm chart of kubernetes-dashboard

Hi I've been really stacked at Lab 13.3. and Finally solved and understand what was wrong.
[Problem]
Kubernetes dashboard can't displayed properly.
[Brief steps]
1, fetch kubernetes-dashboard charts from https://kubernetes.github.io/dashboard/ based on artifacthub
2. cd to untarred directory modifyed values.yaml and install dashboard $helm install dashboard .
3. Error message came up and stacked.
Error: INSTALLATION FAILED: failed post-install: warning: Hook post-install kubernetes-dashboard/templates/networking/post-install-ingress-issuer.yaml failed: Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://kdash-cert-manager-webhook.default.svc:443/mutate?timeout=10s": dial tcp 10.102.188.86:443: connect: connection refused
- services were up so I accessed to the dashboard but can't displayed anything
I tried various thing including deletion of service,deploymen,pods in previous tasks, but nothing changes. and I found descriptions/explanations on this course are really different from what I'm seeing.
The problem is "Helm chart version" of dashboard. what I used is version 7.0.x, maybe current latest. I fetch ver 5.11.0 (another trainee used on this forum)
$helm pull kubernetes-dashboard/kubernetes-dashboard --version 5.11.0 --untar
and re-installed , then it works.
In order to keep students from confusing , I really appreciate to explain where to be referred as previous labs, and version information in advance. (Really took time to solve. of course this is good experience though.)
Thanks
Comments
-
Hi @m.taniguchi,
In case it did not come up in your search, there is a workaround I provided on a previous discussion thread
https://forum.linuxfoundation.org/discussion/comment/38139/#Comment_38139
Regards,
-Chris1 -
Thanks, in case using dashboard chart v5.11, dashboard doesn't show the charts from metric-server(v0.6.7) 's values. this seems to be similar to the previous post (of course metric server works fine with
kubectl top xxx
).https://forum.linuxfoundation.org/discussion/859748/lab-13-3-charts-on-dashboard
I will also try latest dashboard chart and edit after deployment of it base on the link you gave me.
In case it did not come up in your search, there is a workaround I provided on a previous discussion thread
https://forum.linuxfoundation.org/discussion/comment/38139/#Comment_381390 -
Hi @m.taniguchi,
I attempted to reproduce the dashboard issues reported above, but was not able to do so with dashboard Helm chart versions 7.0.x. None of the installation and configuration recommendations from the chart's home page seemed to help.
However, installing an earlier version of the chart allowed me to see the expected results in the dashboard web UI, while following closely the instructions presented in the lab guide.
I used the following commands to add the repo, fetch and untar the dashboard chart version 6.0.8:
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm pull kubernetes-dashboard/kubernetes-dashboard --version=6.0.8 --untar
Then I made the following changes in values.yaml:
cd $HOME/kubernetes-dashboard
vim values.yaml
service: type: NodePort #<<-- line 145
metricsScraper: enabled: true #<<-- line 260
Installed a release and assigned the desired permissions:
helm install dashboard .
kubectl create clusterrolebinding dashaccess \ --clusterrole=cluster-admin \ --serviceaccount=default:dashboard-kubernetes-dashboard
Regards,
-Chris2 -
Hi, @chrispokorni , Thanks for your support!
I used the following commands to add the repo, fetch and untar the dashboard chart version 6.0.8:
Following your instruction, metrics data have been displayed as expected!
Anyway, I think it was a version sensitive issue. in my case worked with;
- metrics-server: 0.6.7
- dashboard helm chart : 6.0.8
Thanks again your support.
0
Categories
- All Categories
- 51 LFX Mentorship
- 104 LFX Mentorship: Linux Kernel
- 576 Linux Foundation IT Professional Programs
- 304 Cloud Engineer IT Professional Program
- 125 Advanced Cloud Engineer IT Professional Program
- 53 DevOps Engineer IT Professional Program
- 61 Cloud Native Developer IT Professional Program
- 5 Express Training Courses
- 5 Express Courses - Discussion Forum
- 2K Training Courses
- 19 LFC110 Class Forum
- 7 LFC131 Class Forum
- 27 LFD102 Class Forum
- 157 LFD103 Class Forum
- 20 LFD121 Class Forum
- 1 LFD137 Class Forum
- 61 LFD201 Class Forum
- 1 LFD210 Class Forum
- LFD210-CN Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- LFD237 Class Forum
- 23 LFD254 Class Forum
- 611 LFD259 Class Forum
- 105 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFD273 Class Forum
- 2 LFS145 Class Forum
- 24 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 11 LFS203 Class Forum
- 75 LFS207 Class Forum
- 300 LFS211 Class Forum
- 54 LFS216 Class Forum
- 47 LFS241 Class Forum
- 41 LFS242 Class Forum
- 37 LFS243 Class Forum
- 11 LFS244 Class Forum
- 36 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 140 LFS253 Class Forum
- LFS254 Class Forum
- 1.1K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 93 LFS260 Class Forum
- 132 LFS261 Class Forum
- 33 LFS262 Class Forum
- 80 LFS263 Class Forum
- 15 LFS264 Class Forum
- 11 LFS266 Class Forum
- 18 LFS267 Class Forum
- 17 LFS268 Class Forum
- 23 LFS269 Class Forum
- 203 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- LFS281 Class Forum
- 235 LFW211 Class Forum
- 172 LFW212 Class Forum
- 7 SKF100 Class Forum
- SKF200 Class Forum
- 903 Hardware
- 219 Drivers
- 74 I/O Devices
- 44 Monitors
- 116 Multimedia
- 209 Networking
- 101 Printers & Scanners
- 85 Storage
- 763 Linux Distributions
- 88 Debian
- 66 Fedora
- 15 Linux Mint
- 13 Mageia
- 24 openSUSE
- 142 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 357 Ubuntu
- 479 Linux System Administration
- 41 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 78 Network Management
- 108 System Management
- 49 Web Management
- 68 Mobile Computing
- 23 Android
- 30 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 537 Off Topic
- 131 Introductions
- 217 Small Talk
- 21 Study Material
- 826 Programming and Development
- 278 Kernel Development
- 514 Software Development
- 928 Software
- 260 Applications
- 184 Command Line
- 3 Compiling/Installing
- 76 Games
- 316 Installation
- 61 All In Program
- 61 All In 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)