You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OVHcloud Managed Kubernetes service provides you Kubernetes clusters without the hassle of installing or operating them.
36
+
OVHcloud Managed Kubernetes service provides you Kubernetes clusters without the hassle of installing or operating them.
37
37
38
-
**Find out how to reset an OVHcloud Managed Kubernetes cluster.**
38
+
Through the OVHcloud Control Panel and the API, you can reset your OVHcloud Managed Kubernetes cluster.
39
39
40
+
> [!primary]
41
+
>
42
+
> During a reset, all data in the ETCD will be deleted (pods, deployments, services, secrets, CRDs, etc.). Similarly, load balancers and also all PVC (Persistent Volume Claim) with their PCI cinder volumes will be deleted.
43
+
> Nodes will be either deleted or reinstalled (depending on the option you set during the reset).
44
+
45
+
The whole cluster configuration is reset but some values can be defined (optional):
46
+
47
+
- workerNodesPolicy: reinstall|delete
48
+
- minor_version: for ex. 1.25
49
+
- updatePolicy: "ALWAYS_UPDATE" by default
50
+
- customization: API Server & kube proxy configuration
### Step 1 - Ask for cluster reset on the OVHcloud Control Panel
62
+
### Reset a Kubernetes cluster on the OVHcloud Control Panel
63
+
64
+
#### Step 1 - Ask for cluster reset on the OVHcloud Control Panel
49
65
50
66
Log in to the [OVHcloud Control Panel](https://www.ovh.com/auth/?action=gotomanager&from=https://www.ovh.de/&ovhSubsidiary=de), go to the `Public Cloud`{.action} section and select the Public Cloud project concerned.
51
67
@@ -59,8 +75,7 @@ Click on your Kubernetes cluster.
59
75
60
76
In the *Service* tab of the administration UI, click on *Reset your cluster*.
61
77
62
-
63
-
### Step 2 - Choose the type of reset you want
78
+
#### Step 2 - Choose the type of reset you want
64
79
65
80
You have two options on the reset menu, *Delete* and *Reinstall*.
66
81
@@ -75,12 +90,93 @@ You can also choose the minor version of the cluster and the private network att
75
90
Click on the `Confirm`{.action} button to continue.
76
91
77
92
78
-
### Step 3 - Wait for the resetting to end
93
+
####Step 3 - Wait for the resetting to end
79
94
80
95
Depending on the chosen kind of reset, the process can take several minutes. During that time, a message on the manager warns you that the cluster is under resetting:
To simplify things, we are using the [API Explorer](https://api.ovh.com/) which allows to explore, learn and interact with the API in an interactive way.
104
+
105
+
Log in to the API Explorer using your OVHcloud NIC handle.
106
+
107
+
{.thumbnail}
108
+
109
+
If you go to the [Kubernetes section](https://api.ovh.com/console/#/cloud/project/%7BserviceName%7D/kube~GET) of the API Explorer, you will see the available endpoints:
110
+
111
+
{.thumbnail}
By default, if you don't specify it, the `workerNodesPolicy` option will be equivalent to `delete`. If you don't want your Nodes deleted but reinstalled instead, you have to specify `"workerNodesPolicy": "reinstall"`.
137
+
138
+
> [!primary]
139
+
>
140
+
> You should receive a response with `null` content. This message will be improved in the future with the same information you have after a Kubernetes cluster creation.
excerpt: Find out how to reset an OVHcloud Managed Kubernetes cluster
4
4
slug: resetting-a-cluster
5
5
section: User guides
6
-
updated: 2022-07-27
6
+
updated: 2023-03-23
7
7
---
8
8
9
-
**Last updated July 27th, 2022.**
9
+
**Last updated March 23rd, 2023.**
10
10
11
11
<style>
12
12
pre {
@@ -31,19 +31,35 @@ updated: 2022-07-27
31
31
32
32
## Objective
33
33
34
-
OVHcloud Managed Kubernetes service provides you Kubernetes clusters without the hassle of installing or operating them.
34
+
OVHcloud Managed Kubernetes service provides you Kubernetes clusters without the hassle of installing or operating them.
35
35
36
-
**Find out how to reset an OVHcloud Managed Kubernetes cluster.**
36
+
Through the OVHcloud Control Panel and the API, you can reset your OVHcloud Managed Kubernetes cluster.
37
37
38
+
> [!primary]
39
+
>
40
+
> During a reset, all data in the ETCD will be deleted (pods, deployments, services, secrets, CRDs, etc.). Similarly, load balancers and also all PVC (Persistent Volume Claim) with their PCI cinder volumes will be deleted.
41
+
> Nodes will be either deleted or reinstalled (depending on the option you set during the reset).
42
+
43
+
The whole cluster configuration is reset but some values can be defined (optional):
44
+
45
+
- workerNodesPolicy: reinstall|delete
46
+
- minor_version: for ex. 1.25
47
+
- updatePolicy: "ALWAYS_UPDATE" by default
48
+
- customization: API Server & kube proxy configuration
### Step 1 - Ask for cluster reset on the OVHcloud Control Panel
60
+
### Reset a Kubernetes cluster on the OVHcloud Control Panel
61
+
62
+
#### Step 1 - Ask for cluster reset on the OVHcloud Control Panel
47
63
48
64
Log in to the [OVHcloud Control Panel](https://ca.ovh.com/auth/?action=gotomanager&from=https://www.ovh.com/asia/&ovhSubsidiary=asia), go to the `Public Cloud`{.action} section and select the Public Cloud project concerned.
49
65
@@ -57,8 +73,7 @@ Click on your Kubernetes cluster.
57
73
58
74
In the *Service* tab of the administration UI, click on *Reset your cluster*.
59
75
60
-
61
-
### Step 2 - Choose the type of reset you want
76
+
#### Step 2 - Choose the type of reset you want
62
77
63
78
You have two options on the reset menu, *Delete* and *Reinstall*.
64
79
@@ -73,12 +88,93 @@ You can also choose the minor version of the cluster and the private network att
73
88
Click on the `Confirm`{.action} button to continue.
74
89
75
90
76
-
### Step 3 - Wait for the resetting to end
91
+
####Step 3 - Wait for the resetting to end
77
92
78
93
Depending on the chosen kind of reset, the process can take several minutes. During that time, a message on the manager warns you that the cluster is under resetting:
To simplify things, we are using the [API Explorer](https://api.ovh.com/) which allows to explore, learn and interact with the API in an interactive way.
102
+
103
+
Log in to the API Explorer using your OVHcloud NIC handle.
104
+
105
+
{.thumbnail}
106
+
107
+
If you go to the [Kubernetes section](https://api.ovh.com/console/#/cloud/project/%7BserviceName%7D/kube~GET) of the API Explorer, you will see the available endpoints:
108
+
109
+
{.thumbnail}
By default, if you don't specify it, the `workerNodesPolicy` option will be equivalent to `delete`. If you don't want your Nodes deleted but reinstalled instead, you have to specify `"workerNodesPolicy": "reinstall"`.
135
+
136
+
> [!primary]
137
+
>
138
+
> You should receive a response with `null` content. This message will be improved in the future with the same information you have after a Kubernetes cluster creation.
0 commit comments