class AbstractKubernetesHealthIndicator extends AbstractHealthIndicator {

	/**
	 * 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";

	@Override
	protected void doHealthCheck(Health.Builder builder) {<FILL_FUNCTION_BODY>}

	protected abstract Map<String, Object> getDetails() throws Exception;

}

		try {
			builder.up().withDetails(getDetails());
		}
		catch (Exception e) {
			builder.down(e);
		}
	
<methods>public final org.springframework.boot.actuate.health.Health health() <variables>private static final java.lang.String DEFAULT_MESSAGE,private static final java.lang.String NO_MESSAGE,private final Function<java.lang.Exception,java.lang.String> healthCheckFailedMessage,private final org.apache.commons.logging.Log logger