Policies allow administrators to impose restrictions and set default values for researcher workloads. Restrictions and default values can be placed on CPUs, GPUs, and other resources or entities. For more information, see Policies.
Retrieve a list of all the applied policies.
Request completed successfully.
Unauthorized
Forbidden
unexpected error
{- "policies": [
- {
- "type": "workspace",
- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "status": {
- "clusters": [
- {
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "status": "Not ready",
- "errorMessage": "string"
}
]
}
}
]
}
Use to apply changes to training policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "reset": [
- "master.security.runAsGpu",
- "worker.compute.gpu"
]
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to apply a training policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Retrieve the details of an training policy for a given organizational unit.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "completions": 1,
- "parallelism": 1,
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "completions": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "parallelism": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to delete a training policy for a given organizational unit.
The policy was deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Use to apply changes to workspace policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "reset": [
- "master.security.runAsGpu",
- "worker.compute.gpu"
]
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Ue to apply a workspace policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Retrieve the details of a workspace policy for a given organizational unit.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "priorityClass": "build",
- "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}
]
}
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "priorityClass": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "build",
- "displayed": "string"
}
]
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to delete a workspace policy for a given organizational unit.
The policy was deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Use to apply changes to distributed policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "reset": [
- "master.security.runAsGpu",
- "worker.compute.gpu"
]
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "effective": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to apply a distributed policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "effective": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Retrieve the details of a distributed policy for a given organizational unit.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "effective": {
- "defaults": {
- "worker": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}, - "numWorkers": 1,
- "distributedFramework": "MPI",
- "slotsPerWorker": 1,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "master": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": null,
- "key": null
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "terminateAfterPreemption": false,
- "autoDeletionTimeAfterCompletionSeconds": 15,
- "backoffLimit": 3,
- "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8",
- "allowPrivilegeEscalation": false,
- "hostIpc": false,
- "hostNetwork": false
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": null,
- "quantity": null,
- "exclude": null
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": null,
- "mountPath": null
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}, - "instances": [
- {
- "name": null,
- "path": null,
- "existingPvc": null,
- "claimName": null,
- "readOnly": null,
- "ephemeral": null,
- "claimInfo": null
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "mountPath": null,
- "mountPropagation": null
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": null,
- "path": null,
- "readOnly": null,
- "server": null,
- "mountPath": null
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": null,
- "repository": null,
- "branch": null,
- "revision": null,
- "path": null,
- "passwordSecret": null,
- "secretKeyOfUser": null,
- "secretKeyOfPassword": null
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": null,
- "configMap": null,
- "mountPath": null
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": null,
- "mountPath": null,
- "secret": null
}
]
}, - "s3": {
- "attributes": {
- "name": "storage-instance-a",
- "bucket": "my-bucket",
- "path": "/container/my-bucket",
- "accessKeySecret": "my-access-key-secret",
- "secretKeyOfAccessKeyId": "AccessKeyId",
- "secretKeyOfSecretKey": "SecretKey"
}, - "instances": [
- {
- "name": null,
- "bucket": null,
- "path": null,
- "url": null,
- "accessKeySecret": null,
- "secretKeyOfAccessKeyId": null,
- "secretKeyOfSecretKey": null
}
]
}
}
}
}, - "rules": {
- "worker": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "numWorkers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "distributedFramework": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "MPI",
- "displayed": "string"
}
]
}, - "slotsPerWorker": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}, - "master": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": null,
- "port": null,
- "host": null,
- "scheme": null
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "terminateAfterPreemption": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "autoDeletionTimeAfterCompletionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "backoffLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "allowPrivilegeEscalation": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostIpc": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "hostNetwork": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "readOnly": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "s3": {
- "attributes": {
- "bucket": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}
}
}, - "imposedAssets": {
- "worker": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "master": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to delete a distributed policy for a given organizational unit.
The policy was deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Use to apply changes to inference policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "reset": [
- "master.security.runAsGpu",
- "worker.compute.gpu"
]
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to apply an inference policy for a given organizational unit.
Policy applied.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "meta": {
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Retrieve the details of an inference policy for a given organizational unit.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenantId": 1001,
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "scope": "system",
- "projectId": 1,
- "departmentId": 2,
- "name": "my-policy"
}, - "policy": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effective": {
- "defaults": {
- "command": "python",
- "args": "-x my-script.py",
- "image": "python:3.8",
- "imagePullPolicy": "Always",
- "workingDir": "/home/myfolder",
- "createHomeDir": true,
- "probes": {
- "readiness": {
- "initialDelaySeconds": 0,
- "periodSeconds": 1,
- "timeoutSeconds": 1,
- "successThreshold": 1,
- "failureThreshold": 1,
- "handler": {
- "httpGet": {
- "path": "/",
- "port": 1,
- "host": "example.com",
- "scheme": "HTTP"
}
}
}
}, - "nodeType": "my-node-type",
- "nodePools": [
- "my-node-pool-a",
- "my-node-pool-b"
], - "podAffinity": {
- "type": "Required",
- "key": "string"
}, - "environmentVariables": {
- "instances": [
- {
- "name": "HOME",
- "value": "/home/my-folder",
- "secret": {
- "name": "postgress_secret",
- "key": "POSTGRES_PASSWORD"
}, - "exclude": false
}
]
}, - "annotations": {
- "instances": [
- {
- "name": "billing",
- "value": "my-billing-unit",
- "exclude": false
}
]
}, - "labels": {
- "instances": [
- {
- "name": "stage",
- "value": "initial-research",
- "exclude": false
}
]
}, - "tolerations": {
- "attributes": {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}, - "instances": [
- {
- "name": "string",
- "operator": "Equal",
- "key": "string",
- "value": "string",
- "effect": "NoSchedule",
- "seconds": 1,
- "exclude": false
}
]
}, - "ports": {
- "attributes": {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "serviceType": "LoadBalancer",
- "external": 30080,
- "toolType": "pytorch",
- "toolName": "my-pytorch",
- "name": "port-instance-a"
}
]
}, - "exposedUrls": {
- "attributes": {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}, - "instances": [
- {
- "container": 8080,
- "authorizedUsers": [
- "user-a",
- "user-b"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "toolType": "jupyter",
- "toolName": "my-pytorch",
- "name": "url-instance-a"
}
]
}, - "relatedUrls": {
}, - "compute": {
- "gpuDevicesRequest": 1,
- "gpuRequestType": "portion",
- "gpuPortionRequest": 0.5,
- "gpuPortionLimit": 0.5,
- "gpuMemoryRequest": "10M",
- "gpuMemoryLimit": "10M",
- "migProfile": "1g.5gb",
- "cpuCoreRequest": 0.5,
- "cpuCoreLimit": 2,
- "cpuMemoryRequest": "20M",
- "cpuMemoryLimit": "30M",
- "largeShmRequest": false,
- "extendedResources": {
- "attributes": {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}, - "instances": [
- {
- "resource": "hardware-vendor.example/foo",
- "quantity": 2,
- "exclude": false
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}, - "instances": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "mountPath": "/mnt/data"
}
]
}, - "pvc": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": "1G",
- "storageClass": "my-storage-class",
- "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}, - "volumeMode": "Filesystem"
}
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/my-claim",
- "existingPvc": false,
- "claimName": "my-claim",
- "readOnly": false,
- "ephemeral": false,
- "claimInfo": {
- "size": null,
- "storageClass": null,
- "accessModes": null,
- "volumeMode": null
}
}
]
}, - "hostPath": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/directory",
- "readOnly": true,
- "mountPath": "/local/directory",
- "mountPropagation": "None"
}
]
}, - "nfs": {
- "attributes": {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "path": "/container/nfs",
- "readOnly": true,
- "server": "my.nfs.com",
- "mountPath": "/local/nfs"
}
]
}, - "git": {
- "attributes": {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "branch": "main",
- "revision": "string",
- "path": "/container/my-repository",
- "passwordSecret": "my-password-secret",
- "secretKeyOfUser": "User",
- "secretKeyOfPassword": "Password"
}
]
}, - "configMapVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "configMap": "string",
- "mountPath": "string"
}
]
}, - "secretVolume": {
- "attributes": {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}, - "instances": [
- {
- "name": "storage-instance-a",
- "mountPath": "string",
- "secret": "string"
}
]
}
}, - "security": {
- "uidGidSource": "fromTheImage",
- "capabilities": [
- "CHOWN",
- "KILL"
], - "seccompProfileType": "RuntimeDefault",
- "runAsNonRoot": true,
- "readOnlyRootFilesystem": false,
- "runAsUid": 500,
- "runAsGid": 30,
- "supplementalGroups": "2,3,5,8"
}, - "servingPort": {
- "container": 8080,
- "protocol": "http",
- "authorizationType": "public",
- "authorizedUsers": [
- "user.a@example.com",
- "user.b@example.com"
], - "authorizedGroups": [
- "group-a",
- "group-b"
], - "clusterLocalAccessOnly": true
}, - "autoscaling": {
- "minReplicas": 0,
- "maxReplicas": 1,
- "scaleToZeroRetentionSeconds": 3600,
- "metric": "throughput",
- "metricThreshold": 0
}
}, - "rules": {
- "command": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "args": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "image": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "imagePullPolicy": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Always",
- "displayed": "string"
}
]
}, - "workingDir": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "createHomeDir": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "probes": {
- "readiness": {
- "initialDelaySeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "periodSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "timeoutSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "successThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "failureThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "handler": {
- "httpGet": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "port": {
- "sourceOfRule": null,
- "required": null,
- "canEdit": null,
- "min": null,
- "max": null,
- "step": null
}, - "host": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "scheme": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}
}
}
}
}, - "nodeType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "nodePools": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "podAffinity": {
- "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "Required",
- "displayed": "string"
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "environmentVariables": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "annotations": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "labels": {
- "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "tolerations": {
- "attributes": {
- "operator": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "key": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "value": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "effect": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "seconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "exclude": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "ports": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "serviceType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": null,
- "displayed": null
}
]
}, - "customExternalPort": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "external": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "exposedUrls": {
- "attributes": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "customUrl": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "authorizedUsers": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "toolType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "toolName": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "relatedUrls": {
- "attributes": {
- "url": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "type": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}, - "name": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "compute": {
- "cpuCoreRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuCoreLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "cpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "cpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "largeShmRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "gpuRequestType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "portion",
- "displayed": "string"
}
]
}, - "migProfile": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "1g.5gb",
- "displayed": "string"
}
]
}, - "gpuDevicesRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuPortionLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "gpuMemoryRequest": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "gpuMemoryLimit": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": "string",
- "max": "string"
}, - "extendedResources": {
- "attributes": {
- "quantity": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "security": {
- "uidGidSource": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "fromTheImage",
- "displayed": "string"
}
]
}, - "capabilities": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "seccompProfileType": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "RuntimeDefault",
- "displayed": "string"
}
]
}, - "runAsNonRoot": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "readOnlyRootFilesystem": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "runAsUid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "runAsGid": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "supplementalGroups": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "value",
- "displayed": "A description of the value."
}
]
}
}, - "storage": {
- "dataVolume": {
- "attributes": {
- "id": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "pvc": {
- "attributes": {
- "claimName": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "claimInfo": {
- "size": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "storageClass": {
- "required": true,
- "canEdit": false,
- "options": [ ]
}, - "accessModes": {
- "readWriteOnce": null,
- "readOnlyMany": null,
- "readWriteMany": null
}
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "hostPath": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPropagation": {
- "required": true,
- "canEdit": false,
- "options": [
- { }
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "nfs": {
- "attributes": {
- "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "readOnly": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true
}, - "server": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "git": {
- "attributes": {
- "repository": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "branch": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "revision": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "path": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "configMapVolume": {
- "attributes": {
- "configMap": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}, - "secretVolume": {
- "attributes": {
- "secret": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}, - "mountPath": {
- "required": true,
- "canEdit": false,
- "options": [
- null
]
}
}, - "instances": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "canAdd": true,
- "locked": [
- "HOME",
- "USER"
]
}
}
}, - "servingPort": {
- "container": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "protocol": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "http",
- "displayed": "string"
}
]
}
}, - "autoscaling": {
- "minReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "maxReplicas": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "metric": {
- "required": true,
- "canEdit": false,
- "options": [
- {
- "value": "throughput",
- "displayed": "string"
}
]
}, - "metricThreshold": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}, - "scaleToZeroRetentionSeconds": {
- "sourceOfRule": {
- "scope": "project",
- "projectId": 3
}, - "required": true,
- "canEdit": true,
- "min": 0,
- "max": 0,
- "step": 0
}
}
}, - "imposedAssets": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "effectiveUpdatedAt": "2019-08-24T14:15:22Z"
}
Use to delete an inference policy for a given organizational unit.
The policy was deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}