- Click Resources > Workloads. From the Workloads view, click Deploy.
Enter a Name for the workload.
Select a . The workload defaults to a scalable deployment, by can change the workload type by clicking More options.
From the Docker Image field, enter the name of the Docker image that you want to deploy to the project, optionally prefacing it with the registry host (e.g. , , etc.). During deployment, Rancher pulls this image from the specified public or private registry. If no registry host is provided, Rancher will pull the image from Docker Hub. Enter the name exactly as it appears in the registry server, including any required path, and optionally including the desired tag (e.g. ). If no tag is provided, the tag will be automatically used.
Either select an existing namespace, or click Add to a new namespace and enter a new namespace.
-
Environment Variables
Use this section to either specify environment variables for your workload to consume on the fly, or to pull them from another source, such as a secret or .
Node Scheduling
Health Check
Volumes
Use this section to add storage for your workload. You can manually specify the volume that you want to add, use a persistent volume claim to dynamically create a volume for the workload, or read data for a volume to use from a file such as a ConfigMap.
Scaling/Upgrade Policy
Click Show Advanced Options and configure:
- Command
- Networking
- Labels & Annotations
- Security and Host Config