Skip to main content
Version: Next

Deploy application

Now its time to deploy your application resources.

Applicability

This step is mandatory for all Contrast deployments.

Prerequisites

  1. Set up cluster
  2. Install CLI
  3. Deploy the Contrast runtime
  4. Add Coordinator to resources
  5. Prepare deployment files
  6. Configure TLS (optional)
  7. Enable GPU support (optional)
  8. 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.