kube_schema 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -324,6 +324,19 @@
324
324
  }
325
325
  }
326
326
  },
327
+ "v1.ClaimRequest": {
328
+ "type": "object",
329
+ "properties": {
330
+ "claimName": {
331
+ "description": "ClaimName references the name of an entry in the VMI's spec.resourceClaims[] array. The referenced entry may use either resourceClaimName or resourceClaimTemplateName.",
332
+ "type": "string"
333
+ },
334
+ "requestName": {
335
+ "description": "RequestName specifies which request from the ResourceClaim/ResourceClaimTemplate spec.devices.requests array this claim request corresponds to.",
336
+ "type": "string"
337
+ }
338
+ }
339
+ },
327
340
  "v1.ClientPassthroughDevices": {
328
341
  "description": "Represent a subset of client devices that can be accessed by VMI. At the moment only, USB devices using Usbredir's library and tooling. Another fit would be a smartcard with libcacard.\n\nThe struct is currently empty as there is no immediate request for user-facing APIs. This structure simply turns on USB redirection of UsbClientPassthroughMaxNumberOf devices.",
329
342
  "type": "object"
@@ -2285,6 +2298,10 @@
2285
2298
  "permittedHostDevices": {
2286
2299
  "$ref": "#/definitions/v1.PermittedHostDevices"
2287
2300
  },
2301
+ "persistentReservationConfiguration": {
2302
+ "description": "PersistentReservationConfiguration controls the deployment of additional resources required for using SCSI persistent reservation in VMs",
2303
+ "$ref": "#/definitions/v1.PersistentReservationConfiguration"
2304
+ },
2288
2305
  "roleAggregationStrategy": {
2289
2306
  "description": "RoleAggregationStrategy controls whether RBAC cluster roles should be aggregated to the default Kubernetes roles (admin, edit, view). When set to \"AggregateToDefault\" (default) or not specified, the aggregate-to-* labels are added to the cluster roles. When set to \"Manual\", the labels are not added, and roles will not be aggregated to the default roles. Setting this field to \"Manual\" requires the OptOutRoleAggregation feature gate to be enabled. This is an Alpha feature and subject to change.",
2290
2307
  "type": "string"
@@ -2950,6 +2967,10 @@
2950
2967
  },
2951
2968
  "pod": {
2952
2969
  "$ref": "#/definitions/v1.PodNetwork"
2970
+ },
2971
+ "resourceClaim": {
2972
+ "description": "ResourceClaim represents a network resource requested via a VMI spec.resourceClaims[] entry, backed by either a Kubernetes ResourceClaim or ResourceClaimTemplate. This field should only be configured if the NetworkDevicesWithDRA feature-gate is enabled. This feature is in alpha.",
2973
+ "$ref": "#/definitions/v1.ClaimRequest"
2953
2974
  }
2954
2975
  }
2955
2976
  },
@@ -3191,6 +3212,15 @@
3191
3212
  }
3192
3213
  }
3193
3214
  },
3215
+ "v1.PersistentReservationConfiguration": {
3216
+ "type": "object",
3217
+ "properties": {
3218
+ "enabled": {
3219
+ "description": "Enabled controls the deployment of additional resources like the pr-helper container for enabling the use of the SCSI persistent reservation VMs, defaults to False.",
3220
+ "type": "boolean"
3221
+ }
3222
+ }
3223
+ },
3194
3224
  "v1.PersistentVolumeClaimInfo": {
3195
3225
  "description": "PersistentVolumeClaimInfo contains the relavant information virt-handler needs cached about a PVC",
3196
3226
  "type": "object",
@@ -5776,6 +5806,27 @@
5776
5806
  }
5777
5807
  }
5778
5808
  },
5809
+ "v1.VirtualMachineInstanceResourceClaim": {
5810
+ "type": "object",
5811
+ "required": [
5812
+ "name"
5813
+ ],
5814
+ "properties": {
5815
+ "name": {
5816
+ "description": "Name uniquely identifies this resource claim inside the VMI. This field is required and must be a DNS_LABEL.",
5817
+ "type": "string",
5818
+ "default": ""
5819
+ },
5820
+ "resourceClaimName": {
5821
+ "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this VMI.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
5822
+ "type": "string"
5823
+ },
5824
+ "resourceClaimTemplateName": {
5825
+ "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this VMI.\n\nThe template name is passed through to the generated virt-launcher Pod spec. From the Pod spec, the template is used to create a new ResourceClaim, which is bound to the virt-launcher Pod. When the virt-launcher Pod is deleted, the ResourceClaim is also deleted. The generated ResourceClaim name is unique and is recorded in pod.status.resourceClaimStatuses.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
5826
+ "type": "string"
5827
+ }
5828
+ }
5829
+ },
5779
5830
  "v1.VirtualMachineInstanceSpec": {
5780
5831
  "description": "VirtualMachineInstanceSpec is a description of a VirtualMachineInstance.",
5781
5832
  "type": "object",
@@ -5856,11 +5907,11 @@
5856
5907
  "$ref": "#/definitions/v1.Probe"
5857
5908
  },
5858
5909
  "resourceClaims": {
5859
- "description": "ResourceClaims define which ResourceClaims must be allocated and reserved before the VMI, hence virt-launcher pod is allowed to start. The resources will be made available to the domain which consumes them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate in kubernetes\n https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/\nThis field should only be configured if one of the feature-gates GPUsWithDRA or HostDevicesWithDRA is enabled. This feature is in alpha.",
5910
+ "description": "ResourceClaims define which ResourceClaims must be allocated and reserved before the VMI, hence virt-launcher pod is allowed to start. The resources will be made available to the domain which consumes them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate in kubernetes\n https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/\nThis field should only be configured if one of the feature-gates GPUsWithDRA, HostDevicesWithDRA, or NetworkDevicesWithDRA is enabled. This feature is in alpha.",
5860
5911
  "type": "array",
5861
5912
  "items": {
5862
5913
  "default": {},
5863
- "$ref": "#/definitions/io.k8s.api.core.v1.PodResourceClaim"
5914
+ "$ref": "#/definitions/v1.VirtualMachineInstanceResourceClaim"
5864
5915
  },
5865
5916
  "x-kubernetes-list-map-keys": [
5866
5917
  "name"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kube_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan K