saggymac commented on issue #272: Controller crash loop
URL: 
https://github.com/apache/incubator-openwhisk-deploy-kube/issues/272#issuecomment-422389802
 
 
   Adding requested details ...
   
   ```
   Scotts-MacBook-Pro-2:scripts saguyer$ kubectl get pods --namespace=openwhisk
   NAME                          READY     STATUS      RESTARTS   AGE
   apigateway-7b87dd957f-2xwpw   1/1       Running     0          34m
   controller-0                  1/1       Running     2          34m
   couchdb-6b87ccfb78-br8mf      1/1       Running     0          34m
   init-couchdb-vvlvs            0/1       Completed   0          34m
   invoker-nvpkp                 0/1       Init:1/2    0          34m
   kafka-0                       1/1       Running     0          34m
   nginx-598c75d7d6-s2svt        1/1       Running     0          34m
   redis-5d77674f65-f4tnm        1/1       Running     0          34m
   zookeeper-0                   1/1       Running     0          34m
   Scotts-MacBook-Pro-2:scripts saguyer$ kubectl describe pod kafka-0 
--namespace=openwhisk
   Name:           kafka-0
   Namespace:      openwhisk
   Node:           node-01/10.0.2.15
   Start Time:     Tue, 18 Sep 2018 08:42:56 -0400
   Labels:         controller-revision-hash=kafka-d4cb4fbf8
                   name=kafka
                   statefulset.kubernetes.io/pod-name=kafka-0
   Annotations:    <none>
   Status:         Running
   IP:             10.42.0.48
   Controlled By:  StatefulSet/kafka
   Init Containers:
     wait-for-zookeeper:
       Container ID:  
docker://af239c8c6a1667061c3b52dd8272a130225647d532cbf40f196bad01cb071056
       Image:         busybox
       Image ID:      
docker-pullable://busybox@sha256:cb63aa0641a885f54de20f61d152187419e8f6b159ed11a251a09d115fdff9bd
       Port:          <none>
       Host Port:     <none>
       Command:
         sh
         -c
         result=1; until [ $result -eq 0 ]; do OK=$(echo ruok | nc -w 1 
zookeeper-0.zookeeper.openwhisk.svc.cluster.local 2181); if [ "$OK" == "imok" 
]; then result=0; echo "zookeeper returned imok!"; else echo waiting for 
zookeeper to be ready; sleep 1; fi; done; echo "Success: zookeeper is up"
       State:          Terminated
         Reason:       Completed
         Exit Code:    0
         Started:      Tue, 18 Sep 2018 08:43:01 -0400
         Finished:     Tue, 18 Sep 2018 08:43:13 -0400
       Ready:          True
       Restart Count:  0
       Environment:    <none>
       Mounts:
         /var/run/secrets/kubernetes.io/serviceaccount from default-token-945tr 
(ro)
   Containers:
     kafka:
       Container ID:   
docker://829b8d39611760d6acf3aff14f927cdc988a6180bad6730c3c9134cbebc4768f
       Image:          wurstmeister/kafka:0.11.0.1
       Image ID:       
docker-pullable://wurstmeister/kafka@sha256:93706c99788c00d9f46bf7a74643d3c81b5e70db0f209f86b495492929b1f3e5
       Port:           9092/TCP
       Host Port:      0/TCP
       State:          Running
         Started:      Tue, 18 Sep 2018 08:43:14 -0400
       Ready:          True
       Restart Count:  0
       Environment:
         KAFKA_BROKER_ID:             0
         KAFKA_ADVERTISED_HOST_NAME:  kafka
         KAFKA_ADVERTISED_PORT:       9092
         KAFKA_HOST_NAME:              (v1:status.podIP)
         KAFKA_PORT:                  9092
         KAFKA_ZOOKEEPER_CONNECT:     
zookeeper-0.zookeeper.openwhisk.svc.cluster.local:2181
       Mounts:
         /var/run/secrets/kubernetes.io/serviceaccount from default-token-945tr 
(ro)
   Conditions:
     Type           Status
     Initialized    True
     Ready          True
     PodScheduled   True
   Volumes:
     default-token-945tr:
       Type:        Secret (a volume populated by a Secret)
       SecretName:  default-token-945tr
       Optional:    false
   QoS Class:       BestEffort
   Node-Selectors:  <none>
   Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                    node.kubernetes.io/unreachable:NoExecute for 300s
   Events:
     Type    Reason                 Age   From               Message
     ----    ------                 ----  ----               -------
     Normal  Scheduled              34m   default-scheduler  Successfully 
assigned kafka-0 to node-01
     Normal  SuccessfulMountVolume  34m   kubelet, node-01   MountVolume.SetUp 
succeeded for volume "default-token-945tr"
     Normal  Pulled                 34m   kubelet, node-01   Container image 
"busybox" already present on machine
     Normal  Created                34m   kubelet, node-01   Created container
     Normal  Started                34m   kubelet, node-01   Started container
     Normal  Pulled                 34m   kubelet, node-01   Container image 
"wurstmeister/kafka:0.11.0.1" already present on machine
     Normal  Created                34m   kubelet, node-01   Created container
     Normal  Started                34m   kubelet, node-01   Started container
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to