liveBook · Manning

Nomad UI

As explained in Road to Kubernetes

The Nomad UI is a web interface for viewing and managing Nomad cluster workloads and resources.

Nomad UI is a browser-based interface for viewing and managing Nomad cluster workloads and resources. Open the Nomad server’s public IP on port 4646 to reach the jobs view. section 9.2.3

Use the interface to work through a basic job lifecycle:

  • Open Jobs and choose Run Job. section 9.2.5
  • Paste a Nomad HCL job definition, select Plan to preview the intended changes, then select Run. section 9.2.5
  • Inspect job status and details while Nomad attempts to run the container image. section 9.2.5
  • Select Stop Job and confirm; select Purge Job to remove the job completely. section 9.2.5

Run a container through Nomad UI

Open http://<nomad-server-public-ip-address>:4646/ui/, choose Jobs, select Run Job, and paste a definition containing a Docker task for the codingforentrepreneurs/rk8s-py image. Plan the job before running it, then inspect its details in the interface. section 9.2.5

Listing 9.8 Nomad job definition
job "a_unique_job_name" {
  group "unique_group_per_job" {
    task "unique_task_per_group" {
      driver = "docker"
      config {
        image = "codingforentrepreneurs/rk8s-py"
      }
    }
  }
}

Shows the compact HCL structure used when submitting a Docker container job through Nomad UI. section 9.2.5

How Road to Kubernetes covers it

How deep it goes
Explains access, planning, running, status inspection, stopping, and purging, while deferring the UI’s full feature set.
Examples
Uses a browser URL, a Docker-based HCL job, plan and run actions, job details, and stop-or-purge operations.
What it assumes
Assumes a reachable Nomad server and public IP address; teaches the browser-based job workflow rather than requiring command-line use.
What you can do after
Operate/configure Nomad jobs by submitting definitions, previewing plans, running containers, checking status, and removing jobs.
How it connects
Connects Nomad UI with Nomad clusters, Nomad jobs, Docker containers, HCL, and command-line job management.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Road to Kubernetes. The section links point to the parts of the book it draws on.