1---
2version: 1
3interactions:
4- request:
5    body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null}],"label":"xf886ld17qx5-linodego-testing","region":"us-central","k8s_version":"1.21","tags":["testing"]}'
6    form: {}
7    headers:
8      Accept:
9      - application/json
10      Content-Type:
11      - application/json
12      User-Agent:
13      - linodego/dev https://github.com/linode/linodego
14    url: https://api.linode.com/v4beta/lke/clusters
15    method: POST
16  response:
17    body: '{"id": 30069, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "xf886ld17qx5-linodego-testing", "region": "us-central", "k8s_version": "1.21", "tags": ["testing"]}'
18    headers:
19      Access-Control-Allow-Credentials:
20      - "true"
21      Access-Control-Allow-Headers:
22      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
23      Access-Control-Allow-Methods:
24      - HEAD, GET, OPTIONS, POST, PUT, DELETE
25      Access-Control-Allow-Origin:
26      - '*'
27      Access-Control-Expose-Headers:
28      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
29      Cache-Control:
30      - private, max-age=60, s-maxage=60
31      Content-Length:
32      - "210"
33      Content-Security-Policy:
34      - default-src 'none'
35      Content-Type:
36      - application/json
37      Server:
38      - nginx
39      Strict-Transport-Security:
40      - max-age=31536000
41      Vary:
42      - Authorization, X-Filter
43      X-Accepted-Oauth-Scopes:
44      - lke:read_write
45      X-Content-Type-Options:
46      - nosniff
47      X-Frame-Options:
48      - DENY
49      - DENY
50      X-Oauth-Scopes:
51      - '*'
52      X-Ratelimit-Limit:
53      - "800"
54      X-Xss-Protection:
55      - 1; mode=block
56    status: 200 OK
57    code: 200
58    duration: ""
59- request:
60    body: '{"count":2,"type":"g6-standard-2","disks":[{"size":1000,"type":"ext4"}]}'
61    form: {}
62    headers:
63      Accept:
64      - application/json
65      Content-Type:
66      - application/json
67      User-Agent:
68      - linodego/dev https://github.com/linode/linodego
69    url: https://api.linode.com/v4beta/lke/clusters/30069/pools
70    method: POST
71  response:
72    body: '{"id": 45054, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "45054-60d9f3f23b0e", "instance_id": null, "status": "not_ready"}, {"id": "45054-60d9f3f24ab5", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "tags": []}'
73    headers:
74      Access-Control-Allow-Credentials:
75      - "true"
76      Access-Control-Allow-Headers:
77      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
78      Access-Control-Allow-Methods:
79      - HEAD, GET, OPTIONS, POST, PUT, DELETE
80      Access-Control-Allow-Origin:
81      - '*'
82      Access-Control-Expose-Headers:
83      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
84      Cache-Control:
85      - private, max-age=60, s-maxage=60
86      Content-Length:
87      - "264"
88      Content-Security-Policy:
89      - default-src 'none'
90      Content-Type:
91      - application/json
92      Server:
93      - nginx
94      Strict-Transport-Security:
95      - max-age=31536000
96      Vary:
97      - Authorization, X-Filter
98      X-Accepted-Oauth-Scopes:
99      - lke:read_write
100      X-Content-Type-Options:
101      - nosniff
102      X-Frame-Options:
103      - DENY
104      - DENY
105      X-Oauth-Scopes:
106      - '*'
107      X-Ratelimit-Limit:
108      - "800"
109      X-Xss-Protection:
110      - 1; mode=block
111    status: 200 OK
112    code: 200
113    duration: ""
114- request:
115    body: ""
116    form: {}
117    headers:
118      Accept:
119      - application/json
120      Content-Type:
121      - application/json
122      User-Agent:
123      - linodego/dev https://github.com/linode/linodego
124    url: https://api.linode.com/v4beta/lke/clusters/30069/nodes/45054-60d9f3f23b0e
125    method: DELETE
126  response:
127    body: '{}'
128    headers:
129      Access-Control-Allow-Credentials:
130      - "true"
131      Access-Control-Allow-Headers:
132      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
133      Access-Control-Allow-Methods:
134      - HEAD, GET, OPTIONS, POST, PUT, DELETE
135      Access-Control-Allow-Origin:
136      - '*'
137      Access-Control-Expose-Headers:
138      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
139      Cache-Control:
140      - private, max-age=60, s-maxage=60
141      Content-Length:
142      - "2"
143      Content-Security-Policy:
144      - default-src 'none'
145      Content-Type:
146      - application/json
147      Server:
148      - nginx
149      Strict-Transport-Security:
150      - max-age=31536000
151      Vary:
152      - Authorization, X-Filter
153      X-Accepted-Oauth-Scopes:
154      - lke:read_write
155      X-Content-Type-Options:
156      - nosniff
157      X-Frame-Options:
158      - DENY
159      - DENY
160      X-Oauth-Scopes:
161      - '*'
162      X-Ratelimit-Limit:
163      - "800"
164      X-Xss-Protection:
165      - 1; mode=block
166    status: 200 OK
167    code: 200
168    duration: ""
169- request:
170    body: ""
171    form: {}
172    headers:
173      Accept:
174      - application/json
175      Content-Type:
176      - application/json
177      User-Agent:
178      - linodego/dev https://github.com/linode/linodego
179    url: https://api.linode.com/v4beta/lke/clusters/30069/pools/45054
180    method: GET
181  response:
182    body: '{"id": 45054, "type": "g6-standard-2", "count": 1, "nodes": [{"id": "45054-60d9f3f24ab5", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "tags": []}'
183    headers:
184      Access-Control-Allow-Credentials:
185      - "true"
186      Access-Control-Allow-Headers:
187      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
188      Access-Control-Allow-Methods:
189      - HEAD, GET, OPTIONS, POST, PUT, DELETE
190      Access-Control-Allow-Origin:
191      - '*'
192      Access-Control-Expose-Headers:
193      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
194      Cache-Control:
195      - private, max-age=0, s-maxage=0, no-cache, no-store
196      - private, max-age=60, s-maxage=60
197      Content-Length:
198      - "190"
199      Content-Security-Policy:
200      - default-src 'none'
201      Content-Type:
202      - application/json
203      Server:
204      - nginx
205      Strict-Transport-Security:
206      - max-age=31536000
207      Vary:
208      - Authorization, X-Filter
209      - Authorization, X-Filter
210      X-Accepted-Oauth-Scopes:
211      - lke:read_only
212      X-Content-Type-Options:
213      - nosniff
214      X-Frame-Options:
215      - DENY
216      - DENY
217      X-Oauth-Scopes:
218      - '*'
219      X-Ratelimit-Limit:
220      - "800"
221      X-Xss-Protection:
222      - 1; mode=block
223    status: 200 OK
224    code: 200
225    duration: ""
226- request:
227    body: ""
228    form: {}
229    headers:
230      Accept:
231      - application/json
232      Content-Type:
233      - application/json
234      User-Agent:
235      - linodego/dev https://github.com/linode/linodego
236    url: https://api.linode.com/v4beta/lke/clusters/30069/pools/45054
237    method: DELETE
238  response:
239    body: '{}'
240    headers:
241      Access-Control-Allow-Credentials:
242      - "true"
243      Access-Control-Allow-Headers:
244      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
245      Access-Control-Allow-Methods:
246      - HEAD, GET, OPTIONS, POST, PUT, DELETE
247      Access-Control-Allow-Origin:
248      - '*'
249      Access-Control-Expose-Headers:
250      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
251      Cache-Control:
252      - private, max-age=60, s-maxage=60
253      Content-Length:
254      - "2"
255      Content-Security-Policy:
256      - default-src 'none'
257      Content-Type:
258      - application/json
259      Server:
260      - nginx
261      Strict-Transport-Security:
262      - max-age=31536000
263      Vary:
264      - Authorization, X-Filter
265      X-Accepted-Oauth-Scopes:
266      - lke:read_write
267      X-Content-Type-Options:
268      - nosniff
269      X-Frame-Options:
270      - DENY
271      - DENY
272      X-Oauth-Scopes:
273      - '*'
274      X-Ratelimit-Limit:
275      - "800"
276      X-Xss-Protection:
277      - 1; mode=block
278    status: 200 OK
279    code: 200
280    duration: ""
281- request:
282    body: ""
283    form: {}
284    headers:
285      Accept:
286      - application/json
287      Content-Type:
288      - application/json
289      User-Agent:
290      - linodego/dev https://github.com/linode/linodego
291    url: https://api.linode.com/v4beta/lke/clusters/30069
292    method: DELETE
293  response:
294    body: '{}'
295    headers:
296      Access-Control-Allow-Credentials:
297      - "true"
298      Access-Control-Allow-Headers:
299      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
300      Access-Control-Allow-Methods:
301      - HEAD, GET, OPTIONS, POST, PUT, DELETE
302      Access-Control-Allow-Origin:
303      - '*'
304      Access-Control-Expose-Headers:
305      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
306      Cache-Control:
307      - private, max-age=60, s-maxage=60
308      Content-Length:
309      - "2"
310      Content-Security-Policy:
311      - default-src 'none'
312      Content-Type:
313      - application/json
314      Server:
315      - nginx
316      Strict-Transport-Security:
317      - max-age=31536000
318      Vary:
319      - Authorization, X-Filter
320      X-Accepted-Oauth-Scopes:
321      - lke:read_write
322      X-Content-Type-Options:
323      - nosniff
324      X-Frame-Options:
325      - DENY
326      - DENY
327      X-Oauth-Scopes:
328      - '*'
329      X-Ratelimit-Limit:
330      - "800"
331      X-Xss-Protection:
332      - 1; mode=block
333    status: 200 OK
334    code: 200
335    duration: ""
336