pub fn setup_kubernetes(
rollback: &RollbackManager,
) -> Result<(), Box<dyn Error>>Expand description
Sets up Kubernetes on the system.
This function installs Kubernetes tools (kubectl and minikube), configures them, and ensures they’re ready for use. It creates a snapshot before installation for potential rollback.
§Arguments
rollback- A reference to theRollbackManagerfor creating snapshots
§Returns
Returns Ok(()) if Kubernetes is set up successfully, or an error if setup fails.