The Workload Details Screen opens when you click on a Workload in the App Details Screen. The screen looks different depending on whether you have a Draft, Active Deployment or Past Deployment selected.
There are some common elements across these three modes.
The App that the Workload belongs to.
The Environment that the Workload is in.
The Deployment or Draft that the screen represents. Clicking it allows quick switching between different Deployments and Drafts.
The Workload being shown in the screen. Clicking it allows quick switching between different Workloads.
The Container tabs allows switching between containers in the Workload.
The Close button returns you to the App Details Screen.
The Workload panel shows things at the Workload level.
The Container panel shows things that are container specific. The content here is controlled by the Container tabs.
The content of the Workload and Container panels changes depending on whether a Draft, Active Deployment or Past Deployment is selected.
If a Draft is selected in the Draft & Deployment list when you click on a Workload, the elements in the Workflow Details screen will be editable. Edits you make will be added to the active Draft.
There are 3 editable sections in the Workload Panel.
Resource dependencies provide a way of declaring a dependency on a resource running outside the cluster. See Add Databases and other External Resources for more details.
Ingress allows to define routing rules for DNS resources defined in the Resource dependencies section above.
Service account allows for a specific service account to be used to run the workload in the cluster. The service account name must exist at deployment time.
There are 4 editable sections in the Container Panel. Containers can be added and removed via the Container Tabs.
A Container can be removed from the workload via the menu on the Container tab.
A new Container can be added via the ➕at the end of the row of Container tabs.
The Image version can be changed via the dropdown.
Environment Variables can be defined for the container. See Working with Environment Variables for more details.
Files can be mounted within a container. See Working with Files for more details.
Container configuration allows things like resource limits, liveness probes and overrides for the container command to be specified.
The Active Deployment version of the Workload Details screen is essentially a read-only version of the Draft Workload Details screen above. There are 2 additions that make it relevant to Active Deployments.
The Replicas section allows the number of replicas of the workload to be changed and shows errors reported by Kubernetes about the workload.
The Container logs section shows live logs from the containers in the workload.
The Past Deployment version of the Workload Detail Screen is the same as the Active Deployment version except that the Replicas section is no longer present. As logs are periodically purged, only recent deployments will have logs visible.