anchor.diff:  quarkus.kubernetes-client.namespace=default
   ----
   
  -Note that the full list of properties is available in the [KubernetesClientBuildConfig](https://github.com/quarkusio/quarkus/blob/master/extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesClientBuildConfig.java) class.
  +Note that the full list of properties is available in the https://github.com/quarkusio/quarkus/blob/master/extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesClientBuildConfig.java[KubernetesClientBuildConfig] class.
   
   === Overriding
   
  
positive.code: [source%nowrap,java]
  ----
  public class ResourceWatcher<T extends HasMetadata> implements Watcher<T> {
        @Override
        public void eventReceived(Action action, T resource) {
          // do something
        }
  
        @Override
        public void onClose(KubernetesClientException e) {
          // do something
        }
  }
  
  client.pods().watch(new ResourceWatcher<Pod>());
  
negative.code: 
  == Access to the Kubernetes API
  
  In many cases in order to access the Kubernetes API server a `ServiceAccount`, `Role` and `RoleBinding` will be necessary.
  An example that allows listing all pods could look something like this:
  
  [source,yaml]
  ----
  