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
Copy file name to clipboardExpand all lines: website/docs/d/cloud_project_kube.html.markdown
+20-6
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,29 @@ The following attributes are exported:
40
40
*`region` - The OVHcloud public cloud region ID of the managed kubernetes cluster.
41
41
*`version` - Kubernetes version of the managed kubernetes cluster.
42
42
*`private_network_id` - OpenStack private network (or vrack) ID to use.
43
-
*`control_plane_is_up_to_date` - True if control-plane is up to date.
44
-
*`is_up_to_date` - True if all nodes and control-plane are up to date.
43
+
*`control_plane_is_up_to_date` - True if control-plane is up-to-date.
44
+
*`is_up_to_date` - True if all nodes and control-plane are up-to-date.
45
45
*`next_upgrade_versions` - Kubernetes versions available for upgrade.
46
46
*`nodes_url` - Cluster nodes URL.
47
47
*`status` - Cluster status. Should be normally set to 'READY'.
48
48
*`update_policy` - Cluster update policy. Choose between [ALWAYS_UPDATE,MINIMAL_DOWNTIME,NEVER_UPDATE]'.
49
49
*`url` - Management URL of your cluster.
50
-
*`customization` - Customer customization object
50
+
*`kube_proxy_mode` - Selected mode for kube-proxy.
51
+
*`customization` - **Deprecated** (Optional) Use `customization_apiserver` and `customization_kube_proxy` instead. Kubernetes cluster customization
51
52
*`apiserver` - Kubernetes API server customization
52
-
* `admissionplugins` - Kubernetes API server admission plugins customization
53
-
* `enabled` - Array of admission plugins enabled, default is ["NodeRestriction","AlwaysPulImages"] and only these admission plugins can be enabled at this time.
54
-
* `disabled` - Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
*`customization_apiserver` - Kubernetes API server customization
55
+
*`admissionplugins` - Kubernetes API server admission plugins customization
56
+
*`enabled` - Array of admission plugins enabled, default is ["NodeRestriction","AlwaysPulImages"] and only these admission plugins can be enabled at this time.
57
+
*`disabled` - Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
*`iptables` - Kubernetes cluster kube-proxy customization of iptables specific config.
60
+
*`sync_period` - Minimum period that iptables rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format.
61
+
*`min_sync_period` - Period that iptables rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format.
62
+
*`ipvs` - Kubernetes cluster kube-proxy customization of IPVS specific config (durations format is [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration.
63
+
*`sync_period` - Minimum period that IPVS rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format.
64
+
*`min_sync_period` - Minimum period that IPVS rules are refreshed in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration.
65
+
*`scheduler` - IPVS scheduler.
66
+
*`tcp_timeout` - Timeout value used for idle IPVS TCP sessions in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration.
67
+
*`tcp_fin_timeout` - Timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration.
68
+
*`udp_timeout` - timeout value used for IPVS UDP packets in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration.
@@ -169,12 +192,30 @@ The following arguments are supported:
169
192
*`name` - (Optional) The name of the kubernetes cluster.
170
193
*`region` - a valid OVHcloud public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.
171
194
*`version` - (Optional) kubernetes version to use. Changing this value updates the resource. Defaults to the latest available.
*`kube_proxy_mode` - (Optional) Selected mode for kube-proxy. **Changing this value recreates the resource. This will result in the loss of all data stored in the etcd.** Defaults to `iptables`.
196
+
*`customization` - **Deprecated** (Optional) Use `customization_apiserver` and `customization_kube_proxy` instead. Kubernetes cluster customization
173
197
*`apiserver` - Kubernetes API server customization
174
-
*`admissionplugins` - (Optional) Kubernetes API server admission plugins customization
175
-
*`enabled` - (Optional) Array of admission plugins enabled, default is ["NodeRestriction","AlwaysPulImages"] and only these admission plugins can be enabled at this time.
176
-
*`disabled` - (Optional) Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
177
-
*`private_network_id` - (Optional) OpenStack private network (or vrack) ID to use. Changing this value delete the resource (including ETCD user data). Defaults - not use private network. ~> __WARNING__ Updating the private network ID resets the cluster so that all user data is deleted.
*`customization_apiserver` - Kubernetes API server customization
200
+
*`admissionplugins` - (Optional) Kubernetes API server admission plugins customization
201
+
*`enabled` - (Optional) Array of admission plugins enabled, default is ["NodeRestriction","AlwaysPulImages"] and only these admission plugins can be enabled at this time.
202
+
*`disabled` - (Optional) Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
*`iptables` - (Optional) Kubernetes cluster kube-proxy customization of iptables specific config (durations format is RFC3339 duration, e.g. `PT60S`)
205
+
*`sync_period` - (Optional) Minimum period that iptables rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`).
206
+
*`min_sync_period` - (Optional) Period that iptables rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`). Must be greater than 0.
207
+
*`ipvs` - (Optional) Kubernetes cluster kube-proxy customization of IPVS specific config (durations format is [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration, e.g. `PT60S`)
208
+
*`sync_period` - (Optional) Minimum period that IPVS rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`).
209
+
*`min_sync_period` - (Optional) Minimum period that IPVS rules are refreshed in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`).
210
+
*`scheduler` - (Optional) IPVS scheduler.
211
+
*`tcp_timeout` - (Optional) Timeout value used for idle IPVS TCP sessions in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
212
+
*`tcp_fin_timeout` - (Optional) Timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
213
+
*`udp_timeout` - (Optional) timeout value used for IPVS UDP packets in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
214
+
*`private_network_id` - (Optional) OpenStack private network (or vrack) ID to use.
215
+
Changing this value delete the resource(including ETCD user data). Defaults - not use private network.
216
+
217
+
~> __WARNING__ Updating the private network ID resets the cluster so that all user data is deleted.
218
+
178
219
*`private_network_configuration` - (Optional) The private network configuration
179
220
*`default_vrack_gateway` - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
180
221
*`private_network_routing_as_default` - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
@@ -204,7 +245,8 @@ The following attributes are exported:
204
245
*`update_policy` - See Argument Reference above.
205
246
*`url` - Management URL of your cluster.
206
247
*`version` - See Argument Reference above.
207
-
*`customization` - See Argument Reference above.
248
+
*`customization_apiserver` - See Argument Reference above.
249
+
*`customization_kube_proxy` - See Argument Reference above.
0 commit comments