0

I just deployed an Eclipse Che environment on my microk8s server and it works great with the sample devfiles. Now I want to use my own repo with a custom devfile.

But everytime I try to start the environment I get the following error message: Container tools has state CrashLoopBackOff.

This only happens with the custom devfile.yaml but not with the default one. The problem is, I need a more recent version of Golang, so I need a different file.

This is the devfile.yaml

schemaVersion: 2.1.0
metadata:
  name: kubernetes-image-version-checker
components:
  - name: tools
    container:
      image: quay.io/devfile/golang:latest
      env:
        - name: GOPATH
          value: /projects:/home/user/go
        - name: GOCACHE
          value: /tmp/.cache
      memoryLimit: 2Gi
      mountSources: true
      command: ['/checode/entrypoint-volume.sh']
projects:
  - name: kubernetes-image-version-checker
    git:
      remotes:
        origin: "https://gitlab.imanuel.dev/DerKnerd/kubernetes-image-version-checker.git"
Knerd
  • 1,892
  • 3
  • 28
  • 55

0 Answers0