anchor.diff:  [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
  -      }
  +    @Override
  +    public void eventReceived(Action action, T resource) {
  +        // do something
  +    }
  +
  +    @Override
  +    public void onClose(KubernetesClientException e) {
  +        // do something
  +    }
   }
   
   client.pods().watch(new ResourceWatcher<Pod>());
  
positive.code:     namespace: <namespace>
  ----
  
  Replace <applicationName> and <namespace> with your values.
  Have a look at https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/[Configure Service Accounts for Pods] to get further information.
  
negative.code: 
  [source,xml]
  ----
  <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-kubernetes-client</artifactId>
  </dependency>
  ----
  
  == Usage
  