Software Delivery

Step 3 of 4

Deploy Frontend

Deploy the frontend software service

Updated Sep 7, 2026 · Shawn Pearson

Goals

We'll add a new stage for deployment including easy-to-use deployment strategies, see how variables facilitate reusability, and effortlessly create and deploy kubernetes workloads.

Lab Guide

  1. If you see the edit pipeline button top right, click to return to the Pipeline Studio. Deploy Frontend

    Add the new deployment stage

  2. In pipeline studio: 1 click Add Stage, 2 Deploy as the Stage Type Deploy Frontend

  3. In the stage pane: 1 enter name frontend, 2 click Kubernetes for Deployment Type, 3 click Set Up Stage

    Deploy Frontend

  4. In the service pane: 1 click +Add Service

    Deploy Frontend

  5. In the new service pane: 1 name the manifest frontend, 2 click Add Manifest Deploy Frontend

  6. Click k8s manifest then click Continue.

  7. Click Code then click Continue.

    Add manifest

  8. In the details page:
    1 give the manifests the name templates
    2 pick harnessrepo from the repository dropdown
    3 use main for the branch
    4 In the File/Folder Path paste the value:

    Text
    harness-deploy/frontend/manifests

    5 Under Values.yaml, Click +Add File
    6 In the Values.yaml field, paste the value:

    Text
    harness-deploy/frontend/values.yaml

    7 Click Submit Deploy Frontend

    Add the artifact

  9. Back in the service setup page: 1 Click Add Artifact Source

    Deploy Frontend

  10. In the Artifact Repository Type: click Docker Registry, then Continue

  11. In Connector selection page: pick DockerHub from the list, then Apply Selected, then Continue

  12. In the artifact details pane:
    1 name the artifact frontend
    2 in the Image Path field, paste the value:

    Text
    nikpap/harness-workshop

    3 Click the field type box and change it to Expression
    4 In the tag field, paste the value:

    Text
    <+variable.username>-<+pipeline.sequenceId>

    Deploy Frontend

  13. On the New Service page: Click Save

    Leverage platform team provided Environment and Infrastructure

  14. back in Pipeline Studio: 1 click Environment, 2 select prod from environment list, 3 k8s from the Infrastructure list, 4 click Continue

    Deploy Frontend

    Note

    With Harness, a platform team can easily create and manage environments and infrastructure, then developers can use them to deploy their applications.

  15. In the Execution Strategies popup: Click Rolling in the top left, then Use Strategy in the bottom right.

    Run updated pipeline

  16. Back in Pipeline Studio (top right): 1 Click **Save*, 2 Click **Run**

    Deploy Frontend