System Settings

Settings related to the system.

Update the system settings

SecurityaccessToken
Request
query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Request Body schema:
object
object

Top level system resource defaults used for all hosts in all sites. These default values may be overridden by system resource profiles configured on specific sites or specific hosts.

object

Top level system site defaults used for all hosts in all sites. These default values may be overridden by system site configuration or system site profiles configured on specific sites.

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

patch/v1/config/system/settings
Request samples
sites:
  disconnected-grace-period: 90d
  audit-trail-log-retention: 30d
  audit-trail-log-max-size: 10 MB
  application-owner-location-resolution: 2
  location-publish-interval: 5m
  location-persist-interval: 1h
resource-defaults:
  memory:
    memory-limit: 8GiB
  cpus:
    cpus-limit: 4.0
  container-storage:
    container-layer-storage-limit: 500MiB
  device-labels:
    - label: video-dev
      udev-patterns:
        - SUBSYSTEM=="video4linux", BUS=="usb"
  gpu-labels:
    - label: gpu-all
      max-number-gpus: 1
      all: true
  system-volumes:
    - name: daemon-socket
      path: /var/run/my-daemon.sock
      mode: read-only
site-defaults:
  supd-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  application-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  os-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  allow-local-unseal: true
  protect-with-tpm: best-effort
  when-disconnected: treat-as-error
  sync-time: false
  ingress-allocation-method: dhcp
  ingress-dhcp-client-fqdn-option:
    enabled: true
    legacy-encoding: false
  parent-cluster-address:
    dnsname: ct.example.com
    ca-cert: |
      -----BEGIN CERTIFICATE-----
      MIIDUDCCAvagAwIBAgITAKYom2ar3MFwt//DipR5NywBdjAKBggqhkjOPQQDAjBa
      MQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2NraG9sbTELMAkGA1UEBhMC
      U0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlzdHJpYnV0aW9uMCIYDzIw
      MjIwMTEyMDYyMTQ4WhgPMjAyMjAxMjcwOTU3NDhaMGIxFzAVBgNVBAMTDnRpby5h
      dmFzc2EubmV0MRIwEAYDVQQHEwlTdG9ja2hvbG0xCzAJBgNVBAYTAlNFMQ8wDQYD
      VQQKEwZBdmFzc2ExFTATBgNVBAsTDGRpc3RyaWJ1dGlvbjCCASIwDQYJKoZIhvcN
      AQEBBQADggEPADCCAQoCggEBAKa7LYXK0P1IOpXkEAI52kJizdUA74z7NsAegV38
      LFvipzCggEJr9niqRNmZqR6B8cs+CWIRZub0Qm5eQIzPtZtzLzwBD+i5AyitW5Tq
      Top79tVlta4wupAtkxBCOeIAzFtFwWaiGCVA+4D9Ns6TXo7GUxC0aw/MOeRyAHt/
      HaBIPk6hIGKOAiCjP4r4fEl4tWpSNzexovCvKCl4fGs4WLvRR1YoNdx0spvROc63
      hd9gikokDEuHMsh9Q1wEIP7/V+rgbYGtRw990mHl0zWoGtS+hp/QHAngcJnJiJk3
      gOPTXnQKqCzBWUmZUdwt27LKTdK7Vsq6DtNEKchaqRzGMRkCAwEAAaOBwzCBwDB+
      BgNVHSMEdzB1oV6kXDBaMQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2Nr
      aG9sbTELMAkGA1UEBhMCU0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlz
      dHJpYnV0aW9ughMAp0MSfyaImp0XtPO3uqCnMRITMCMGA1UdEQQcMBqCDnRpby5h
      dmFzc2EubmV0ggNmb2+CA2JhcjALBgNVHQ8EBAMCA4gwDAYDVR0TAQH/BAIwADAK
      BggqhkjOPQQDAgNIADBFAiAssZp0WV7ejre85Zh4LJZQiTVWEObLXRwifAHQoiqi
      iwIhAOga9thMhWISM1FFgSTeNUtUe9jziVdPfSYQpInAcg3V
      -----END CERTIFICATE-----

Delete the system settings

SecurityaccessToken
Request
query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

delete/v1/config/system/settings

Replace or create the system settings

SecurityaccessToken
Request
query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Request Body schema:
object
object

Top level system resource defaults used for all hosts in all sites. These default values may be overridden by system resource profiles configured on specific sites or specific hosts.

object

Top level system site defaults used for all hosts in all sites. These default values may be overridden by system site configuration or system site profiles configured on specific sites.

Responses
201

Created

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

put/v1/config/system/settings
Request samples
sites:
  disconnected-grace-period: 90d
  audit-trail-log-retention: 30d
  audit-trail-log-max-size: 10 MB
  application-owner-location-resolution: 2
  location-publish-interval: 5m
  location-persist-interval: 1h
resource-defaults:
  memory:
    memory-limit: 8GiB
  cpus:
    cpus-limit: 4.0
  container-storage:
    container-layer-storage-limit: 500MiB
  device-labels:
    - label: video-dev
      udev-patterns:
        - SUBSYSTEM=="video4linux", BUS=="usb"
  gpu-labels:
    - label: gpu-all
      max-number-gpus: 1
      all: true
  system-volumes:
    - name: daemon-socket
      path: /var/run/my-daemon.sock
      mode: read-only
site-defaults:
  supd-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  application-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  os-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  allow-local-unseal: true
  protect-with-tpm: best-effort
  when-disconnected: treat-as-error
  sync-time: false
  ingress-allocation-method: dhcp
  ingress-dhcp-client-fqdn-option:
    enabled: true
    legacy-encoding: false
  parent-cluster-address:
    dnsname: ct.example.com
    ca-cert: |
      -----BEGIN CERTIFICATE-----
      MIIDUDCCAvagAwIBAgITAKYom2ar3MFwt//DipR5NywBdjAKBggqhkjOPQQDAjBa
      MQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2NraG9sbTELMAkGA1UEBhMC
      U0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlzdHJpYnV0aW9uMCIYDzIw
      MjIwMTEyMDYyMTQ4WhgPMjAyMjAxMjcwOTU3NDhaMGIxFzAVBgNVBAMTDnRpby5h
      dmFzc2EubmV0MRIwEAYDVQQHEwlTdG9ja2hvbG0xCzAJBgNVBAYTAlNFMQ8wDQYD
      VQQKEwZBdmFzc2ExFTATBgNVBAsTDGRpc3RyaWJ1dGlvbjCCASIwDQYJKoZIhvcN
      AQEBBQADggEPADCCAQoCggEBAKa7LYXK0P1IOpXkEAI52kJizdUA74z7NsAegV38
      LFvipzCggEJr9niqRNmZqR6B8cs+CWIRZub0Qm5eQIzPtZtzLzwBD+i5AyitW5Tq
      Top79tVlta4wupAtkxBCOeIAzFtFwWaiGCVA+4D9Ns6TXo7GUxC0aw/MOeRyAHt/
      HaBIPk6hIGKOAiCjP4r4fEl4tWpSNzexovCvKCl4fGs4WLvRR1YoNdx0spvROc63
      hd9gikokDEuHMsh9Q1wEIP7/V+rgbYGtRw990mHl0zWoGtS+hp/QHAngcJnJiJk3
      gOPTXnQKqCzBWUmZUdwt27LKTdK7Vsq6DtNEKchaqRzGMRkCAwEAAaOBwzCBwDB+
      BgNVHSMEdzB1oV6kXDBaMQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2Nr
      aG9sbTELMAkGA1UEBhMCU0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlz
      dHJpYnV0aW9ughMAp0MSfyaImp0XtPO3uqCnMRITMCMGA1UdEQQcMBqCDnRpby5h
      dmFzc2EubmV0ggNmb2+CA2JhcjALBgNVHQ8EBAMCA4gwDAYDVR0TAQH/BAIwADAK
      BggqhkjOPQQDAgNIADBFAiAssZp0WV7ejre85Zh4LJZQiTVWEObLXRwifAHQoiqi
      iwIhAOga9thMhWISM1FFgSTeNUtUe9jziVdPfSYQpInAcg3V
      -----END CERTIFICATE-----

Retrieve the configuration of system settings

SecurityaccessToken
Request
query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Responses
200

OK

304

Not Modified

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

get/v1/config/system/settings
Response samples
sites:
  disconnected-grace-period: 90d
  audit-trail-log-retention: 30d
  audit-trail-log-max-size: 10 MB
  application-owner-location-resolution: 2
  location-publish-interval: 5m
  location-persist-interval: 1h
resource-defaults:
  memory:
    memory-limit: 8GiB
  cpus:
    cpus-limit: 4.0
  container-storage:
    container-layer-storage-limit: 500MiB
  device-labels:
    - label: video-dev
      udev-patterns:
        - SUBSYSTEM=="video4linux", BUS=="usb"
  gpu-labels:
    - label: gpu-all
      max-number-gpus: 1
      all: true
  system-volumes:
    - name: daemon-socket
      path: /var/run/my-daemon.sock
      mode: read-only
site-defaults:
  supd-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  application-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  os-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  allow-local-unseal: true
  protect-with-tpm: best-effort
  when-disconnected: treat-as-error
  sync-time: false
  ingress-allocation-method: dhcp
  ingress-dhcp-client-fqdn-option:
    enabled: true
    legacy-encoding: false
  parent-cluster-address:
    dnsname: ct.example.com
    ca-cert: |
      -----BEGIN CERTIFICATE-----
      MIIDUDCCAvagAwIBAgITAKYom2ar3MFwt//DipR5NywBdjAKBggqhkjOPQQDAjBa
      MQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2NraG9sbTELMAkGA1UEBhMC
      U0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlzdHJpYnV0aW9uMCIYDzIw
      MjIwMTEyMDYyMTQ4WhgPMjAyMjAxMjcwOTU3NDhaMGIxFzAVBgNVBAMTDnRpby5h
      dmFzc2EubmV0MRIwEAYDVQQHEwlTdG9ja2hvbG0xCzAJBgNVBAYTAlNFMQ8wDQYD
      VQQKEwZBdmFzc2ExFTATBgNVBAsTDGRpc3RyaWJ1dGlvbjCCASIwDQYJKoZIhvcN
      AQEBBQADggEPADCCAQoCggEBAKa7LYXK0P1IOpXkEAI52kJizdUA74z7NsAegV38
      LFvipzCggEJr9niqRNmZqR6B8cs+CWIRZub0Qm5eQIzPtZtzLzwBD+i5AyitW5Tq
      Top79tVlta4wupAtkxBCOeIAzFtFwWaiGCVA+4D9Ns6TXo7GUxC0aw/MOeRyAHt/
      HaBIPk6hIGKOAiCjP4r4fEl4tWpSNzexovCvKCl4fGs4WLvRR1YoNdx0spvROc63
      hd9gikokDEuHMsh9Q1wEIP7/V+rgbYGtRw990mHl0zWoGtS+hp/QHAngcJnJiJk3
      gOPTXnQKqCzBWUmZUdwt27LKTdK7Vsq6DtNEKchaqRzGMRkCAwEAAaOBwzCBwDB+
      BgNVHSMEdzB1oV6kXDBaMQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2Nr
      aG9sbTELMAkGA1UEBhMCU0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlz
      dHJpYnV0aW9ughMAp0MSfyaImp0XtPO3uqCnMRITMCMGA1UdEQQcMBqCDnRpby5h
      dmFzc2EubmV0ggNmb2+CA2JhcjALBgNVHQ8EBAMCA4gwDAYDVR0TAQH/BAIwADAK
      BggqhkjOPQQDAgNIADBFAiAssZp0WV7ejre85Zh4LJZQiTVWEObLXRwifAHQoiqi
      iwIhAOga9thMhWISM1FFgSTeNUtUe9jziVdPfSYQpInAcg3V
      -----END CERTIFICATE-----

Retrieve the certificate ttls

SecurityaccessToken
Request
query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

site
string

Send the request to the specfifed site

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

get/v1/state/system/certificate-ttls
Response samples
api-certificates:
  root-ca:
    ttl: 3y120d
    renew-threshold: 1y175d
    activate-threshold: 1y40d
  site-ca:
    ttl: 1y40d
    renew-threshold: 135d
    activate-threshold: 0s
  endpoint-certificate:
    ttl: 135d
    renew-threshold: 90d
site-cluster-certificates:
  root-ca:
    ttl: 2y350d
    renew-threshold: 270d
    activate-threshold: 135d
  host-certificate:
    ttl: 135d
    renew-threshold: 90d

Retrieve the the state of system settings

SecurityaccessToken
Request
query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

site
string

Send the request to the specfifed site

content
string <enumeration>

Filter descendant nodes in the response

Enum: "config" "nonconfig"
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

get/v1/state/system/settings
Response samples
sites:
  disconnected-grace-period: 90d
  audit-trail-log-retention: 30d
  audit-trail-log-max-size: 10 MB
  application-owner-location-resolution: 2
  location-publish-interval: 5m
  location-persist-interval: 1h
resource-defaults:
  memory:
    memory-limit: 8GiB
  cpus:
    cpus-limit: 4.0
  container-storage:
    container-layer-storage-limit: 500MiB
  device-labels:
    - label: video-dev
      udev-patterns:
        - SUBSYSTEM=="video4linux", BUS=="usb"
  gpu-labels:
    - label: gpu-all
      max-number-gpus: 1
      all: true
  system-volumes:
    - name: daemon-socket
      path: /var/run/my-daemon.sock
      mode: read-only
site-defaults:
  supd-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  application-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  os-upgrade-windows:
    - days-of-week: Friday, Saturday
      start-time: 01:00
      timezone: UTC
      duration: 4h
  allow-local-unseal: true
  protect-with-tpm: best-effort
  when-disconnected: treat-as-error
  sync-time: false
  ingress-allocation-method: dhcp
  ingress-dhcp-client-fqdn-option:
    enabled: true
    legacy-encoding: false
  parent-cluster-address:
    dnsname: ct.example.com
    ca-cert: |
      -----BEGIN CERTIFICATE-----
      MIIDUDCCAvagAwIBAgITAKYom2ar3MFwt//DipR5NywBdjAKBggqhkjOPQQDAjBa
      MQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2NraG9sbTELMAkGA1UEBhMC
      U0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlzdHJpYnV0aW9uMCIYDzIw
      MjIwMTEyMDYyMTQ4WhgPMjAyMjAxMjcwOTU3NDhaMGIxFzAVBgNVBAMTDnRpby5h
      dmFzc2EubmV0MRIwEAYDVQQHEwlTdG9ja2hvbG0xCzAJBgNVBAYTAlNFMQ8wDQYD
      VQQKEwZBdmFzc2ExFTATBgNVBAsTDGRpc3RyaWJ1dGlvbjCCASIwDQYJKoZIhvcN
      AQEBBQADggEPADCCAQoCggEBAKa7LYXK0P1IOpXkEAI52kJizdUA74z7NsAegV38
      LFvipzCggEJr9niqRNmZqR6B8cs+CWIRZub0Qm5eQIzPtZtzLzwBD+i5AyitW5Tq
      Top79tVlta4wupAtkxBCOeIAzFtFwWaiGCVA+4D9Ns6TXo7GUxC0aw/MOeRyAHt/
      HaBIPk6hIGKOAiCjP4r4fEl4tWpSNzexovCvKCl4fGs4WLvRR1YoNdx0spvROc63
      hd9gikokDEuHMsh9Q1wEIP7/V+rgbYGtRw990mHl0zWoGtS+hp/QHAngcJnJiJk3
      gOPTXnQKqCzBWUmZUdwt27LKTdK7Vsq6DtNEKchaqRzGMRkCAwEAAaOBwzCBwDB+
      BgNVHSMEdzB1oV6kXDBaMQ8wDQYDVQQDEwZBdmFzc2ExEjAQBgNVBAcTCVN0b2Nr
      aG9sbTELMAkGA1UEBhMCU0UxDzANBgNVBAoTBkF2YXNzYTEVMBMGA1UECxMMZGlz
      dHJpYnV0aW9ughMAp0MSfyaImp0XtPO3uqCnMRITMCMGA1UdEQQcMBqCDnRpby5h
      dmFzc2EubmV0ggNmb2+CA2JhcjALBgNVHQ8EBAMCA4gwDAYDVR0TAQH/BAIwADAK
      BggqhkjOPQQDAgNIADBFAiAssZp0WV7ejre85Zh4LJZQiTVWEObLXRwifAHQoiqi
      iwIhAOga9thMhWISM1FFgSTeNUtUe9jziVdPfSYQpInAcg3V
      -----END CERTIFICATE-----