Workloads
Link to section 'Deploy a Workload' of 'Workloads' Deploy a Workload
- Using the top right dropdown select the Project or Namespace you wish to deploy to.
- Using the far left menu navigate to Workload
- Click Create at the top right
- Select the appropriate Deployment Type for your use case
- Select Namespace if not already done from step 1
- Set a unique Name for your deployment, i.e. “myapp"
- Set Container Image. Ensure you're using the Anvil registry for personal images or the Anvil registry docker-hub cache when pulling public docker-hub specific images. e.g:
registry.anvil.rcac.purdue.edu/my-registry/myimage:tag
orregistry.anvil.rcac.purdue.edu/docker-hub-cache/library/image:tag
- Click Create
Wait a couple minutes while your application is deployed. The “does not have minimum availability” message is expected. But, waiting more than 5 minutes for your workload to deploy typically indicates a problem. You can check for errors by clicking your workload name (i.e. "myapp"), then the lower button on the right side of your deployed pod and selecting View Logs
If all goes well, you will see an Active status for your deployment
You can then interact with your deployed container on the command line by clicking the button with three dots on the right side of the screen and choosing "Execute Shell"