Test the TimesTen Operator
To test the TimesTen Operator, the test Pod uses the curl
command to access the TimesTen Operator's readiness probe endpoint. If the TimesTen Operator self-reports that it is ready, the test succeeds.
The TimesTen Operator's readiness endpoint is exposed to the Kubernetes cluster through the TimesTen Operator's EXPOSE_PROBES
manifest variable. In the default configuration (EXPOSE_PROBES=1)
, the TimesTen Operator creates a Kubernetes Service. This Service makes the endpoint available from within the cluster. You can prevent this Service from being created by setting probes.expose=0
in your customized YAML file. See The ttoperator Chart.
To test the TimesTen Operator, you test the ttoperator
chart release running in your namespace. Let's test the TimesTen Operator.