Do not save all of the pod data when we're tracking kubernetes state.
Why are we making these changes?
If you don't save it, it doesn't clutter up RAM, and in particular, clutter up oldgen. The worst case for GC is objects that live a long time but eventually die. This hopefully cuts the rate of those objects, at least in the case of Pod data.
Changes proposed in this PR
Why are we making these changes?
If you don't save it, it doesn't clutter up RAM, and in particular, clutter up oldgen. The worst case for GC is objects that live a long time but eventually die. This hopefully cuts the rate of those objects, at least in the case of Pod data.