Coder Social home page Coder Social logo

Upgrade Image from v1.13.0 to v1.14.1 Using chart v2.1.0 fails error loading config from /etc/cortex/cortex.yaml: Error parsing config file: yaml: unmarshal errors about cortex-helm-chart HOT 4 CLOSED

davidg-datascene avatar davidg-datascene commented on June 16, 2024
Upgrade Image from v1.13.0 to v1.14.1 Using chart v2.1.0 fails error loading config from /etc/cortex/cortex.yaml: Error parsing config file: yaml: unmarshal errors

from cortex-helm-chart.

Comments (4)

nschad avatar nschad commented on June 16, 2024

Upgrading Cortex helm chart from v1.7.0 to v2.1.0 that includes Cortex docker image v1.14.1 fails to upgrade. Using chart 2.1.0 with cortex image: v1.13.0/1/2 works as expected.

error loading config from /etc/cortex/cortex.yaml: Error parsing config file: yaml: unmarshal errors:                                                                                  
line 4: field storage not found in type alertmanager.MultitenantAlertmanagerConfig
line 72: field storage not found in type ruler.Config
line 88: field index_queries_cache_config not found in type storage.Config

Yeah your config is wrong. The error is coming from cortex not the helm-chart. Make sure your config matches https://cortexmetrics.io/docs/configuration/configuration-file/

from cortex-helm-chart.

davidg-datascene avatar davidg-datascene commented on June 16, 2024

But shouldn't the helm chart be providing the correct values following the change from Cortex 1.13 to 1.14 and the helm chart builds out the /etc/cortex/cortex.yaml file. The upgrade guide doesn't show steps to go from 1.7 (Cortex 1.13.x) of the chart to 2.1.0 (Cortex 1.14.x) and changes required.

https://github.com/cortexproject/cortex-helm-chart/blob/v2.1.0/templates/secret.yaml#L10

from cortex-helm-chart.

davidg-datascene avatar davidg-datascene commented on June 16, 2024

I'll close this as no changes required yourside. Thanks for taking a look.

from cortex-helm-chart.

nschad avatar nschad commented on June 16, 2024

But shouldn't the helm chart be providing the correct values following the change from Cortex 1.13 to 1.14 and the helm chart builds out the /etc/cortex/cortex.yaml file. The upgrade guide doesn't show steps to go from 1.7 (Cortex 1.13.x) of the chart to 2.1.0 (Cortex 1.14.x) and changes required.

https://github.com/cortexproject/cortex-helm-chart/blob/v2.1.0/templates/secret.yaml#L10

Yes it does however you need to use --reset-values otherwise old values persist between upgrades.

from cortex-helm-chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.