github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/jobspec/test-fixtures/tg-service-connect-resources.hcl (about)

     1  job "sidecar_task_resources" {
     2    type = "service"
     3  
     4    group "group" {
     5      service {
     6        name = "example"
     7  
     8        connect {
     9          # should still work without sidecar_service being set (i.e. connect gateway)
    10          sidecar_task {
    11            resources {
    12              cpu        = 111
    13              memory     = 222
    14              memory_max = 333
    15            }
    16          }
    17        }
    18      }
    19    }
    20  }