You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Following appsody/appsody-operator#125, the Appsody operator supports creating service monitor if there is a spec.monitoring entry in the app-deploy.yaml file. The only requirement to utilise this is a label field, like so:
We introduced this functionality for Python Flask, Node.js-Express, and Node.js-functions but it would be nice to see this for the Open Liberty stack also.
Currently, we also see a Knative error if a stack uses the readinessProbe and timeoutSeconds is not defined.
Describe the solution you'd like
Add a new field (monitoring) to the app-deploy file underneath spec. The java-microprofile stack has authenticated endpoints and therefore requires a basicAuth field also.
Also add a new field, timeoutSeconds under the readinessProbe and assign it an appropriate value e.g. 1.
Note: The PR above is for a stack without an authenticated endpoint, see: appsody/appsody-operator#125 for a more suitable approach for microprofile.
The text was updated successfully, but these errors were encountered:
Kamran64
changed the title
Implement service monitoring support for java-microprofile
Implement service monitoring support for java-microprofile and add timeoutSeconds for readinessProbe
Oct 25, 2019
Though this issue hasn't been solved in the java-microprofile stack, relabeling to the java-openliberty stack, which is where we would prioritize a solution if we decide to fix this.
Kamran64
changed the title
Implement service monitoring support for java-microprofile and add timeoutSeconds for readinessProbe
Implement service monitoring support for java-openliberty and add timeoutSeconds for readinessProbe
Jan 14, 2020
@arthurdm correct me if I'm wrong and you see a need here... but I think this is a moot point now that we've switched to the Open Liberty operator. Closing.
My concern with adding this to the default app-deploy.yaml is that it requires SSL to be enabled in the deployment which we are choosing not to do by default. Instead, we are adding doc in our readme on how to enable the HTTPS port and configure user credentials via ENV vars from a Secret. (#750 )
Other than the above doc, we can also add a section to our readme on how to enable a Service Monitor after SSL is enabled.
Following appsody/appsody-operator#125, the Appsody operator supports creating service monitor if there is a
spec.monitoring
entry in theapp-deploy.yaml
file. The only requirement to utilise this is a label field, like so:We introduced this functionality for Python Flask, Node.js-Express, and Node.js-functions but it would be nice to see this for the Open Liberty stack also.
Currently, we also see a Knative error if a stack uses the
readinessProbe
andtimeoutSeconds
is not defined.Describe the solution you'd like
Add a new field (
monitoring
) to theapp-deploy
file underneathspec
. The java-microprofile stack has authenticated endpoints and therefore requires abasicAuth
field also.Also add a new field,
timeoutSeconds
under thereadinessProbe
and assign it an appropriate value e.g. 1.Additional context
Example PR to implement service monitor support into a stack: https://github.com/appsody/stacks/pull/419/files
Note: The PR above is for a stack without an authenticated endpoint, see: appsody/appsody-operator#125 for a more suitable approach for microprofile.
The text was updated successfully, but these errors were encountered: