class RequireK8sSupportCondition implements ExecutionCondition {

  @Override
  public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context) {<FILL_FUNCTION_BODY>}
}

    final RequireK8sSupport requireK8s = findAnnotation(context.getElement(), RequireK8sSupport.class)
        .orElse(null);
    if (requireK8s != null) {
      try (KubernetesClient client = new KubernetesClientBuilder().build()) {
        if (client.supports(requireK8s.value())) {
          return ConditionEvaluationResult
              .enabled(String.format("Kubernetes resource %s IS supported in this cluster", requireK8s.value().getName()));
        } else {
          return ConditionEvaluationResult
              .disabled(String.format("Kubernetes resource %s IS NOT supported in this cluster", requireK8s.value().getName()));
        }
      }
    }
    return ConditionEvaluationResult.enabled("RequireK8sSupportCondition is not applicable");
  
<no_super_class>