<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_cluster(self, name):
 """Remove a cluster from kubeconfig. """

        cluster = self.get_cluster(name)
        clusters = self.get_clusters()
        clusters.remove(cluster)