houshengbo opened a new issue #244: Service pod terminated by itself
URL: https://github.com/apache/incubator-openwhisk-devtools/issues/244
 
 
   
   
   The service pod terminated by itself, after I ran "kubectl apply -f 
service.yaml" at 
https://github.com/apache/incubator-openwhisk-devtools/blob/master/knative-build/runtimes/javascript/README.md#deploy-the-runtime-1:
   ```
   VincentMacBookPro:helloworld vincent$ kubectl get pods -w
   NAME                                                 READY   STATUS      
RESTARTS   AGE
   nodejs-10-helloworld-pod-08f4c5                      0/1     Completed   0   
       42m
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   3/3     Running     0   
       20s
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   3/3   Terminating   0   
  100s
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   2/3   Terminating   0   
  102s
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   0/3   Terminating   0   
  6m40s
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   0/3   Terminating   0   
  6m41s
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   0/3   Terminating   0   
  6m42s
   nodejs-helloworld-f6968-deployment-7c5c86f78-4fccc   0/3   Terminating   0   
  6m42s
   ```
   
   I ran three of these commands to call the service. There is not results 
coming back:
   ```
   VincentMacBookPro:helloworld vincent$ curl -H "Host: 
nodejs-helloworld-with-params.default.example.com" -d '{"value": {"name": 
"Joe", "place": "TX"}}' -H "Content-Type: application/json" http://localhost/
   VincentMacBookPro:helloworld vincent$ curl -H "Host: 
nodejs-helloworld-with-params.default.example.com" -d "@data-init.json" -H 
"Content-Type: application/json" http://localhost/init
   VincentMacBookPro:helloworld vincent$ curl -H "Host: 
nodejs-helloworld-with-params.default.example.com" -d "@data-run.json" -H 
"Content-Type: application/json" -X POST http://localhost/run
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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