Is your feature request related to a problem? Please describe.
The kubectl kcp workload sync command makes it easy to configure a workload cluster on kcp, and create a manifest to deploy the syncer on a workload cluster.
Tearing down a workload cluster, however, requires the following manual steps on the kcp side:
Delete the WorkloadCluster
Delete the associated service account
Delete the associated clusterrolebinding
Describe the solution you'd like
An inverse command - kubectl kcp workload unsync - which removes the WorkloadCluster and associated RBAC.
Describe alternatives you've considered
Keep the status quo, but document the steps needed to remove a workload cluster.
Is your feature request related to a problem? Please describe.
The
kubectl kcp workload sync
command makes it easy to configure a workload cluster on kcp, and create a manifest to deploy the syncer on a workload cluster.Tearing down a workload cluster, however, requires the following manual steps on the kcp side:
Describe the solution you'd like
An inverse command -
kubectl kcp workload unsync
- which removes the WorkloadCluster and associated RBAC.Describe alternatives you've considered
Keep the status quo, but document the steps needed to remove a workload cluster.
Additional context
N/A