anchor.diff:  
   ### Delete Kubernetes Resources
   
  -. Delete WildFly repliation controller as:
  -+
  -[source, text]
  -----
  -> ./cluster/kubectl.sh --v=5  delete -f ../../attendees/kubernetes/wildfly.yaml 
  -I0605 16:39:09.152694   67149 defaults.go:174] creating security context for container wildfly
  -replicationcontrollers/wildfly
  -----
  -+
  -. Delete MySQL replication controller as:
  -+
  -[source, text]
  -----
  -> ./cluster/kubectl.sh --v=5 delete -f ../../attendees/kubernetes/mysql.yaml 
  -I0605 17:54:26.042191   67742 defaults.go:174] creating security context for container mysql
  -replicationcontrollers/mysql-server
  -----
  -+
  -. Delete MySQL service as:
  -+
  -[source, text]
  -----
  -> ./cluster/kubectl.sh --v=5 delete -f ../../attendees/kubernetes/mysql-service.yaml 
  -services/mysql
  -----
  -
  -Alternatively, all services and replication controllers can be assigned a label and deleted as:
  -
  -[source, text]
  -----
  -kubectl delete -l services,pods name=docker-lab
  -----
  -
  -Send a PR for the last code: https://github.com/javaee-samples/docker-java/issues/59
  +Individual resources (service, replication controller, or pod) can be deleted by using `delete` command instead of `create` command. Alternatively, all services and replication controllers can be deleted using a label as:
  +
  +[source, text]
  +----
  +kubectl delete -l se,po context=docker-k8s-lab
  +----
   
   ### Stop Kubernetes Cluster
   
  
positive.code:     metadata:
        labels:
          name: wildfly-server
      spec:
        containers:
          - name: wildfly
            image: arungupta/wildfly-mysql-javaee7:k8s
            ports:
              - containerPort: 8080
  ----
  +
  . Verify WildFly replication controller as:
  +
  [source, text]
  ----
  > ./cluster/kubectl.sh get rc
  CONTROLLER     CONTAINER(S)   IMAGE(S)                                         SELECTOR                      REPLICAS
  kube-dns-v1    etcd           gcr.io/google_containers/etcd:2.0.9              k8s-app=kube-dns,version=v1   1
                 kube2sky       gcr.io/google_containers/kube2sky:1.7                                          
                 skydns         gcr.io/google_containers/skydns:2015-03-11-001                                 
  mysql-server   mysql          mysql:latest                                     name=mysql-server             1
  wildfly        wildfly        arungupta/wildfly-mysql-javaee7:knetes           name=wildfly-server           1
  ----
  
  ### Access Java EE Application
  
  
negative.code:             - name: MYSQL_ROOT_PASSWORD
                value: supersecret
            ports:
              - containerPort: 3306
                hostPort: 3306
  ----
  +
  Once again, the ``docker-k8s-lab'' label is used. This simplifies querying the created pods later on.
  +
  . Verify MySQL replication controller as:
  +
  [source, text]
  ----
  > ./cluster/kubectl.sh get rc -l context=docker-k8s-lab
  CONTROLLER   CONTAINER(S)   IMAGE(S)       SELECTOR     REPLICAS
  mysql        mysql          mysql:latest   name=mysql   1
  ----
  +
  . Check the status of MySQL pod as:
  +
  [source, text]
  ----
  > ./cluster/kubectl.sh get po -l context=docker-k8s-lab
  POD           IP        CONTAINER(S)   IMAGE(S)       HOST          LABELS                              STATUS    CREATED          MESSAGE
  mysql-7lq67                                           10.245.1.3/   context=docker-k8s-lab,name=mysql   Pending   About a minute   
                          mysql          mysql:latest                  
  ----
  
  #### Start WildFly Replication Controller
  