kURL icon indicating copy to clipboard operation
kURL copied to clipboard

Install fails with add-in prometheus `0.52.0-22.0.0`

Open BretFisher opened this issue 4 years ago • 3 comments

When Prometheus addon is set to the latest specific version, install fails on Ubuntu 20.04 with error:

The CustomResourceDefinition "prometheuses.monitoring.coreos.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

If you set to the previous version listed for prometheus in kurl.sh, it works fine:

  prometheus: 
    version: "0.49.0-17.1.3"

The below kurl config gives the above error and never completes:

apiVersion: "cluster.kurl.sh/v1beta1"
kind: "Installer"
metadata: 
  name: "8d8d24d"
spec: 
  kubernetes: 
    version: "latest"
  weave: 
    version: "latest"
  contour: 
    version: "latest"
  prometheus: 
    version: "0.52.0-22.0.0"
  registry: 
    version: "latest"
  containerd: 
    version: "latest"
  velero: 
    version: "latest"
  ekco: 
    version: "latest"
  fluentd: 
    version: "latest"
  longhorn: 
    version: "latest"

BretFisher avatar Dec 09 '21 02:12 BretFisher

This has been reverted for now. Thanks for reporting! Going forward will recommending pinning all addons to avoid similar issues.

https://github.com/replicatedhq/kURL/pull/2450

aj-jester avatar Dec 09 '21 14:12 aj-jester

I made an internal ticket to track figuring out what to do with this addon: SC-40323

DanStough avatar Dec 13 '21 17:12 DanStough

Hi @BretFisher, we released 0.53.1-30.1.0 of prometheus, which resolved this issue.

DanStough avatar Jan 27 '22 18:01 DanStough