Welcome to the Linux Foundation Forum!

Lab 10.1 Working with Helm and Chars


I'm having issues following steps in Lab 10.1 Working with Helm and Charts.

First, the command helm repo add ealenn https://ealenn.github.io/charts
leaves me with blinking cursor unless I sudo it.

Next command, ran without sudo returns permission denied error:
open /home/sysadmin/.cache/helm/repository/ealenn-index.yaml: permission denied

Apparently, helm directories under .config and .cache in my home directory belong to the root user. I don't know if this is the consequence of running the first command with sudo but I couldn't run it as a normal user anyway...

Finally, the third command doesn't work with or without sudo. It blocks after the third line, leaving me again with blinking cursor:

history.go:56: [debug] getting history for release tester
Release "tester" does not exist. Installing it now.
install.go:178: [debug] Original chart version: ""

I've tried changing the ownership of helm directories but it didn't change anything.

Any ideas on how to resolve this issue?

Thanks in advance!


  • k0dard
    k0dard Posts: 115
    edited March 2022

    UPDATE after some more tries:

    Sudo has nothing to do with helm command blocking, and complicates the things further by changing the ownership of certain directories...

    The problem seems to be in ealenn repository, which often timeouts preventing helm repo update and installation.

    The other part of the lab always works perfectly

    A side note:
    In the lab exercise overview it says > Once installed we will deploy a Chart , which will configure MariaDB on our cluster.
    Seems that the lab has been updated, but not the instructions...


Upcoming Training