DPU Extension Service
Update DPU Extension Service
Update a specific DPU Extension Service.
DPU Extension Service must be owned by current Tenant. A new version will be created if data or credentials are modified.
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
patch/v2/org/{org}/nico/dpu-extension-service/{dpuExtensionServiceId}
Request body
Example request
{
"name": "busybox-ha",
"data": "apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n name: busybox-deployment\\n labels:\\n app: busybox\\nspec:\\n replicas: 3 # You can adjust the number of desired replicas here\\n selector:\\n matchLabels:\\n app: busybox\\n template:\\n metadata:\\n labels:\\n app: busybox\\n spec:\\n containers:\\n - name: busybox-container\\n image: busybox:latest # You can specify a different BusyBox image tag\\n command: [\"sh\", \"-c\", \"echo \\'BusyBox container running\\' && sleep 3600\"]",
"credentials": {
"registryUrl": "https://registry.hub.docker.com",
"username": "johndoe",
"password": "password123"
},
"observability": {
"configs": [
{
"name": "busybox-logs",
"logging": {
"path": "/var/log/busybox.log"
}
}
]
}
}Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "busybox",
"description": "Single, multi-call executable that contains stripped-down versions of common Unix utilities",
"serviceType": "KubernetesPod",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"version": "V1-T1761856992374052",
"versionInfo": {
"version": "V1-T1761856992374052",
"data": "apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n name: busybox-deployment\\n labels:\\n app: busybox\\nspec:\\n replicas: 1 # You can adjust the number of desired replicas here\\n selector:\\n matchLabels:\\n app: busybox\\n template:\\n metadata:\\n labels:\\n app: busybox\\n spec:\\n containers:\\n - name: busybox-container\\n image: busybox:latest # You can specify a different BusyBox image tag\\n command: [\"sh\", \"-c\", \"echo \\'BusyBox container running\\' && sleep 3600\"]",
"hasCredentials": true,
"created": "2019-08-24T14:15:22Z",
"observability": {
"configs": [
{
"name": "busybox-metrics",
"prometheus": {
"scrapeIntervalSeconds": 30,
"endpoint": "busybox:9090"
}
}
]
}
},
"activeVersions": [
"V1-T1761857134382532",
"V1-T1761856992374052"
],
"status": "Ready",
"statusHistory": [
{
"status": "Pending",
"message": "DPU Service Extension is ready for use",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
},
{
"status": "Pending",
"message": "Request received, pending processing",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}