cancel
Showing results for 
Search instead for 
Did you mean: 
AS16
Cadet
Cadet
  • 29 Views

curl transaction failed on Section 7.4: Guided Exercise: Update Application Image and Settings

Hi. I'm trying Section 7.4: Guided Exercise: Update Application Image and Settings section 7.2 and I got curl failure once as a result of curl_loop.sh like below.

 

Hi!
Hi!
Hi!
curl: (7) Failed to connect to master01.ocp4.example.com port 30019: Connection refused
Hi! v1.1
Hi! v1.1
Hi! v1.1
Hi! v1.1
Hi!
Hi!
Hi! v1.1

 

 

As I confirmed like below guide section 5.5, "version" deployment has a readiness probe so it cannot be send http transaction to the pod who is not ready.

Please let me know why I got a failure of a curl command once?

 

5.5 Confirm that the version deployment includes a readiness probe. The probe performs an HTTP GET request on port 8080.

[student@workstation ~]$ oc get deployment version \
  -o jsonpath='{.spec.template.spec.containers[0].readinessProbe}' | jq . { "failureThreshold": 3, "httpGet": { "path": "/", "port": 8080, "scheme": "HTTP" }, "initialDelaySeconds": 3, "periodSeconds": 10, "successThreshold": 1, "timeoutSeconds": 1 }

 

0 Replies
Join the discussion
You must log in to join this conversation.