fog-kubevirt 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fog/kubevirt/compute/compute.rb +28 -6
  3. data/lib/fog/kubevirt/compute/models/persistentvolume.rb +82 -0
  4. data/lib/fog/kubevirt/compute/models/persistentvolumes.rb +73 -0
  5. data/lib/fog/kubevirt/compute/models/storageclass.rb +33 -0
  6. data/lib/fog/kubevirt/compute/models/storageclasses.rb +61 -0
  7. data/lib/fog/kubevirt/compute/models/vm_base.rb +13 -2
  8. data/lib/fog/kubevirt/compute/models/vm_data.rb +11 -13
  9. data/lib/fog/kubevirt/compute/models/vminstance.rb +11 -2
  10. data/lib/fog/kubevirt/compute/models/vms.rb +48 -19
  11. data/lib/fog/kubevirt/compute/models/volume.rb +44 -69
  12. data/lib/fog/kubevirt/compute/models/volumes.rb +3 -58
  13. data/lib/fog/kubevirt/compute/requests/{create_volume.rb → create_persistentvolume.rb} +2 -2
  14. data/lib/fog/kubevirt/compute/requests/create_storageclass.rb +18 -0
  15. data/lib/fog/kubevirt/compute/requests/{delete_volume.rb → delete_persistentvolume.rb} +2 -2
  16. data/lib/fog/kubevirt/compute/requests/{get_volume.rb → delete_storageclass.rb} +3 -3
  17. data/lib/fog/kubevirt/compute/requests/delete_vm.rb +1 -1
  18. data/lib/fog/kubevirt/compute/requests/delete_vminstance.rb +3 -3
  19. data/lib/fog/kubevirt/compute/requests/get_persistentvolume.rb +16 -0
  20. data/lib/fog/kubevirt/compute/requests/get_storageclass.rb +16 -0
  21. data/lib/fog/kubevirt/compute/requests/list_persistentvolumes.rb +22 -0
  22. data/lib/fog/kubevirt/compute/requests/list_storageclasses.rb +22 -0
  23. data/lib/fog/kubevirt/compute/requests/list_volumes.rb +14 -6
  24. data/lib/fog/kubevirt/version.rb +1 -1
  25. data/spec/create_vm_spec.rb +101 -0
  26. data/spec/fixtures/kubevirt/{volume/volumes_crud.yml → persistentvolume/persistent_volumes_crud.yml} +0 -0
  27. data/spec/fixtures/kubevirt/pvc/pvcs_crud.yml +122 -76
  28. data/spec/fixtures/kubevirt/storageclass/storageclasses_crud.yml +400 -0
  29. data/spec/fixtures/kubevirt/vm/vm_create_multi.yml +459 -0
  30. data/spec/fixtures/kubevirt/vm/vm_create_single.yml +362 -0
  31. data/spec/{volumes_v1alpha2_spec.rb → persistent_volumes_v1alpha2_spec.rb} +11 -11
  32. data/spec/pvcs_v1alpha2_spec.rb +7 -0
  33. data/spec/storage_classes_v1_spec.rb +46 -0
  34. metadata +28 -9
@@ -0,0 +1,400 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://10.8.254.82:8443/api
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json
23
+ Date:
24
+ - Tue, 19 Mar 2019 13:55:34 GMT
25
+ Content-Length:
26
+ - '137'
27
+ body:
28
+ encoding: UTF-8
29
+ string: '{"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.8.254.82:8443"}]}
30
+
31
+ '
32
+ http_version:
33
+ recorded_at: Tue, 19 Mar 2019 13:55:34 GMT
34
+ - request:
35
+ method: get
36
+ uri: https://10.8.254.82:8443/api/v1
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ''
40
+ headers:
41
+ Accept:
42
+ - "*/*"
43
+ Accept-Encoding:
44
+ - gzip, deflate
45
+ User-Agent:
46
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
47
+ Authorization:
48
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
49
+ response:
50
+ status:
51
+ code: 200
52
+ message: OK
53
+ headers:
54
+ Content-Type:
55
+ - application/json
56
+ Date:
57
+ - Tue, 19 Mar 2019 13:55:34 GMT
58
+ Transfer-Encoding:
59
+ - chunked
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"kind":"APIResourceList","groupVersion":"v1","resources":[{"name":"bindings","singularName":"","namespaced":true,"kind":"Binding","verbs":["create"]},{"name":"componentstatuses","singularName":"","namespaced":false,"kind":"ComponentStatus","verbs":["get","list"],"shortNames":["cs"]},{"name":"configmaps","singularName":"","namespaced":true,"kind":"ConfigMap","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["cm"]},{"name":"endpoints","singularName":"","namespaced":true,"kind":"Endpoints","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ep"]},{"name":"events","singularName":"","namespaced":true,"kind":"Event","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ev"]},{"name":"limitranges","singularName":"","namespaced":true,"kind":"LimitRange","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["limits"]},{"name":"namespaces","singularName":"","namespaced":false,"kind":"Namespace","verbs":["create","delete","get","list","patch","update","watch"],"shortNames":["ns"]},{"name":"namespaces/finalize","singularName":"","namespaced":false,"kind":"Namespace","verbs":["update"]},{"name":"namespaces/status","singularName":"","namespaced":false,"kind":"Namespace","verbs":["get","patch","update"]},{"name":"nodes","singularName":"","namespaced":false,"kind":"Node","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["no"]},{"name":"nodes/proxy","singularName":"","namespaced":false,"kind":"NodeProxyOptions","verbs":["create","delete","get","patch","update"]},{"name":"nodes/status","singularName":"","namespaced":false,"kind":"Node","verbs":["get","patch","update"]},{"name":"persistentvolumeclaims","singularName":"","namespaced":true,"kind":"PersistentVolumeClaim","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["pvc"]},{"name":"persistentvolumeclaims/status","singularName":"","namespaced":true,"kind":"PersistentVolumeClaim","verbs":["get","patch","update"]},{"name":"persistentvolumes","singularName":"","namespaced":false,"kind":"PersistentVolume","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["pv"]},{"name":"persistentvolumes/status","singularName":"","namespaced":false,"kind":"PersistentVolume","verbs":["get","patch","update"]},{"name":"pods","singularName":"","namespaced":true,"kind":"Pod","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["po"],"categories":["all"]},{"name":"pods/attach","singularName":"","namespaced":true,"kind":"PodAttachOptions","verbs":["create","get"]},{"name":"pods/binding","singularName":"","namespaced":true,"kind":"Binding","verbs":["create"]},{"name":"pods/eviction","singularName":"","namespaced":true,"group":"policy","version":"v1beta1","kind":"Eviction","verbs":["create"]},{"name":"pods/exec","singularName":"","namespaced":true,"kind":"PodExecOptions","verbs":["create","get"]},{"name":"pods/log","singularName":"","namespaced":true,"kind":"Pod","verbs":["get"]},{"name":"pods/portforward","singularName":"","namespaced":true,"kind":"PodPortForwardOptions","verbs":["create","get"]},{"name":"pods/proxy","singularName":"","namespaced":true,"kind":"PodProxyOptions","verbs":["create","delete","get","patch","update"]},{"name":"pods/status","singularName":"","namespaced":true,"kind":"Pod","verbs":["get","patch","update"]},{"name":"podtemplates","singularName":"","namespaced":true,"kind":"PodTemplate","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"replicationcontrollers","singularName":"","namespaced":true,"kind":"ReplicationController","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["rc"],"categories":["all"]},{"name":"replicationcontrollers/scale","singularName":"","namespaced":true,"group":"autoscaling","version":"v1","kind":"Scale","verbs":["get","patch","update"]},{"name":"replicationcontrollers/status","singularName":"","namespaced":true,"kind":"ReplicationController","verbs":["get","patch","update"]},{"name":"resourcequotas","singularName":"","namespaced":true,"kind":"ResourceQuota","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["quota"]},{"name":"resourcequotas/status","singularName":"","namespaced":true,"kind":"ResourceQuota","verbs":["get","patch","update"]},{"name":"secrets","singularName":"","namespaced":true,"kind":"Secret","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"serviceaccounts","singularName":"","namespaced":true,"kind":"ServiceAccount","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["sa"]},{"name":"services","singularName":"","namespaced":true,"kind":"Service","verbs":["create","delete","get","list","patch","update","watch"],"shortNames":["svc"],"categories":["all"]},{"name":"services/proxy","singularName":"","namespaced":true,"kind":"ServiceProxyOptions","verbs":["create","delete","get","patch","update"]},{"name":"services/status","singularName":"","namespaced":true,"kind":"Service","verbs":["get","patch","update"]}]}
63
+
64
+ '
65
+ http_version:
66
+ recorded_at: Tue, 19 Mar 2019 13:55:34 GMT
67
+ - request:
68
+ method: post
69
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io/v1/namespaces/default/storageclasses
70
+ body:
71
+ encoding: UTF-8
72
+ string: '{"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"name":"my-storage-class","namespace":"default"},"parameters":{"resturl":"http://heketi-storage.glusterfs.svc:8080","restuser":"admin","secretName":"heketi-storage-admin-secret","secretNamespace":"glusterfs"},"mount_options":null,"provisioner":"kubernetes.io/glusterfs","volume_binding_mode":"Immediate","reclaim_policy":"Delete"}'
73
+ headers:
74
+ Accept:
75
+ - "*/*"
76
+ Accept-Encoding:
77
+ - gzip, deflate
78
+ User-Agent:
79
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
80
+ Content-Type:
81
+ - application/json
82
+ Authorization:
83
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
84
+ Content-Length:
85
+ - '398'
86
+ response:
87
+ status:
88
+ code: 404
89
+ message: Not Found
90
+ headers:
91
+ Content-Type:
92
+ - application/json
93
+ Date:
94
+ - Tue, 19 Mar 2019 14:12:04 GMT
95
+ Content-Length:
96
+ - '174'
97
+ body:
98
+ encoding: UTF-8
99
+ string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the
100
+ server could not find the requested resource","reason":"NotFound","details":{},"code":404}
101
+
102
+ '
103
+ http_version:
104
+ recorded_at: Tue, 19 Mar 2019 14:12:04 GMT
105
+ - request:
106
+ method: get
107
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io
108
+ body:
109
+ encoding: US-ASCII
110
+ string: ''
111
+ headers:
112
+ Accept:
113
+ - "*/*"
114
+ Accept-Encoding:
115
+ - gzip, deflate
116
+ User-Agent:
117
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
118
+ response:
119
+ status:
120
+ code: 200
121
+ message: OK
122
+ headers:
123
+ Content-Type:
124
+ - application/json
125
+ Date:
126
+ - Tue, 19 Mar 2019 14:48:35 GMT
127
+ Content-Length:
128
+ - '260'
129
+ body:
130
+ encoding: UTF-8
131
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"storage.k8s.io","versions":[{"groupVersion":"storage.k8s.io/v1","version":"v1"},{"groupVersion":"storage.k8s.io/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"storage.k8s.io/v1","version":"v1"}}
132
+
133
+ '
134
+ http_version:
135
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
136
+ - request:
137
+ method: get
138
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io/v1
139
+ body:
140
+ encoding: US-ASCII
141
+ string: ''
142
+ headers:
143
+ Accept:
144
+ - "*/*"
145
+ Accept-Encoding:
146
+ - gzip, deflate
147
+ User-Agent:
148
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
149
+ Authorization:
150
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
151
+ response:
152
+ status:
153
+ code: 200
154
+ message: OK
155
+ headers:
156
+ Content-Type:
157
+ - application/json
158
+ Date:
159
+ - Tue, 19 Mar 2019 14:48:35 GMT
160
+ Content-Length:
161
+ - '593'
162
+ body:
163
+ encoding: UTF-8
164
+ string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"storage.k8s.io/v1","resources":[{"name":"storageclasses","singularName":"","namespaced":false,"kind":"StorageClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["sc"]},{"name":"volumeattachments","singularName":"","namespaced":false,"kind":"VolumeAttachment","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]},{"name":"volumeattachments/status","singularName":"","namespaced":false,"kind":"VolumeAttachment","verbs":["get","patch","update"]}]}
165
+
166
+ '
167
+ http_version:
168
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
169
+ - request:
170
+ method: post
171
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io/v1/storageclasses
172
+ body:
173
+ encoding: UTF-8
174
+ string: '{"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"name":"my-storage-class"},"parameters":{"resturl":"http://heketi-storage.glusterfs.svc:8080","restuser":"admin","secretName":"heketi-storage-admin-secret","secretNamespace":"glusterfs"},"mount_options":null,"provisioner":"kubernetes.io/glusterfs","volume_binding_mode":"Immediate","reclaim_policy":"Delete"}'
175
+ headers:
176
+ Accept:
177
+ - "*/*"
178
+ Accept-Encoding:
179
+ - gzip, deflate
180
+ User-Agent:
181
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
182
+ Content-Type:
183
+ - application/json
184
+ Authorization:
185
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
186
+ Content-Length:
187
+ - '376'
188
+ response:
189
+ status:
190
+ code: 201
191
+ message: Created
192
+ headers:
193
+ Content-Type:
194
+ - application/json
195
+ Date:
196
+ - Tue, 19 Mar 2019 14:48:35 GMT
197
+ Content-Length:
198
+ - '538'
199
+ body:
200
+ encoding: UTF-8
201
+ string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"my-storage-class","selfLink":"/apis/storage.k8s.io/v1/storageclasses/my-storage-class","uid":"12cf7bd9-4a56-11e9-8999-5254007d353d","resourceVersion":"2615177","creationTimestamp":"2019-03-19T14:48:35Z"},"provisioner":"kubernetes.io/glusterfs","parameters":{"resturl":"http://heketi-storage.glusterfs.svc:8080","restuser":"admin","secretName":"heketi-storage-admin-secret","secretNamespace":"glusterfs"},"reclaimPolicy":"Delete","volumeBindingMode":"Immediate"}
202
+
203
+ '
204
+ http_version:
205
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
206
+ - request:
207
+ method: get
208
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io
209
+ body:
210
+ encoding: US-ASCII
211
+ string: ''
212
+ headers:
213
+ Accept:
214
+ - "*/*"
215
+ Accept-Encoding:
216
+ - gzip, deflate
217
+ User-Agent:
218
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
219
+ response:
220
+ status:
221
+ code: 200
222
+ message: OK
223
+ headers:
224
+ Content-Type:
225
+ - application/json
226
+ Date:
227
+ - Tue, 19 Mar 2019 14:48:35 GMT
228
+ Content-Length:
229
+ - '260'
230
+ body:
231
+ encoding: UTF-8
232
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"storage.k8s.io","versions":[{"groupVersion":"storage.k8s.io/v1","version":"v1"},{"groupVersion":"storage.k8s.io/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"storage.k8s.io/v1","version":"v1"}}
233
+
234
+ '
235
+ http_version:
236
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
237
+ - request:
238
+ method: get
239
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io/v1/storageclasses/my-storage-class
240
+ body:
241
+ encoding: US-ASCII
242
+ string: ''
243
+ headers:
244
+ Accept:
245
+ - "*/*"
246
+ Accept-Encoding:
247
+ - gzip, deflate
248
+ User-Agent:
249
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
250
+ Authorization:
251
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
252
+ response:
253
+ status:
254
+ code: 200
255
+ message: OK
256
+ headers:
257
+ Content-Type:
258
+ - application/json
259
+ Date:
260
+ - Tue, 19 Mar 2019 14:48:35 GMT
261
+ Content-Length:
262
+ - '538'
263
+ body:
264
+ encoding: UTF-8
265
+ string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"my-storage-class","selfLink":"/apis/storage.k8s.io/v1/storageclasses/my-storage-class","uid":"12cf7bd9-4a56-11e9-8999-5254007d353d","resourceVersion":"2615177","creationTimestamp":"2019-03-19T14:48:35Z"},"provisioner":"kubernetes.io/glusterfs","parameters":{"resturl":"http://heketi-storage.glusterfs.svc:8080","restuser":"admin","secretName":"heketi-storage-admin-secret","secretNamespace":"glusterfs"},"reclaimPolicy":"Delete","volumeBindingMode":"Immediate"}
266
+
267
+ '
268
+ http_version:
269
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
270
+ - request:
271
+ method: get
272
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io
273
+ body:
274
+ encoding: US-ASCII
275
+ string: ''
276
+ headers:
277
+ Accept:
278
+ - "*/*"
279
+ Accept-Encoding:
280
+ - gzip, deflate
281
+ User-Agent:
282
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
283
+ response:
284
+ status:
285
+ code: 200
286
+ message: OK
287
+ headers:
288
+ Content-Type:
289
+ - application/json
290
+ Date:
291
+ - Tue, 19 Mar 2019 14:48:35 GMT
292
+ Content-Length:
293
+ - '260'
294
+ body:
295
+ encoding: UTF-8
296
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"storage.k8s.io","versions":[{"groupVersion":"storage.k8s.io/v1","version":"v1"},{"groupVersion":"storage.k8s.io/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"storage.k8s.io/v1","version":"v1"}}
297
+
298
+ '
299
+ http_version:
300
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
301
+ - request:
302
+ method: get
303
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io/v1/storageclasses/my-storage-class
304
+ body:
305
+ encoding: US-ASCII
306
+ string: ''
307
+ headers:
308
+ Accept:
309
+ - "*/*"
310
+ Accept-Encoding:
311
+ - gzip, deflate
312
+ User-Agent:
313
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
314
+ Authorization:
315
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
316
+ response:
317
+ status:
318
+ code: 200
319
+ message: OK
320
+ headers:
321
+ Content-Type:
322
+ - application/json
323
+ Date:
324
+ - Tue, 19 Mar 2019 14:48:35 GMT
325
+ Content-Length:
326
+ - '538'
327
+ body:
328
+ encoding: UTF-8
329
+ string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"my-storage-class","selfLink":"/apis/storage.k8s.io/v1/storageclasses/my-storage-class","uid":"12cf7bd9-4a56-11e9-8999-5254007d353d","resourceVersion":"2615177","creationTimestamp":"2019-03-19T14:48:35Z"},"provisioner":"kubernetes.io/glusterfs","parameters":{"resturl":"http://heketi-storage.glusterfs.svc:8080","restuser":"admin","secretName":"heketi-storage-admin-secret","secretNamespace":"glusterfs"},"reclaimPolicy":"Delete","volumeBindingMode":"Immediate"}
330
+
331
+ '
332
+ http_version:
333
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
334
+ - request:
335
+ method: get
336
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io
337
+ body:
338
+ encoding: US-ASCII
339
+ string: ''
340
+ headers:
341
+ Accept:
342
+ - "*/*"
343
+ Accept-Encoding:
344
+ - gzip, deflate
345
+ User-Agent:
346
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
347
+ response:
348
+ status:
349
+ code: 200
350
+ message: OK
351
+ headers:
352
+ Content-Type:
353
+ - application/json
354
+ Date:
355
+ - Tue, 19 Mar 2019 14:48:35 GMT
356
+ Content-Length:
357
+ - '260'
358
+ body:
359
+ encoding: UTF-8
360
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"storage.k8s.io","versions":[{"groupVersion":"storage.k8s.io/v1","version":"v1"},{"groupVersion":"storage.k8s.io/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"storage.k8s.io/v1","version":"v1"}}
361
+
362
+ '
363
+ http_version:
364
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
365
+ - request:
366
+ method: delete
367
+ uri: https://10.8.254.82:8443/apis/storage.k8s.io/v1/storageclasses/my-storage-class
368
+ body:
369
+ encoding: US-ASCII
370
+ string: ''
371
+ headers:
372
+ Accept:
373
+ - "*/*"
374
+ Accept-Encoding:
375
+ - gzip, deflate
376
+ User-Agent:
377
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
378
+ Content-Type:
379
+ - application/json
380
+ Authorization:
381
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
382
+ response:
383
+ status:
384
+ code: 200
385
+ message: OK
386
+ headers:
387
+ Content-Type:
388
+ - application/json
389
+ Date:
390
+ - Tue, 19 Mar 2019 14:48:35 GMT
391
+ Content-Length:
392
+ - '538'
393
+ body:
394
+ encoding: UTF-8
395
+ string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"my-storage-class","selfLink":"/apis/storage.k8s.io/v1/storageclasses/my-storage-class","uid":"12cf7bd9-4a56-11e9-8999-5254007d353d","resourceVersion":"2615177","creationTimestamp":"2019-03-19T14:48:35Z"},"provisioner":"kubernetes.io/glusterfs","parameters":{"resturl":"http://heketi-storage.glusterfs.svc:8080","restuser":"admin","secretName":"heketi-storage-admin-secret","secretNamespace":"glusterfs"},"reclaimPolicy":"Delete","volumeBindingMode":"Immediate"}
396
+
397
+ '
398
+ http_version:
399
+ recorded_at: Tue, 19 Mar 2019 14:48:35 GMT
400
+ recorded_with: VCR 4.0.0
@@ -0,0 +1,459 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
16
+ Authorization:
17
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - application/json
25
+ Date:
26
+ - Sun, 24 Mar 2019 20:41:45 GMT
27
+ Transfer-Encoding:
28
+ - chunked
29
+ body:
30
+ encoding: UTF-8
31
+ string: '{"apiVersion":"kubevirt.io/v1alpha3","items":[{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-24T20:41:19Z","generation":1,"labels":{"kubevirt.io/vm":"test"},"name":"test","namespace":"default","resourceVersion":"3260848","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test","uid":"2dca9be4-4e75-11e9-8e8c-5254007d353d"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"disk":{"bus":"virtio"},"name":"test-disk-00"},{"disk":{"bus":"virtio"},"name":"test-disk-01"}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test-disk-00","persistentVolumeClaim":{"claimName":"mypvc1"}},{"name":"test-disk-01","persistentVolumeClaim":{"claimName":"mypvc2"}}]}}}},{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-24T20:41:19Z","generation":1,"labels":{"kubevirt.io/vm":"test2"},"name":"test2","namespace":"default","resourceVersion":"3260847","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test2","uid":"2dbf05ef-4e75-11e9-8e8c-5254007d353d"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test2"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"disk":{"bus":"virtio"},"name":"test2-disk-00"}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test2-disk-00","persistentVolumeClaim":{"claimName":"mypvc3"}}]}}}},{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-21T08:53:21Z","generation":3,"labels":{"special":"vm-multus-pvc"},"name":"vm-multus-pvc","namespace":"default","resourceVersion":"2744764","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/vm-multus-pvc","uid":"c7c8e72d-4bb6-11e9-8e8c-5254007d353d"},"spec":{"running":true,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"vm-multus-pvc"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"disk":{"bus":"virtio"},"name":"vm-multus-pvc-volume"}],"interfaces":[{"bootOrder":1,"bridge":{},"macAddress":"de:00:00:11:11:de","name":"ovs-foreman"}]},"machine":{"type":"q35"},"resources":{"requests":{"memory":"512M"}}},"networks":[{"multus":{"networkName":"ovs-foreman"},"name":"ovs-foreman"}],"terminationGracePeriodSeconds":0,"volumes":[{"name":"vm-multus-pvc-volume","persistentVolumeClaim":{"claimName":"example-local-claim"}}]}}},"status":{"created":true,"ready":true}}],"kind":"VirtualMachineList","metadata":{"continue":"","resourceVersion":"3260891","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines"}}
32
+
33
+ '
34
+ http_version:
35
+ recorded_at: Sun, 24 Mar 2019 20:41:45 GMT
36
+ - request:
37
+ method: get
38
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ''
42
+ headers:
43
+ Accept:
44
+ - "*/*"
45
+ Accept-Encoding:
46
+ - gzip, deflate
47
+ User-Agent:
48
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
49
+ Authorization:
50
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
51
+ response:
52
+ status:
53
+ code: 200
54
+ message: OK
55
+ headers:
56
+ Content-Type:
57
+ - application/json
58
+ Date:
59
+ - Sun, 24 Mar 2019 20:43:03 GMT
60
+ Content-Length:
61
+ - '1235'
62
+ body:
63
+ encoding: UTF-8
64
+ string: '{"apiVersion":"kubevirt.io/v1alpha3","items":[{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-21T08:53:21Z","generation":3,"labels":{"special":"vm-multus-pvc"},"name":"vm-multus-pvc","namespace":"default","resourceVersion":"2744764","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/vm-multus-pvc","uid":"c7c8e72d-4bb6-11e9-8e8c-5254007d353d"},"spec":{"running":true,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"vm-multus-pvc"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"disk":{"bus":"virtio"},"name":"vm-multus-pvc-volume"}],"interfaces":[{"bootOrder":1,"bridge":{},"macAddress":"de:00:00:11:11:de","name":"ovs-foreman"}]},"machine":{"type":"q35"},"resources":{"requests":{"memory":"512M"}}},"networks":[{"multus":{"networkName":"ovs-foreman"},"name":"ovs-foreman"}],"terminationGracePeriodSeconds":0,"volumes":[{"name":"vm-multus-pvc-volume","persistentVolumeClaim":{"claimName":"example-local-claim"}}]}}},"status":{"created":true,"ready":true}}],"kind":"VirtualMachineList","metadata":{"continue":"","resourceVersion":"3261028","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines"}}
65
+
66
+ '
67
+ http_version:
68
+ recorded_at: Sun, 24 Mar 2019 20:43:03 GMT
69
+ - request:
70
+ method: get
71
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ Accept:
77
+ - "*/*"
78
+ Accept-Encoding:
79
+ - gzip, deflate
80
+ User-Agent:
81
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
82
+ Authorization:
83
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
84
+ response:
85
+ status:
86
+ code: 200
87
+ message: OK
88
+ headers:
89
+ Content-Type:
90
+ - application/json
91
+ Date:
92
+ - Mon, 25 Mar 2019 09:36:51 GMT
93
+ Content-Length:
94
+ - '1056'
95
+ body:
96
+ encoding: UTF-8
97
+ string: '{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-25T09:36:51Z","generation":1,"labels":{"kubevirt.io/vm":"test"},"name":"test","namespace":"default","resourceVersion":"3291549","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test","uid":"84cf39a1-4ee1-11e9-8e8c-5254007d353d"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"bootOrder":1,"disk":{"bus":"virtio"},"name":"test-disk-01"},{"bootOrder":2,"disk":{"bus":"virtio"},"name":"test-disk-02"},{"bootOrder":3,"disk":{},"name":"test-disk-03"}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test-disk-01","persistentVolumeClaim":{"claimName":"mypvc1"}},{"name":"test-disk-02","persistentVolumeClaim":{"claimName":"mypvc2"}},{"hostDisk":{"capacity":"1Gi","path":"/mnt/data/disk.img","type":"DiskOrCreate"},"name":"test-disk-03"}]}}}}
98
+
99
+ '
100
+ http_version:
101
+ recorded_at: Mon, 25 Mar 2019 09:36:51 GMT
102
+ - request:
103
+ method: get
104
+ uri: https://10.8.254.82:8443/apis/kubevirt.io
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ''
108
+ headers:
109
+ Accept:
110
+ - "*/*"
111
+ Accept-Encoding:
112
+ - gzip, deflate
113
+ User-Agent:
114
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
115
+ response:
116
+ status:
117
+ code: 200
118
+ message: OK
119
+ headers:
120
+ Content-Type:
121
+ - application/json
122
+ Date:
123
+ - Mon, 25 Mar 2019 09:36:51 GMT
124
+ Content-Length:
125
+ - '213'
126
+ body:
127
+ encoding: UTF-8
128
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"kubevirt.io","versions":[{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}],"preferredVersion":{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}}
129
+
130
+ '
131
+ http_version:
132
+ recorded_at: Mon, 25 Mar 2019 09:36:51 GMT
133
+ - request:
134
+ method: get
135
+ uri: https://10.8.254.82:8443/apis/kubevirt.io
136
+ body:
137
+ encoding: US-ASCII
138
+ string: ''
139
+ headers:
140
+ Accept:
141
+ - "*/*"
142
+ Accept-Encoding:
143
+ - gzip, deflate
144
+ User-Agent:
145
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
146
+ response:
147
+ status:
148
+ code: 200
149
+ message: OK
150
+ headers:
151
+ Content-Type:
152
+ - application/json
153
+ Date:
154
+ - Mon, 25 Mar 2019 09:40:38 GMT
155
+ Content-Length:
156
+ - '213'
157
+ body:
158
+ encoding: UTF-8
159
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"kubevirt.io","versions":[{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}],"preferredVersion":{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}}
160
+
161
+ '
162
+ http_version:
163
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
164
+ - request:
165
+ method: get
166
+ uri: https://10.8.254.82:8443/apis/kubevirt.io
167
+ body:
168
+ encoding: US-ASCII
169
+ string: ''
170
+ headers:
171
+ Accept:
172
+ - "*/*"
173
+ Accept-Encoding:
174
+ - gzip, deflate
175
+ User-Agent:
176
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
177
+ response:
178
+ status:
179
+ code: 200
180
+ message: OK
181
+ headers:
182
+ Content-Type:
183
+ - application/json
184
+ Date:
185
+ - Mon, 25 Mar 2019 09:40:38 GMT
186
+ Content-Length:
187
+ - '213'
188
+ body:
189
+ encoding: UTF-8
190
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"kubevirt.io","versions":[{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}],"preferredVersion":{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}}
191
+
192
+ '
193
+ http_version:
194
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
195
+ - request:
196
+ method: get
197
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3
198
+ body:
199
+ encoding: US-ASCII
200
+ string: ''
201
+ headers:
202
+ Accept:
203
+ - "*/*"
204
+ Accept-Encoding:
205
+ - gzip, deflate
206
+ User-Agent:
207
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
208
+ Authorization:
209
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
210
+ response:
211
+ status:
212
+ code: 200
213
+ message: OK
214
+ headers:
215
+ Content-Type:
216
+ - application/json
217
+ Date:
218
+ - Mon, 25 Mar 2019 09:40:38 GMT
219
+ Content-Length:
220
+ - '1526'
221
+ body:
222
+ encoding: UTF-8
223
+ string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"kubevirt.io/v1alpha3","resources":[{"name":"virtualmachineinstancemigrations","singularName":"virtualmachineinstancemigration","namespaced":true,"kind":"VirtualMachineInstanceMigration","verbs":["delete","deletecollection","get","list","patch","create","update","watch"],"shortNames":["vmim","vmims"]},{"name":"virtualmachineinstancepresets","singularName":"virtualmachineinstancepreset","namespaced":true,"kind":"VirtualMachineInstancePreset","verbs":["delete","deletecollection","get","list","patch","create","update","watch"],"shortNames":["vmipreset","vmipresets"]},{"name":"virtualmachineinstancereplicasets","singularName":"virtualmachineinstancereplicaset","namespaced":true,"kind":"VirtualMachineInstanceReplicaSet","verbs":["delete","deletecollection","get","list","patch","create","update","watch"],"shortNames":["vmirs","vmirss"]},{"name":"virtualmachineinstancereplicasets/scale","singularName":"","namespaced":true,"group":"autoscaling","version":"v1","kind":"Scale","verbs":["get","patch","update"]},{"name":"virtualmachineinstances","singularName":"virtualmachineinstance","namespaced":true,"kind":"VirtualMachineInstance","verbs":["delete","deletecollection","get","list","patch","create","update","watch"],"shortNames":["vmi","vmis"]},{"name":"virtualmachines","singularName":"virtualmachine","namespaced":true,"kind":"VirtualMachine","verbs":["delete","deletecollection","get","list","patch","create","update","watch"],"shortNames":["vm","vms"]}]}
224
+
225
+ '
226
+ http_version:
227
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
228
+ - request:
229
+ method: post
230
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines
231
+ body:
232
+ encoding: UTF-8
233
+ string: '{"kind":"VirtualMachine","metadata":{"labels":{"kubevirt.io/vm":"test"},"name":"test","namespace":"default"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test"}},"spec":{"domain":{"devices":{"disks":[{"name":"test-disk-01","disk":{"bus":"virtio"},"bootOrder":1},{"name":"test-disk-02","disk":{"bus":"virtio"},"bootOrder":2},{"name":"test-disk-03","disk":{},"bootOrder":3}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}},"cpu":{"cores":1}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test-disk-01","persistentVolumeClaim":{"claimName":"mypvc1"}},{"name":"test-disk-02","persistentVolumeClaim":{"claimName":"mypvc2"}},{"name":"test-disk-03","hostDisk":{"capacity":"1Gi","path":"/mnt/data/disk.img","type":"DiskOrCreate"}}]}}},"apiVersion":"kubevirt.io/v1alpha3"}'
234
+ headers:
235
+ Accept:
236
+ - "*/*"
237
+ Accept-Encoding:
238
+ - gzip, deflate
239
+ User-Agent:
240
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
241
+ Content-Type:
242
+ - application/json
243
+ Authorization:
244
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
245
+ Content-Length:
246
+ - '844'
247
+ response:
248
+ status:
249
+ code: 201
250
+ message: Created
251
+ headers:
252
+ Content-Type:
253
+ - application/json
254
+ Date:
255
+ - Mon, 25 Mar 2019 09:40:38 GMT
256
+ Content-Length:
257
+ - '1056'
258
+ body:
259
+ encoding: UTF-8
260
+ string: '{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-25T09:40:38Z","generation":1,"labels":{"kubevirt.io/vm":"test"},"name":"test","namespace":"default","resourceVersion":"3291941","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test","uid":"0c1b4784-4ee2-11e9-8e8c-5254007d353d"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"bootOrder":1,"disk":{"bus":"virtio"},"name":"test-disk-01"},{"bootOrder":2,"disk":{"bus":"virtio"},"name":"test-disk-02"},{"bootOrder":3,"disk":{},"name":"test-disk-03"}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test-disk-01","persistentVolumeClaim":{"claimName":"mypvc1"}},{"name":"test-disk-02","persistentVolumeClaim":{"claimName":"mypvc2"}},{"hostDisk":{"capacity":"1Gi","path":"/mnt/data/disk.img","type":"DiskOrCreate"},"name":"test-disk-03"}]}}}}
261
+
262
+ '
263
+ http_version:
264
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
265
+ - request:
266
+ method: get
267
+ uri: https://10.8.254.82:8443/apis/kubevirt.io
268
+ body:
269
+ encoding: US-ASCII
270
+ string: ''
271
+ headers:
272
+ Accept:
273
+ - "*/*"
274
+ Accept-Encoding:
275
+ - gzip, deflate
276
+ User-Agent:
277
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
278
+ response:
279
+ status:
280
+ code: 200
281
+ message: OK
282
+ headers:
283
+ Content-Type:
284
+ - application/json
285
+ Date:
286
+ - Mon, 25 Mar 2019 09:40:38 GMT
287
+ Content-Length:
288
+ - '213'
289
+ body:
290
+ encoding: UTF-8
291
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"kubevirt.io","versions":[{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}],"preferredVersion":{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}}
292
+
293
+ '
294
+ http_version:
295
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
296
+ - request:
297
+ method: get
298
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test
299
+ body:
300
+ encoding: US-ASCII
301
+ string: ''
302
+ headers:
303
+ Accept:
304
+ - "*/*"
305
+ Accept-Encoding:
306
+ - gzip, deflate
307
+ User-Agent:
308
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
309
+ Authorization:
310
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
311
+ response:
312
+ status:
313
+ code: 200
314
+ message: OK
315
+ headers:
316
+ Content-Type:
317
+ - application/json
318
+ Date:
319
+ - Mon, 25 Mar 2019 09:40:38 GMT
320
+ Content-Length:
321
+ - '1056'
322
+ body:
323
+ encoding: UTF-8
324
+ string: '{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-25T09:40:38Z","generation":1,"labels":{"kubevirt.io/vm":"test"},"name":"test","namespace":"default","resourceVersion":"3291941","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test","uid":"0c1b4784-4ee2-11e9-8e8c-5254007d353d"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"bootOrder":1,"disk":{"bus":"virtio"},"name":"test-disk-01"},{"bootOrder":2,"disk":{"bus":"virtio"},"name":"test-disk-02"},{"bootOrder":3,"disk":{},"name":"test-disk-03"}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test-disk-01","persistentVolumeClaim":{"claimName":"mypvc1"}},{"name":"test-disk-02","persistentVolumeClaim":{"claimName":"mypvc2"}},{"hostDisk":{"capacity":"1Gi","path":"/mnt/data/disk.img","type":"DiskOrCreate"},"name":"test-disk-03"}]}}}}
325
+
326
+ '
327
+ http_version:
328
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
329
+ - request:
330
+ method: get
331
+ uri: https://10.8.254.82:8443/apis/kubevirt.io
332
+ body:
333
+ encoding: US-ASCII
334
+ string: ''
335
+ headers:
336
+ Accept:
337
+ - "*/*"
338
+ Accept-Encoding:
339
+ - gzip, deflate
340
+ User-Agent:
341
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
342
+ response:
343
+ status:
344
+ code: 200
345
+ message: OK
346
+ headers:
347
+ Content-Type:
348
+ - application/json
349
+ Date:
350
+ - Mon, 25 Mar 2019 09:40:38 GMT
351
+ Content-Length:
352
+ - '213'
353
+ body:
354
+ encoding: UTF-8
355
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"kubevirt.io","versions":[{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}],"preferredVersion":{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}}
356
+
357
+ '
358
+ http_version:
359
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
360
+ - request:
361
+ method: get
362
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test
363
+ body:
364
+ encoding: US-ASCII
365
+ string: ''
366
+ headers:
367
+ Accept:
368
+ - "*/*"
369
+ Accept-Encoding:
370
+ - gzip, deflate
371
+ User-Agent:
372
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
373
+ Authorization:
374
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
375
+ response:
376
+ status:
377
+ code: 200
378
+ message: OK
379
+ headers:
380
+ Content-Type:
381
+ - application/json
382
+ Date:
383
+ - Mon, 25 Mar 2019 09:40:38 GMT
384
+ Content-Length:
385
+ - '1056'
386
+ body:
387
+ encoding: UTF-8
388
+ string: '{"apiVersion":"kubevirt.io/v1alpha3","kind":"VirtualMachine","metadata":{"creationTimestamp":"2019-03-25T09:40:38Z","generation":1,"labels":{"kubevirt.io/vm":"test"},"name":"test","namespace":"default","resourceVersion":"3291941","selfLink":"/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test","uid":"0c1b4784-4ee2-11e9-8e8c-5254007d353d"},"spec":{"running":false,"template":{"metadata":{"creationTimestamp":null,"labels":{"kubevirt.io/vm":"test"}},"spec":{"domain":{"cpu":{"cores":1},"devices":{"disks":[{"bootOrder":1,"disk":{"bus":"virtio"},"name":"test-disk-01"},{"bootOrder":2,"disk":{"bus":"virtio"},"name":"test-disk-02"},{"bootOrder":3,"disk":{},"name":"test-disk-03"}]},"machine":{"type":""},"resources":{"requests":{"memory":"64M"}}},"terminationGracePeriodSeconds":0,"volumes":[{"name":"test-disk-01","persistentVolumeClaim":{"claimName":"mypvc1"}},{"name":"test-disk-02","persistentVolumeClaim":{"claimName":"mypvc2"}},{"hostDisk":{"capacity":"1Gi","path":"/mnt/data/disk.img","type":"DiskOrCreate"},"name":"test-disk-03"}]}}}}
389
+
390
+ '
391
+ http_version:
392
+ recorded_at: Mon, 25 Mar 2019 09:40:38 GMT
393
+ - request:
394
+ method: get
395
+ uri: https://10.8.254.82:8443/apis/kubevirt.io
396
+ body:
397
+ encoding: US-ASCII
398
+ string: ''
399
+ headers:
400
+ Accept:
401
+ - "*/*"
402
+ Accept-Encoding:
403
+ - gzip, deflate
404
+ User-Agent:
405
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
406
+ response:
407
+ status:
408
+ code: 200
409
+ message: OK
410
+ headers:
411
+ Content-Type:
412
+ - application/json
413
+ Date:
414
+ - Mon, 25 Mar 2019 09:40:56 GMT
415
+ Content-Length:
416
+ - '213'
417
+ body:
418
+ encoding: UTF-8
419
+ string: '{"kind":"APIGroup","apiVersion":"v1","name":"kubevirt.io","versions":[{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}],"preferredVersion":{"groupVersion":"kubevirt.io/v1alpha3","version":"v1alpha3"}}
420
+
421
+ '
422
+ http_version:
423
+ recorded_at: Mon, 25 Mar 2019 09:40:56 GMT
424
+ - request:
425
+ method: delete
426
+ uri: https://10.8.254.82:8443/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines/test
427
+ body:
428
+ encoding: US-ASCII
429
+ string: ''
430
+ headers:
431
+ Accept:
432
+ - "*/*"
433
+ Accept-Encoding:
434
+ - gzip, deflate
435
+ User-Agent:
436
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
437
+ Content-Type:
438
+ - application/json
439
+ Authorization:
440
+ - Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImZvcmVtYW4tYWNjb3VudC10b2tlbi1yY3ByMiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJmb3JlbWFuLWFjY291bnQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI1OGY3NTc4NC0yMjUyLTExZTktYjU1NS01MjU0MDA3ZDM1M2QiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpmb3JlbWFuLWFjY291bnQifQ.UDzZu0_mLkJZvgeGE-lgKJOXtwWGt6WoNuEpm8k7VK61_bQFavEsETRUrGar68cebUPdUTWFoFlVStcQXoQoS0PUvqNPmznBcHDUW5Jw7pKaLHUhsqQkOoNzDD4eGcl1KDoagL1E-CkTglcYiMYHM9yykxnK58jyP3HF1rsDLG-c8N-T3bK_tLQ__eqKwPJ7R3RHuCg3M5FX1mH86wuaEsOPW3KW7tlGQpP5hj33-97KMp4GgH3pZMTLgo1JDwGT2GXPW12V7juE18KEvvot6q5S0Akl85Vp_5NCxNANRG9YCsSnUiB1opHBqfTxIO1ykSYHfg2IkuovQh68HDNV5A
441
+ response:
442
+ status:
443
+ code: 200
444
+ message: OK
445
+ headers:
446
+ Content-Type:
447
+ - application/json
448
+ Date:
449
+ - Mon, 25 Mar 2019 09:40:56 GMT
450
+ Content-Length:
451
+ - '187'
452
+ body:
453
+ encoding: UTF-8
454
+ string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"test","group":"kubevirt.io","kind":"virtualmachines","uid":"0c1b4784-4ee2-11e9-8e8c-5254007d353d"}}
455
+
456
+ '
457
+ http_version:
458
+ recorded_at: Mon, 25 Mar 2019 09:40:56 GMT
459
+ recorded_with: VCR 4.0.0