Skip to content

导出指定名称空间内所有Deploy资源的可直接apply的yaml至指定目录

Notifications You must be signed in to change notification settings

matrix-ops/export-k8s-deployYAML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

用法

需要事先安装好yq命令

bash export-deploy.sh NAMESPACE DIR
# NAMESPACE为名称空间
# DIR指要将deploy的yaml文件导出至哪个目录,如果此目录不存在,将自动创建

About

导出指定名称空间内所有Deploy资源的可直接apply的yaml至指定目录

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages