customizations
Creates, updates, deletes, gets or lists a customizations resource.
Overview​
| Name | customizations |
| Type | Resource |
| Id | ovh.cloud_kube.customizations |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
api_server | object | Kubernetes cluster api server customization (wire: apiServer) |
cilium | object | Kubernetes cluster cilium customization |
kube_proxy | object | Kubernetes cluster kube-proxy customization (wire: kubeProxy) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | kube_id, service_name | Get cluster customization | |
update | update | kube_id, service_name | Update cluster customization |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
kube_id | string | Kube ID (wire: kubeId) |
service_name | string | The Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set. |
SELECT examples​
- get
Get cluster customization
SELECT
api_server,
cilium,
kube_proxy
FROM ovh.cloud_kube.customizations
WHERE kube_id = '{{ kube_id }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;
UPDATE examples​
- update
Update cluster customization
UPDATE ovh.cloud_kube.customizations
SET
api_server = '{{ api_server }}',
cilium = '{{ cilium }}',
kube_proxy = '{{ kube_proxy }}'
WHERE
kube_id = '{{ kube_id }}' --required
AND service_name = '{{ service_name }}' --required unless OVH_CLOUD_PROJECT_SERVICE is set
RETURNING
message;