首页 > 解决方案 > Reset / Rollback Kubernetes to just create state?

问题描述

i am trying to setup a complete GitLab Routine to setup my Kubernetes Cluster with all installations and configurations automatically incl. decommissioning at the end.

However the Creation and Decommissioning Progress is one of the most time consuming because i am basically waiting for the provisioning till i can execute further commands.

as i have some times troubles in the bases of the Kubernetes Setup, i currently decomission my cluster and create a new one. But this is pretty un-economical and time consuming.

Question: Is there a command or a series of commands to completely reset a Kubernetes to his state after creation ?

标签: kubernetesreset

解决方案


最接近的可能是在一个新的命名空间中完成所有工作,然后在完成后删除该命名空间。这会自动删除其中的所有对象。


推荐阅读