config
), the entire job specification is available at /cortex/spec/job.json
in your API containers' filesystems./mnt
directory is mounted to each container's filesystem, and is shared across all containers./cortex/client/cli.yaml
, which is configured to connect to the cluster. In addition, the CORTEX_CLI_CONFIG_DIR
environment variable is set to /cortex/client
by default. Therefore, no additional configuration is required to use the CLI or Python client (which can be instantiated via cortex.client()
).CORTEX_VERSION
environment variable).http://ingressgateway-operator.istio-system.svc.cluster.local/tasks/<api_name>
, where <api_name>
is the name of the Task API you are making a request to.hello-world
running in the cluster, you can make a request to it from a different API in Python by using: