Skip to content

feat(k8s): enable support for MigrateClusterToRoutedIPsRequest #633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scaleway-async/scaleway_async/k8s/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ async def migrate_cluster_to_routed_i_ps(
"""
Migrate a cluster to Routed IPs.
Migrate the nodes of an existing cluster to Routed IPs and enable Routed IPs for all future nodes.
:param cluster_id:
:param cluster_id: Cluster ID for which the routed ip will be enabled for the nodes.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Cluster <Cluster>`

Expand Down
3 changes: 3 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,9 @@ class ListVersionsResponse:
@dataclass
class MigrateClusterToRoutedIPsRequest:
cluster_id: str
"""
Cluster ID for which the routed ip will be enabled for the nodes.
"""

region: Optional[Region]
"""
Expand Down
2 changes: 1 addition & 1 deletion scaleway/scaleway/k8s/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ def migrate_cluster_to_routed_i_ps(
"""
Migrate a cluster to Routed IPs.
Migrate the nodes of an existing cluster to Routed IPs and enable Routed IPs for all future nodes.
:param cluster_id:
:param cluster_id: Cluster ID for which the routed ip will be enabled for the nodes.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Cluster <Cluster>`

Expand Down
3 changes: 3 additions & 0 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,9 @@ class ListVersionsResponse:
@dataclass
class MigrateClusterToRoutedIPsRequest:
cluster_id: str
"""
Cluster ID for which the routed ip will be enabled for the nodes.
"""

region: Optional[Region]
"""
Expand Down