In a site, each service in an application runs in one or more instances. A service instance is the smallest scheduled unit, which means that all containers in a service are always scheduled together.
Valid when: ../locally-deployed = "true"
fields | string Retrieve only requested fields from the resource See section fields |
where | string Retrieve only items matching the given expression. See section where |
site | string Send the request to the specfifed site |
keys | string <enumeration> Retrieve only the keys for the list |
count | string <enumeration> Retrieve only the number of elements in the list |
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
- name: popcorn-systems.myapp.cr-1 application-version: 2.4.2 oper-status: running ready: true host: host-001 application-network: shared-application-network: mynetwork ips: - 172.19.0.1/16 dns-records: - cr-1.myapp.internal. 15 IN A 172.19.0.1 - cr.myapp.internal. 15 IN A 172.19.0.1 gateway-network: ips: - 172.23.255.2/24 outbound-network-access: inherited: default-action: deny rules: 192.0.2.0/24: allow from-application: deny-all: true combined: deny-all: true ingress: interface: eth0 ips: - 192.168.100.97 dns-records: - cr-1.myapp.stockholm-sergel.trial.avassa.net. 15 IN A 192.168.100.97 - cr.myapp.stockholm-sergel.trial.avassa.net. 15 IN A 192.168.100.97 inbound-network-access: inherited: default-action: deny rules: 192.0.2.0/24: allow from-application: allow-all: true combined: default-action: deny rules: 192.0.2.0/24: allow ephemeral-volumes: - name: fast-storage size: 1GB host-volume: fast-host-storage persistent-volumes: - name: persistent-storage size: 1GB host-volume: fast-host-storage init-containers: - name: setup id: 189d9234f12c oper-status: completed start-time: 2021-02-17T12:08:39.100Z current-restarts: 0 total-restarts: 0 memory: 10MiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda containers: - name: popcorn-systems.myapp.cr-1.mydb id: 75be6d60d41f oper-status: running ready: true start-time: 2021-02-17T12:08:39.202Z current-restarts: 0 total-restarts: 0 probes: startup: status: success readiness: status: success liveness: status: success memory: 1GiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda
Valid when: ../locally-deployed = "true"
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
name: popcorn-systems.myapp.cr-1 application-version: 2.4.2 oper-status: running ready: true host: host-001 application-network: shared-application-network: mynetwork ips: - 172.19.0.1/16 dns-records: - cr-1.myapp.internal. 15 IN A 172.19.0.1 - cr.myapp.internal. 15 IN A 172.19.0.1 gateway-network: ips: - 172.23.255.2/24 outbound-network-access: inherited: default-action: deny rules: 192.0.2.0/24: allow from-application: deny-all: true combined: deny-all: true ingress: interface: eth0 ips: - 192.168.100.97 dns-records: - cr-1.myapp.stockholm-sergel.trial.avassa.net. 15 IN A 192.168.100.97 - cr.myapp.stockholm-sergel.trial.avassa.net. 15 IN A 192.168.100.97 inbound-network-access: inherited: default-action: deny rules: 192.0.2.0/24: allow from-application: allow-all: true combined: default-action: deny rules: 192.0.2.0/24: allow ephemeral-volumes: - name: fast-storage size: 1GB host-volume: fast-host-storage persistent-volumes: - name: persistent-storage size: 1GB host-volume: fast-host-storage init-containers: - name: setup id: 189d9234f12c oper-status: completed start-time: 2021-02-17T12:08:39.100Z current-restarts: 0 total-restarts: 0 memory: 10MiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda containers: - name: popcorn-systems.myapp.cr-1.mydb id: 75be6d60d41f oper-status: running ready: true start-time: 2021-02-17T12:08:39.202Z current-restarts: 0 total-restarts: 0 probes: startup: status: success readiness: status: success liveness: status: success memory: 1GiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda
Inspect detailed information about the requested and allocated resources and the relevant resource constraints in relation to a running container.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
effective-constraints: memory: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 10MiB cpus: source: tenant-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 0.5 cpu-shares: source: system-profile profile-name: appowner-profile constraint: 1024 container-layer-size: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 10MiB devices: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraints: - label: rtc devices: - /dev/rtc0 gpus: source: tenant-profile profile-owner: siteprovider profile-name: appowner-profile constraints: - label: nvidia gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda requested-resources: memory: 100MiB cpus: 1.0 cpu-shares: 1024 container-layer-size: 10MiB devices: device-labels: - rtc gpu: labels: - nvidia number-gpus: 1 gpu-patterns: - vendor == "NVIDIA", display-mode == "Enabled" currently-allocated: memory: 10MiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda would-allocate: memory: 100MiB cpus: 1.0 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
inherited: allow-all: true assigned: tenant: acme source: assigned-site-profile profile-name: restricted-outbound default-action: deny rules: 192.0.2.0/24: allow by-subtenants: allow-all: true from-application: allow-all: true combined: default-action: deny rules: 192.0.2.0/24: allow
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
inherited: allow-all: true assigned: tenant: acme source: tenant-profile profile-name: restricted-inbound default-action: deny rules: 192.0.2.0/24: allow by-subtenants: allow-all: true from-application: allow-all: true combined: default-action: deny rules: 192.0.2.0/24: allow
Inspect detailed information about the requested and allocated resources and the relevant resource constraints in relation to a running container.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
effective-constraints: memory: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 10MiB cpus: source: tenant-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 0.5 cpu-shares: source: system-profile profile-name: appowner-profile constraint: 1024 container-layer-size: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 10MiB devices: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraints: - label: rtc devices: - /dev/rtc0 gpus: source: tenant-profile profile-owner: siteprovider profile-name: appowner-profile constraints: - label: nvidia gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda requested-resources: memory: 100MiB cpus: 1.0 cpu-shares: 1024 container-layer-size: 10MiB devices: device-labels: - rtc gpu: labels: - nvidia number-gpus: 1 gpu-patterns: - vendor == "NVIDIA", display-mode == "Enabled" currently-allocated: memory: 10MiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda would-allocate: memory: 100MiB cpus: 1.0 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda
Force a restart of the service instance.
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Service Unavailable (strongbox sealed)
no-delayed-shutdown: true
Inspect detailed information about the requested and allocated resources and the relevant resource constraints in relation to a running container.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
effective-constraints: memory: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 10MiB cpus: source: tenant-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 0.5 cpu-shares: source: system-profile profile-name: appowner-profile constraint: 1024 container-layer-size: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraint: 10MiB devices: source: assigned-site-profile profile-owner: siteprovider profile-name: appowner-profile constraints: - label: rtc devices: - /dev/rtc0 gpus: source: tenant-profile profile-owner: siteprovider profile-name: appowner-profile constraints: - label: nvidia gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda requested-resources: memory: 100MiB cpus: 1.0 cpu-shares: 1024 container-layer-size: 10MiB devices: device-labels: - rtc gpu: labels: - nvidia number-gpus: 1 gpu-patterns: - vendor == "NVIDIA", display-mode == "Enabled" currently-allocated: memory: 10MiB cpus: 0.5 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda would-allocate: memory: 100MiB cpus: 1.0 cpu-shares: 1024 container-layer-size: 10MiB devices: - /dev/rtc0 gpus: - id: GPU-de663f3f-856c-4e48-9269-c2269169bfda