Welcome to the Linux Foundation Forum!

Lab 4.1 - Installing a Chart With Custom Values - Wordpress 9.2.5 Charts does not exist

Posts: 5
edited March 10 in LFS244 Class Forum

Hi All,

working in the "Lab 4.1 - Installing a Chart With Custom Values" I faced the following error.

### Error During Execution

jonmar@ubuntu:~$ helm install wordpress bitnami/wordpress \

--version 9.2.5 \
--set service.type=NodePort \
--set service.nodePorts.http=30001

Error: INSTALLATION FAILED: chart "wordpress" matching 9.2.5 not found in bitnami index. (try 'helm repo update'): no chart version found for wordpress-9.2.5
jonmar@ubuntu:~$

### Checking the existing wordpress charts there is higher version.

jonmar@ubuntu:~$ helm search repo bitnami/ | grep wordpress
bitnami/wordpress 24.1.18 6.7.2 WordPress is the world's most popular blogging ...
bitnami/wordpress-intel 2.1.31 6.1.1 DEPRECATED WordPress for Intel is the most popu...
jonmar@ubuntu:~$

When I tried to setup wordpress (latest version) as per lab's instructions it failed as well.

jonmar@ubuntu:~$ helm install wordpress bitnami/wordpress --set service.type=NodePort --set service.nodePorts.http=30001
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].securityContext): unknown field "seccompProfile" in io.k8s.api.core.v1.SecurityContext, ValidationError(Deployment.spec.template.spec.initContainers[0].securityContext): unknown field "seccompProfile" in io.k8s.api.core.v1.SecurityContext]
jonmar@ubuntu:~$

I will appreciatte any help on this.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Answers

  • Posts: 2,240

    Hi @jonpibo

    Can you please specify what course is this related to?

    Regards,
    Flavia

  • Posts: 1,264

    Hi @jonpibo, what is the specific course you are taking and working on?

    Regards,
    Luis.

  • Posts: 5

    Hi Luis, hope you are doing well.

    Managing Kubernetes Applications with Helm (LFS244)

  • Posts: 2,240

    This post has been moved in the correct forum, the one dedicated for LFS244.

  • Posts: 2,434

    Hi @jonpibo,

    I was not able to reproduce your error in my attempted to deploy the bitnami/wordpress chart.
    You are correct in your finding that bitnami/wordpress charts v9.2 are no longer available. The earliest available charts at this time are v14.3.

    Following through the lab guide, up to this point I updated my installations to the latest versions:

    • microk8s --channel=1.32/stable
    • helm version helm-v3.17.1-linux-amd64.tar.gz
    • bitnami/wordpress chart --version 24.1.18.

    The microk8s Kubernetes cluster version is v1.32.2.

    What versions are you working with? The unknown field may be tied to a version mismatch, possibly between helm and Kubernetes.

    Regards,
    -Chris

  • Posts: 5

    Hi @chrispokorni following the versions I installed.

    microk8s: v1.18.20
    helm version: v3.17.1

  • Posts: 2,434

    Hi @jonpibo,

    Right, your Kubernetes version does not yet support the seccompProfile attribute in the security context module, a feature introduced much later by Kubernetes.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training