2
2
version : 1
3
3
interactions :
4
4
- request :
5
- body : ' {"project_id ":"951df375-e094-4d26-97c1-ba548eeb9c42 ","type ":"","name":"cli-test ","description":"","tags":null,"version ":"1.17.3 ","cni ":"cilium ","enable_dashboard":false,"ingress":"unknown_ingress","pools ":[{"name ":"default ","node_type ":"DEV1-M ","placement_group_id":null,"autoscaling":false,"size":1,"min_size":null,"max_size":null,"container_runtime ":"unknown_runtime ","autohealing":false,"tags":null,"kubelet_args":null,"upgrade_policy":null,"zone ":""}],"autoscaler_config":null,"auto_upgrade":null,"feature_gates":null,"admission_plugins":null,"open_id_connect_config":null,"apiserver_cert_sans":null }'
5
+ body : ' {"id ":"5e980a83-0ffe-4ae6-8c2d-15b89e91a280 ","name ":"pn-magical-shockley ","tags":["created-along-with-k8s-cluster ","created-by-cli"],"organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","created_at ":"2023-06-07T15:15:11.095910Z ","updated_at ":"2023-06-07T15:15:11.095910Z ","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","subnets ":[{"id ":"9c208d1f-2276-4484-841f-90fca172c519 ","created_at ":"2023-06-07T15:15:11.095910Z ","updated_at":"2023-06-07T15:15:11.095910Z","subnet":"172.16.28.0/22"},{"id ":"d8d1cd8b-3db7-424a-bc3d-ee8d73d6308e ","created_at":"2023-06-07T15:15:11.095910Z","updated_at":"2023-06-07T15:15:11.095910Z","subnet ":"fd63:256c:45f7:e9da::/64 "}],"vpc_id":"1ec1ecb6-8f58-4f7c-92cc-53c2a5ae519c","region":"fr-par" }'
6
6
form : {}
7
7
headers :
8
8
Content-Type :
9
9
- application/json
10
10
User-Agent :
11
- - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.17; darwin ; amd64) cli-e2e-test
12
- url : https://api.scaleway.com/k8s/v1 /regions/fr-par/clusters
11
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; linux ; amd64) cli-e2e-test
12
+ url : https://api.scaleway.com/vpc/v2 /regions/fr-par/private-networks
13
13
method : POST
14
14
response :
15
- body: '{"region":"fr-par","id":"6e68d924-956f-4511-bfdb-1a796a190d33","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-09-16T13:20:30.618312535Z","updated_at":"2021-09-16T13:20:31.409645810Z","type":"kapsule","name":"cli-test","description":"","status":"creating","version":"1.17.3","cni":"cilium","tags":[],"cluster_url":"https://6e68d924-956f-4511-bfdb-1a796a190d33.api.k8s.fr-par.scw.cloud:6443","dns_wildcard":"*.6e68d924-956f-4511-bfdb-1a796a190d33.nodes.k8s.fr-par.scw.cloud","autoscaler_config":{"scale_down_disabled":false,"scale_down_delay_after_add":"10m","estimator":"binpacking","expander":"random","ignore_daemonsets_utilization":false,"balance_similar_node_groups":false,"expendable_pods_priority_cutoff":-10,"scale_down_unneeded_time":"10m","scale_down_utilization_threshold":0.5,"max_graceful_termination_sec":600},"dashboard_enabled":false,"ingress":"none","auto_upgrade":{"enabled":false,"maintenance_window":{"start_hour":0,"day":"any"}},"upgrade_available":true,"feature_gates":[],"admission_plugins":[],"open_id_connect_config":{"issuer_url":"","client_id":"","username_claim":"","username_prefix":"","groups_claim":[],"groups_prefix":"","required_claim":[]},"apiserver_cert_sans":[]}'
15
+ body : ' {"id":"5e980a83-0ffe-4ae6-8c2d-15b89e91a280","name":"pn-magical-shockley","tags":["created-along-with-k8s-cluster","created-by-cli"],"organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","created_at":"2023-06-07T15:15:11.095910Z","updated_at":"2023-06-07T15:15:11.095910Z","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","subnets":[{"id":"9c208d1f-2276-4484-841f-90fca172c519","created_at":"2023-06-07T15:15:11.095910Z","updated_at":"2023-06-07T15:15:11.095910Z","subnet":"172.16.28.0/22"},{"id":"d8d1cd8b-3db7-424a-bc3d-ee8d73d6308e","created_at":"2023-06-07T15:15:11.095910Z","updated_at":"2023-06-07T15:15:11.095910Z","subnet":"fd63:256c:45f7:e9da::/64"}],"vpc_id":"1ec1ecb6-8f58-4f7c-92cc-53c2a5ae519c","region":"fr-par"}'
16
16
headers :
17
17
Content-Length :
18
- - " 1277 "
18
+ - " 732 "
19
19
Content-Security-Policy :
20
20
- default-src 'none'; frame-ancestors 'none'
21
21
Content-Type :
22
22
- application/json
23
23
Date :
24
- - Thu, 16 Sep 2021 13:20:31 GMT
24
+ - Wed, 07 Jun 2023 15:15:11 GMT
25
25
Server :
26
26
- Scaleway API-Gateway
27
27
Strict-Transport-Security :
@@ -31,61 +31,33 @@ interactions:
31
31
X-Frame-Options :
32
32
- DENY
33
33
X-Request-Id :
34
- - 6595c4f6-271a-4422-9c1c-0c2bc26b4e6b
34
+ - 8b964a16-6bc4-4de0-b052-7df73a621cdd
35
35
status : 200 OK
36
36
code : 200
37
37
duration : " "
38
38
- request :
39
- body : " "
39
+ body : ' {"details":[{"argument_name":"version","help_message":"this version is
40
+ not available","reason":"constraint"}],"message":"invalid argument(s)","type":"invalid_arguments"}'
40
41
form : {}
41
42
headers :
42
- User-Agent :
43
- - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.17; darwin; amd64) cli-e2e-test
44
- url : https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/6e68d924-956f-4511-bfdb-1a796a190d33
45
- method : GET
46
- response :
47
- body: '{"region":"fr-par","id":"6e68d924-956f-4511-bfdb-1a796a190d33","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-09-16T13:20:30.618313Z","updated_at":"2021-09-16T13:20:31.409646Z","type":"kapsule","name":"cli-test","description":"","status":"creating","version":"1.17.3","cni":"cilium","tags":[],"cluster_url":"https://6e68d924-956f-4511-bfdb-1a796a190d33.api.k8s.fr-par.scw.cloud:6443","dns_wildcard":"*.6e68d924-956f-4511-bfdb-1a796a190d33.nodes.k8s.fr-par.scw.cloud","autoscaler_config":{"scale_down_disabled":false,"scale_down_delay_after_add":"10m","estimator":"binpacking","expander":"random","ignore_daemonsets_utilization":false,"balance_similar_node_groups":false,"expendable_pods_priority_cutoff":-10,"scale_down_unneeded_time":"10m","scale_down_utilization_threshold":0.5,"max_graceful_termination_sec":600},"dashboard_enabled":false,"ingress":"none","auto_upgrade":{"enabled":false,"maintenance_window":{"start_hour":0,"day":"any"}},"upgrade_available":true,"feature_gates":[],"admission_plugins":[],"open_id_connect_config":{"issuer_url":"","client_id":"","username_claim":"","username_prefix":"","groups_claim":[],"groups_prefix":"","required_claim":[]},"apiserver_cert_sans":[]}'
48
- headers :
49
- Content-Length :
50
- - " 1271"
51
- Content-Security-Policy :
52
- - default-src 'none'; frame-ancestors 'none'
53
43
Content-Type :
54
44
- application/json
55
- Date :
56
- - Thu, 16 Sep 2021 13:20:31 GMT
57
- Server :
58
- - Scaleway API-Gateway
59
- Strict-Transport-Security :
60
- - max-age=63072000
61
- X-Content-Type-Options :
62
- - nosniff
63
- X-Frame-Options :
64
- - DENY
65
- X-Request-Id :
66
- - 938df522-b936-4782-8f31-1cedc2ffe80b
67
- status : 200 OK
68
- code : 200
69
- duration : " "
70
- - request :
71
- body : " "
72
- form : {}
73
- headers :
74
45
User-Agent :
75
- - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.17; darwin ; amd64) cli-e2e-test
76
- url : https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/6e68d924-956f-4511-bfdb-1a796a190d33/pools?order_by=created_at_asc&status=unknown
77
- method : GET
46
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; linux ; amd64) cli-e2e-test
47
+ url : https://api.scaleway.com/k8s/v1/regions/fr-par/clusters
48
+ method : POST
78
49
response :
79
- body : ' {"total_count":1,"pools":[{"region":"fr-par","id":"42b228cf-ad4b-458e-b69b-046f8aa3c10c","cluster_id":"6e68d924-956f-4511-bfdb-1a796a190d33","created_at":"2021-09-16T13:20:30.663565Z","updated_at":"2021-09-16T13:20:30.672992Z","name":"default","status":"scaling","version":"1.17.3","node_type":"dev1_m","autoscaling":false,"size":1,"min_size":0,"max_size":1,"container_runtime":"containerd","autohealing":false,"tags":[],"placement_group_id":null,"kubelet_args":{},"upgrade_policy":{"max_unavailable":1,"max_surge":0},"zone":"fr-par-1"}]}'
50
+ body : ' {"details":[{"argument_name":"version","help_message":"this version is
51
+ not available","reason":"constraint"}],"message":"invalid argument(s)","type":"invalid_arguments"}'
80
52
headers :
81
53
Content-Length :
82
- - " 538 "
54
+ - " 169 "
83
55
Content-Security-Policy :
84
56
- default-src 'none'; frame-ancestors 'none'
85
57
Content-Type :
86
58
- application/json
87
59
Date :
88
- - Thu, 16 Sep 2021 13:20:31 GMT
60
+ - Wed, 07 Jun 2023 15:15:11 GMT
89
61
Server :
90
62
- Scaleway API-Gateway
91
63
Strict-Transport-Security :
@@ -95,93 +67,27 @@ interactions:
95
67
X-Frame-Options :
96
68
- DENY
97
69
X-Request-Id :
98
- - a1b1bfb5-90d1-4d53-9bb8-d7287882bdfd
99
- status : 200 OK
100
- code : 200
70
+ - 6edcece1-e08b-4f0e-812d-820d36fa288f
71
+ status : 400 Bad Request
72
+ code : 400
101
73
duration : " "
102
74
- request :
103
75
body : " "
104
76
form : {}
105
77
headers :
106
78
User-Agent :
107
- - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.17; darwin ; amd64) cli-e2e-test
108
- url : https://api.scaleway.com/k8s/v1 /regions/fr-par/clusters/6e68d924-956f-4511-bfdb-1a796a190d33?with_additional_resources=false
79
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; linux ; amd64) cli-e2e-test
80
+ url : https://api.scaleway.com/vpc/v2 /regions/fr-par/private-networks/5e980a83-0ffe-4ae6-8c2d-15b89e91a280
109
81
method : DELETE
110
82
response :
111
- body: '{"region":"fr-par","id":"6e68d924-956f-4511-bfdb-1a796a190d33","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-09-16T13:20:30.618313Z","updated_at":"2021-09-16T13:20:31.654866950Z","type":"kapsule","name":"cli-test","description":"","status":"deleting","version":"1.17.3","cni":"cilium","tags":[],"cluster_url":"https://6e68d924-956f-4511-bfdb-1a796a190d33.api.k8s.fr-par.scw.cloud:6443","dns_wildcard":"*.6e68d924-956f-4511-bfdb-1a796a190d33.nodes.k8s.fr-par.scw.cloud","autoscaler_config":{"scale_down_disabled":false,"scale_down_delay_after_add":"10m","estimator":"binpacking","expander":"random","ignore_daemonsets_utilization":false,"balance_similar_node_groups":false,"expendable_pods_priority_cutoff":-10,"scale_down_unneeded_time":"10m","scale_down_utilization_threshold":0.5,"max_graceful_termination_sec":600},"dashboard_enabled":false,"ingress":"none","auto_upgrade":{"enabled":false,"maintenance_window":{"start_hour":0,"day":"any"}},"upgrade_available":true,"feature_gates":[],"admission_plugins":[],"open_id_connect_config":{"issuer_url":"","client_id":"","username_claim":"","username_prefix":"","groups_claim":[],"groups_prefix":"","required_claim":[]},"apiserver_cert_sans":[]}'
112
- headers :
113
- Content-Length :
114
- - " 1274"
115
- Content-Security-Policy :
116
- - default-src 'none'; frame-ancestors 'none'
117
- Content-Type :
118
- - application/json
119
- Date :
120
- - Thu, 16 Sep 2021 13:20:31 GMT
121
- Server :
122
- - Scaleway API-Gateway
123
- Strict-Transport-Security :
124
- - max-age=63072000
125
- X-Content-Type-Options :
126
- - nosniff
127
- X-Frame-Options :
128
- - DENY
129
- X-Request-Id :
130
- - 33b3a51b-a4ec-4634-8d8d-a3b9f1181e3b
131
- status : 200 OK
132
- code : 200
133
- duration : " "
134
- - request :
135
83
body : " "
136
- form : {}
137
84
headers :
138
- User-Agent :
139
- - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.17; darwin; amd64) cli-e2e-test
140
- url : https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/6e68d924-956f-4511-bfdb-1a796a190d33
141
- method : GET
142
- response :
143
- body: '{"region":"fr-par","id":"6e68d924-956f-4511-bfdb-1a796a190d33","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-09-16T13:20:30.618313Z","updated_at":"2021-09-16T13:20:31.654867Z","type":"kapsule","name":"cli-test","description":"","status":"deleting","version":"1.17.3","cni":"cilium","tags":[],"cluster_url":"https://6e68d924-956f-4511-bfdb-1a796a190d33.api.k8s.fr-par.scw.cloud:6443","dns_wildcard":"*.6e68d924-956f-4511-bfdb-1a796a190d33.nodes.k8s.fr-par.scw.cloud","autoscaler_config":{"scale_down_disabled":false,"scale_down_delay_after_add":"10m","estimator":"binpacking","expander":"random","ignore_daemonsets_utilization":false,"balance_similar_node_groups":false,"expendable_pods_priority_cutoff":-10,"scale_down_unneeded_time":"10m","scale_down_utilization_threshold":0.5,"max_graceful_termination_sec":600},"dashboard_enabled":false,"ingress":"none","auto_upgrade":{"enabled":false,"maintenance_window":{"start_hour":0,"day":"any"}},"upgrade_available":true,"feature_gates":[],"admission_plugins":[],"open_id_connect_config":{"issuer_url":"","client_id":"","username_claim":"","username_prefix":"","groups_claim":[],"groups_prefix":"","required_claim":[]},"apiserver_cert_sans":[]}'
144
- headers :
145
- Content-Length :
146
- - " 1271"
147
- Content-Security-Policy :
148
- - default-src 'none'; frame-ancestors 'none'
149
- Content-Type :
150
- - application/json
151
- Date :
152
- - Thu, 16 Sep 2021 13:20:31 GMT
153
- Server :
154
- - Scaleway API-Gateway
155
- Strict-Transport-Security :
156
- - max-age=63072000
157
- X-Content-Type-Options :
158
- - nosniff
159
- X-Frame-Options :
160
- - DENY
161
- X-Request-Id :
162
- - 31b0a6a1-98c4-4fe2-897c-d03ca6be37fe
163
- status : 200 OK
164
- code : 200
165
- duration : " "
166
- - request :
167
- body : " "
168
- form : {}
169
- headers :
170
- User-Agent :
171
- - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.17; darwin; amd64) cli-e2e-test
172
- url : https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/6e68d924-956f-4511-bfdb-1a796a190d33
173
- method : GET
174
- response :
175
- body : ' {"message":"resource is not found","resource":"cluster","resource_id":"6e68d924-956f-4511-bfdb-1a796a190d33","type":"not_found"}'
176
- headers :
177
- Content-Length :
178
- - " 128"
179
85
Content-Security-Policy :
180
86
- default-src 'none'; frame-ancestors 'none'
181
87
Content-Type :
182
88
- application/json
183
89
Date :
184
- - Thu, 16 Sep 2021 13:20:36 GMT
90
+ - Wed, 07 Jun 2023 15:15:11 GMT
185
91
Server :
186
92
- Scaleway API-Gateway
187
93
Strict-Transport-Security :
@@ -191,7 +97,7 @@ interactions:
191
97
X-Frame-Options :
192
98
- DENY
193
99
X-Request-Id :
194
- - c4fa49c6-352a-44fb-a945-c82260a8adde
195
- status : 404 Not Found
196
- code : 404
100
+ - 99a91bd1-bd27-4aab-b3d5-6097f3fedd86
101
+ status : 204 No Content
102
+ code : 204
197
103
duration : " "
0 commit comments