anchor.diff:  +
   [source, text]
   ----
  -> ./cluster/kubectl.sh get nodes
  -NAME         LABELS                              STATUS
  -10.245.1.3   kubernetes.io/hostname=10.245.1.3   Ready
   kubernetes> ./cluster/kubectl.sh get po
  -POD                                IP           CONTAINER(S)     IMAGE(S)                                                                   HOST                    LABELS                                                           STATUS    CREATED     MESSAGE
  -kube-dns-v1-jnvez                  172.17.0.2                                                                                               10.245.1.3/10.245.1.3   k8s-app=kube-dns,kubernetes.io/cluster-service=true,version=v1   Running   6 minutes   
  -                                                skydns           gcr.io/google_containers/skydns:2015-03-11-001                                                                                                                      Running   4 minutes   last termination: exit code 2
  -                                                kube2sky         gcr.io/google_containers/kube2sky:1.7                                                                                                                               Running   4 minutes   
  -                                                etcd             gcr.io/google_containers/etcd:2.0.9                                                                                                                                 Running   5 minutes   
  -kube-scheduler-kubernetes-master                                                                                                            kubernetes-master/      <none>                                                           Pending   2 seconds   
  -                                                kube-scheduler   gcr.io/google_containers/kube-scheduler:d1f640dfb379f64daf3ae44286014821                                                                                                                  
  +POD                                IP        CONTAINER(S)     IMAGE(S)                                                                   HOST                 LABELS                                                           STATUS    CREATED     MESSAGE
  +etcd-server-kubernetes-master                                                                                                            kubernetes-master/   <none>                                                           Running   2 minutes   
  +                                             etcd-container   gcr.io/google_containers/etcd:2.0.9                                                                                                                              Running   2 minutes   
  +kube-apiserver-kubernetes-master                                                                                                         kubernetes-master/   <none>                                                           Running   2 minutes   
  +                                             kube-apiserver   gcr.io/google_containers/kube-apiserver:465b93ab80b30057f9c2ef12f30450c3                                                                                         Running   2 minutes   
  +kube-dns-v1-lxdof                                                                                                                        10.245.1.3/          k8s-app=kube-dns,kubernetes.io/cluster-service=true,version=v1   Pending   2 minutes   
  +                                             etcd             gcr.io/google_containers/etcd:2.0.9                                                                                                                                                    
  +                                             kube2sky         gcr.io/google_containers/kube2sky:1.7                                                                                                                                                  
  +                                             skydns           gcr.io/google_containers/skydns:2015-03-11-001                                                                                                                                         
  +kube-scheduler-kubernetes-master                                                                                                         kubernetes-master/   <none>                                                           Running   2 minutes   
  +                                             kube-scheduler   gcr.io/google_containers/kube-scheduler:d1f640dfb379f64daf3ae44286014821                                                                                         Running   2 minutes
   ----
   +
   . Check the list of services running:
  
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
  