class KubeUtil {

    public static int estimatePodSize(V1Pod v1Pod) {
        try {
            String json = GSON.toJson(v1Pod);
            return json == null ? 0 : json.length();
        } catch (Exception e) {
            return 0;
        }
    }

}