Links

Workload Details Screen

Overview

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.
Workload Details Screen
  1. 1.
    The App that the Workload belongs to.
  2. 2.
    The Environment that the Workload is in.
  3. 3.
    The Deployment or Draft that the screen represents. Clicking it allows quick switching between different Deployments and Drafts.
  4. 4.
    The Workload being shown in the screen. Clicking it allows quick switching between different Workloads.
  5. 5.
    The Container tabs allows switching between containers in the Workload.
  6. 6.
    The Back to button returns you to your previous screen.
  7. 7.
    The Workload panel shows things at the Workload level.
  8. 8.
    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.

Draft

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.

Workload Panel

Which sections are displayed in the Workload Panel depends on the utilised Workload Profile. The example below shows a Workload that is based on the default-module Workload Profile, which is made up of the following sections:
Workload based on the default-module Workload Profile
  1. 1.
    Resource dependencies provide a way of declaring a dependency on a resource. See Manage Resource Dependencies for more details.
  2. 2.
    Ingress allows to define routing rules for DNS resources defined in the Resource dependencies section above.
  3. 3.
    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.
  4. 4.
    Service Ports create a Service object which provides a stable way of addressing the Workload within the cluster.
  5. 5.
    Labels & Annotations allow to specify the Labels and Annotations that will be added to Pods generated for the Workload.
An overview of all Workload Profile features provided by Humanitec can be found here: Features

Container Panel

Containers can be added and removed via the Container Tabs.
Container Panel
  1. 1.
    A Container can be removed from the workload via the three dots menu on the Container tab.
  2. 2.
    A new Container can be added via the
    at the end of the row of Container tabs.
  3. 3.
    The Image version can be changed via the dropdown.
  4. 4.
    Environment Variables can be defined for the container. See Work with Environment Variables for more details.
  5. 5.
    Files can be mounted within a container. See Work with Filesfor more details.
  6. 6.
    Volume mounts provide workloads with access to persistent volumes backed by various types of disks or services. See Manage persistent Volumes for more details.
Container Panel
7. Container probes allow you to define liveness and readiness probes to check the health of your container.
8. Assign Resources allows you to assign maximum and minimum resource requirements for CPU and memory.
9. Container overrides allow you to provide alternative commands and arguments to run when the container starts up.

Active Deployment

The Active Deployment version of the Workload Details screen is essentially a read-only version of the Draft above. There are 2 additions that make it relevant to Active Deployments.
Workload Details Page of an active deployment
  1. 1.
    The Replicas section allows the number of replicas of the workload to be changed and shows errors reported by Kubernetes about the workload.
  2. 2.
    Each resource has a Details button showing the details of the provisioned resource.
  3. 3.
    The Container logs section shows live logs from the containers in the workload.

Past Deployment

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.