Open dacleyra opened 4 years ago
The AppsodyApplication
specifies readinessProbe.periodSeconds
but not readinessProbe.timeoutSeconds
and this is invalid according to Knative serving's admission webhook.
To solve this, you'd need to specify readinessProbe.timeoutSeconds
:
readinessProbe:
failureThreshold: 12
httpGet:
path: /health/ready
port: 9080
initialDelaySeconds: 5
periodSeconds: 2
timeoutSeconds: 1
Here is the Knative Serving code validating Knative service:
@dacleyra - can you please try out navid's suggestion as a workaround to unblock this?
@navidsh / @leochr - can you please open an issue against the appsody stack template to make this update?
@arthurdm Seems like all the stacks except experimental/java-spring-boot2-liberty
in appsody/stacks
added timeoutSeconds
since yesterday. I'm working with the person made the changes to microprofile stack to see if they want us to open an issue for java-spring-boot2-liberty
.
Is this issue still valid?
Bug Report
What did you do?
Deploy default java-microprofile stack application using kabanero collection, with knative enabled https://github.com/kabanero-io/sample-java-microprofile
What did you expect to see?
Successful appsodyapplication deploy
What did you see instead?
failure to deploy
Environment
Appsody Stack: kabanero/java-microprofile https://github.com/kabanero-io/collections/releases/download/0.3.0-rc.3/kabanero-index.yaml
Kubernetes version information: OCP 4.2
Client Version: v4.3.0 Server Version: 4.2.0 Kubernetes Version: v1.14.6+2e5ed54
Possible solution
Additional context