N
N
Nastya19202021-09-12 17:07:04
go
Nastya1920, 2021-09-12 17:07:04

Is there a way to set the deployment order of helm charts?

The platform is built on the basis of kubernetis, however, with numerous transformations (for example, instead of traditional crds, rtds are used, where instead of kind - type). As part of the deployment, a folder containing several resources (init content) is loaded - yaml files
For the service to work, it is important that they are installed in a certain order:
- first rtds (that is, the schema)
- instances of this schema
- webhook configurations.

That is, the question is not only in determining who is first and who is second: to load instances, you need to know that rtds have already been loaded. If I load out of order, then during the loading of instances I get failure "api not found for type ...", because rtds have not had time to load yet.

Is there a way to determine the order? (Something like retry, for true {}. Ideally, a label or annotation to resources in yaml)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bankinobi, 2021-09-13
@bankinobi

In the main chart.yml file, specify the dependencies through dependencies

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question