Is there a way to have multiple yaml configs?


I have successfully deployed a HOT-WARM environment using one ECK yaml config file.
Lets say i decided to add COLD tier, is it possible to have a separate yaml config that joins the existing ECK cluster?

What is the best method in doing this? kubectl replace? or kubectl delete & re-apply?

Any help is appreciated. thank you!

U want a single yaml to create a single Elasticsearch resource will multiple node sets with different roles

I want to know if it is possible to have multiple yaml to create a single Elasticsearch cluster

Yes, at the moment you should use a single manifest to declare Elasticsearch resource. but you can use YAML anchors to remove some duplication if certain parts appear more than once.

or you can play with Declarative Management of Kubernetes Objects Using Kustomize | Kubernetes which let you assemble final yaml file from the set of small ones

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.