class AbstractKubernetesInfoContributor implements InfoContributor {

	/**
	 * Kubernetes key.
	 */
	public static final String KUBERNETES = "kubernetes";

	/**
	 * Inside key.
	 */
	public static final String INSIDE = "inside";

	/**
	 * Namespace key.
	 */
	public static final String NAMESPACE = "namespace";

	/**
	 * Pod name key.
	 */
	public static final String POD_NAME = "podName";

	/**
	 * Pod IP key.
	 */
	public static final String POD_IP = "podIp";

	/**
	 * Service account key.
	 */
	public static final String SERVICE_ACCOUNT = "serviceAccount";

	/**
	 * Node name key.
	 */
	public static final String NODE_NAME = "nodeName";

	/**
	 * Host IP key.
	 */
	public static final String HOST_IP = "hostIp";

	/**
	 * Labels key.
	 */
	public static final String LABELS = "labels";

	private static final Log LOG = LogFactory.getLog(AbstractKubernetesInfoContributor.class);

	@Override
	public void contribute(Info.Builder builder) {<FILL_FUNCTION_BODY>}

	public abstract Map<String, Object> getDetails();

}

		try {
			builder.withDetail(KUBERNETES, getDetails());
		}
		catch (Exception e) {
			LOG.warn("Failed to get pod details", e);
		}
	
<no_super_class>