Deploy application
Now its time to deploy your application resources.
Applicability
This step is mandatory for all Contrast deployments.
Prerequisites
- Set up cluster
- Install CLI
- Deploy the Contrast runtime
- Add Coordinator to resources
- Prepare deployment files
- Configure TLS (optional)
- Enable GPU support (optional)
- Generate annotations and manifest
How-to
Apply the resources to the cluster.
kubectl apply -f resources/
Until a manifest is set, the Coordinator will report unready and the workload pods will stay in the initialization phase.
warning
Don't use kubectl apply -n to specify the namespace you want to deploy your application to.
The namespace must be included in the deployment files presented to contrast generate, as Contrast enforced the namespace as part of the runtime policies.
