apiVersion: v1
kind: Pod
metadata:
  name: wildfly-pod
  labels: 
    name: wildfly
spec: 
  containers: 
    - image: jboss/wildfly
      name: wildfly-pod
      livenessProbe:
        # an http probe
        httpGet:
          path: /index.html
          port: 8080
        httpGet:
          path: /movieplex7
          port: 8080
        # length of time to wait for a pod to initialize
        # after pod startup, before applying health checking
        initialDelaySeconds: 30
        timeoutSeconds: 1
      ports: 
        - containerPort: 8080
