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: scaleway-async/scaleway_async/k8s/v1/api.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1044,6 +1044,7 @@ async def create_pool(
1044
1044
zone: Optional[ScwZone] =None,
1045
1045
root_volume_type: Optional[PoolVolumeType] =None,
1046
1046
root_volume_size: Optional[int] =None,
1047
+
security_group_id: Optional[str] =None,
1047
1048
) ->Pool:
1048
1049
"""
1049
1050
Create a new Pool in a Cluster.
@@ -1069,6 +1070,7 @@ async def create_pool(
1069
1070
* `sbs-15k` is a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limits
1070
1071
* `b_ssd` is the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Consider using `sbs-5k` or `sbs-15k` instead.
1071
1072
:param root_volume_size: System volume disk size.
1073
+
:param security_group_id: Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/k8s/v1/types.py
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -433,6 +433,11 @@ class Pool:
433
433
Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
434
434
"""
435
435
436
+
security_group_id: str
437
+
"""
438
+
Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
439
+
"""
440
+
436
441
region: ScwRegion
437
442
"""
438
443
Cluster region of the pool.
@@ -677,6 +682,11 @@ class CreateClusterRequestPoolConfig:
677
682
System volume disk size.
678
683
"""
679
684
685
+
security_group_id: Optional[str]
686
+
"""
687
+
Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
688
+
"""
689
+
680
690
681
691
@dataclass
682
692
classCreatePoolRequestUpgradePolicy:
@@ -1342,6 +1352,11 @@ class CreatePoolRequest:
1342
1352
System volume disk size.
1343
1353
"""
1344
1354
1355
+
security_group_id: Optional[str]
1356
+
"""
1357
+
Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Copy file name to clipboardExpand all lines: scaleway/scaleway/k8s/v1/api.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1044,6 +1044,7 @@ def create_pool(
1044
1044
zone: Optional[ScwZone] =None,
1045
1045
root_volume_type: Optional[PoolVolumeType] =None,
1046
1046
root_volume_size: Optional[int] =None,
1047
+
security_group_id: Optional[str] =None,
1047
1048
) ->Pool:
1048
1049
"""
1049
1050
Create a new Pool in a Cluster.
@@ -1069,6 +1070,7 @@ def create_pool(
1069
1070
* `sbs-15k` is a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limits
1070
1071
* `b_ssd` is the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Consider using `sbs-5k` or `sbs-15k` instead.
1071
1072
:param root_volume_size: System volume disk size.
1073
+
:param security_group_id: Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Copy file name to clipboardExpand all lines: scaleway/scaleway/k8s/v1/types.py
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -433,6 +433,11 @@ class Pool:
433
433
Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
434
434
"""
435
435
436
+
security_group_id: str
437
+
"""
438
+
Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
439
+
"""
440
+
436
441
region: ScwRegion
437
442
"""
438
443
Cluster region of the pool.
@@ -677,6 +682,11 @@ class CreateClusterRequestPoolConfig:
677
682
System volume disk size.
678
683
"""
679
684
685
+
security_group_id: Optional[str]
686
+
"""
687
+
Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
688
+
"""
689
+
680
690
681
691
@dataclass
682
692
classCreatePoolRequestUpgradePolicy:
@@ -1342,6 +1352,11 @@ class CreatePoolRequest:
1342
1352
System volume disk size.
1343
1353
"""
1344
1354
1355
+
security_group_id: Optional[str]
1356
+
"""
1357
+
Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
0 commit comments