Get disabled K3s components
import requests
url = "https://platform.ankra.app/api/v1/clusters/scaleway/{cluster_id}/k3s-disabled-components"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/scaleway/{cluster_id}/k3s-disabled-components', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/scaleway/{cluster_id}/k3s-disabled-components \
--header 'Authorization: Bearer <token>'{
"k3s_disabled_components": [
"<string>"
],
"resource_ids": [
"<string>"
],
"control_plane_count": 123,
"applies": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scaleway Clusters
Get disabled K3s components
Read the k3s packaged components the platform keeps disabled on this running cluster (k3s —disable), on top of the provider shape’s own defaults. The list is stored on every k8s node definition of the cluster. The maintenance read lane compares each control plane’s k3s server config against it within about five minutes and flags the ones missing an entry; the reconcile lane then patches the config and restarts k3s on one control plane at a time, in the cluster’s k8s update chain. Control planes already carrying every entry are not touched. Invalid states (a kubeadm or Scaleway cluster, no k8s node resources, a cluster of another provider) answer 409 with a detail message.
GET
/
api
/
v1
/
clusters
/
scaleway
/
{cluster_id}
/
k3s-disabled-components
Get disabled K3s components
import requests
url = "https://platform.ankra.app/api/v1/clusters/scaleway/{cluster_id}/k3s-disabled-components"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/scaleway/{cluster_id}/k3s-disabled-components', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/scaleway/{cluster_id}/k3s-disabled-components \
--header 'Authorization: Bearer <token>'{
"k3s_disabled_components": [
"<string>"
],
"resource_ids": [
"<string>"
],
"control_plane_count": 123,
"applies": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Response
Successful Response