这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature: Export and Import of existing releases #417

@Timo-Weike

Description

@Timo-Weike

To be able to help migrating legacy releases from one k8s to a different k8s I would like to be able to export a running release directly and import the result to a differen k8s.

I already managed to do that using

helm get manifest $ReleaseName -n $Namespace

and

kubectl get secret -n $Namespace -l "owner=helm,name=$ReleaseName" -o yaml

and then using

kubectl apply -f $secretsFile -n $Namespace

and

kubectl apply -f $manifestFile -n $Namespace

to apply it.

However this is missing the whole hook system. So if a dependency had a hook which creates more k8s resources these would not be included.

I would think it would be valuable addition to the helm toolkit to be able to export and import releases as they are.

Any thoughts on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions