Auto devops - deploy is failing to kubernetes

auto devops - deploy is failing to kubernetes

When the pipeline is at the auto deploy stage, it throws the following errors:

  • Context deadline exceed - this error happens at the beginning of auto deploy stage

  • Error: context deadline exceeded ROLLING BACKpanic: runtime error: invalid memory address or nil pointer dereference - this error happens after the first one and it takes sometime to manifest

  • I’m using the cloud version, at gitlab.com

  • The log from pipeline:
    $ auto-deploy deploy Error: context deadline exceeded Validating chart version... Fetching the previously deployed chart version... Fetching the deploying chart version... secret "production-secret" deleted secret/production-secret replaced No helm values file found at '.gitlab/auto-deploy-values.yaml' Deploying new stable release... UPGRADE FAILED Error: context deadline exceeded ROLLING BACKpanic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1568952] goroutine 1 [running]: main.(*upgradeCmd).run(0xc00021a340, 0xc000689880, 0x2) /go/src/k8s.io/helm/cmd/helm/upgrade.go:298 +0xc82 main.newUpgradeCmd.func2(0xc00069f900, 0xc0006c4800, 0x2, 0x3c, 0x0, 0x0) /go/src/k8s.io/helm/cmd/helm/upgrade.go:150 +0x14a k8s.io/helm/vendor/github.com/spf13/cobra.(*Command).execute(0xc00069f900, 0xc0006c4400, 0x3c, 0x40, 0xc00069f900, 0xc0006c4400) /go/src/k8s.io/helm/vendor/github.com/spf13/cobra/command.go:826 +0x453 k8s.io/helm/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc000686280, 0x3d, 0x3f, 0xc000686280) /go/src/k8s.io/helm/vendor/github.com/spf13/cobra/command.go:914 +0x2fb k8s.io/helm/vendor/github.com/spf13/cobra.(*Command).Execute(...) /go/src/k8s.io/helm/vendor/github.com/spf13/cobra/command.go:864 main.main() /go/src/k8s.io/helm/cmd/helm/helm.go:270 +0x7a ERROR: Job failed: command terminated with exit code 1

I searched for this errors and what I found is probably it is related to helm but I don’t know how to check helm’s logs or upgrade it.

Thanks in advance