# kubectl discovery cache

Source: https://diskcity.app/folders/cloud-kube-cache

**Safe to delete.** Yes. kubectl asks the cluster again on its next command.

## What it is

kubectl discovery cache is data your Mac or an app can rebuild. It lives at ~/.kube/cache.

## Where it is

- `~/.kube/cache`

## How big is it?

```sh
du -sh "$HOME/.kube/cache"
```

## How to remove it

1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
2. Move its contents to the Trash.
3. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot.
