pulumi-kubernetes 4.24.0a1752908431__py3-none-any.whl → 4.24.0a1753121506__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1752908431.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -118,19 +117,19 @@ class AllocatedDeviceStatus(dict):
|
|
|
118
117
|
return super().get(key, default)
|
|
119
118
|
|
|
120
119
|
def __init__(__self__, *,
|
|
121
|
-
device:
|
|
122
|
-
driver:
|
|
123
|
-
pool:
|
|
120
|
+
device: _builtins.str,
|
|
121
|
+
driver: _builtins.str,
|
|
122
|
+
pool: _builtins.str,
|
|
124
123
|
conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
|
|
125
124
|
data: Optional[Any] = None,
|
|
126
125
|
network_data: Optional['outputs.NetworkDeviceData'] = None):
|
|
127
126
|
"""
|
|
128
127
|
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.
|
|
129
|
-
:param
|
|
130
|
-
:param
|
|
128
|
+
:param _builtins.str device: Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
129
|
+
:param _builtins.str driver: Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
131
130
|
|
|
132
131
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
133
|
-
:param
|
|
132
|
+
:param _builtins.str pool: This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
134
133
|
|
|
135
134
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
136
135
|
:param Sequence['_meta.v1.ConditionArgs'] conditions: Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
|
|
@@ -151,17 +150,17 @@ class AllocatedDeviceStatus(dict):
|
|
|
151
150
|
if network_data is not None:
|
|
152
151
|
pulumi.set(__self__, "network_data", network_data)
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter
|
|
156
|
-
def device(self) ->
|
|
155
|
+
def device(self) -> _builtins.str:
|
|
157
156
|
"""
|
|
158
157
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "device")
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter
|
|
164
|
-
def driver(self) ->
|
|
163
|
+
def driver(self) -> _builtins.str:
|
|
165
164
|
"""
|
|
166
165
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
167
166
|
|
|
@@ -169,9 +168,9 @@ class AllocatedDeviceStatus(dict):
|
|
|
169
168
|
"""
|
|
170
169
|
return pulumi.get(self, "driver")
|
|
171
170
|
|
|
172
|
-
@property
|
|
171
|
+
@_builtins.property
|
|
173
172
|
@pulumi.getter
|
|
174
|
-
def pool(self) ->
|
|
173
|
+
def pool(self) -> _builtins.str:
|
|
175
174
|
"""
|
|
176
175
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
177
176
|
|
|
@@ -179,7 +178,7 @@ class AllocatedDeviceStatus(dict):
|
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "pool")
|
|
181
180
|
|
|
182
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
183
182
|
@pulumi.getter
|
|
184
183
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
|
|
185
184
|
"""
|
|
@@ -189,7 +188,7 @@ class AllocatedDeviceStatus(dict):
|
|
|
189
188
|
"""
|
|
190
189
|
return pulumi.get(self, "conditions")
|
|
191
190
|
|
|
192
|
-
@property
|
|
191
|
+
@_builtins.property
|
|
193
192
|
@pulumi.getter
|
|
194
193
|
def data(self) -> Optional[Any]:
|
|
195
194
|
"""
|
|
@@ -199,7 +198,7 @@ class AllocatedDeviceStatus(dict):
|
|
|
199
198
|
"""
|
|
200
199
|
return pulumi.get(self, "data")
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter(name="networkData")
|
|
204
203
|
def network_data(self) -> Optional['outputs.NetworkDeviceData']:
|
|
205
204
|
"""
|
|
@@ -233,10 +232,10 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
233
232
|
def __init__(__self__, *,
|
|
234
233
|
conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
|
|
235
234
|
data: Optional[Any] = None,
|
|
236
|
-
device: Optional[
|
|
237
|
-
driver: Optional[
|
|
235
|
+
device: Optional[_builtins.str] = None,
|
|
236
|
+
driver: Optional[_builtins.str] = None,
|
|
238
237
|
network_data: Optional['outputs.NetworkDeviceDataPatch'] = None,
|
|
239
|
-
pool: Optional[
|
|
238
|
+
pool: Optional[_builtins.str] = None):
|
|
240
239
|
"""
|
|
241
240
|
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.
|
|
242
241
|
:param Sequence['_meta.v1.ConditionPatchArgs'] conditions: Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.
|
|
@@ -245,12 +244,12 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
245
244
|
:param Any data: Data contains arbitrary driver-specific data.
|
|
246
245
|
|
|
247
246
|
The length of the raw data must be smaller or equal to 10 Ki.
|
|
248
|
-
:param
|
|
249
|
-
:param
|
|
247
|
+
:param _builtins.str device: Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
248
|
+
:param _builtins.str driver: Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
250
249
|
|
|
251
250
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
252
251
|
:param 'NetworkDeviceDataPatchArgs' network_data: NetworkData contains network-related information specific to the device.
|
|
253
|
-
:param
|
|
252
|
+
:param _builtins.str pool: This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
254
253
|
|
|
255
254
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
256
255
|
"""
|
|
@@ -267,7 +266,7 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
267
266
|
if pool is not None:
|
|
268
267
|
pulumi.set(__self__, "pool", pool)
|
|
269
268
|
|
|
270
|
-
@property
|
|
269
|
+
@_builtins.property
|
|
271
270
|
@pulumi.getter
|
|
272
271
|
def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
|
|
273
272
|
"""
|
|
@@ -277,7 +276,7 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
277
276
|
"""
|
|
278
277
|
return pulumi.get(self, "conditions")
|
|
279
278
|
|
|
280
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
281
280
|
@pulumi.getter
|
|
282
281
|
def data(self) -> Optional[Any]:
|
|
283
282
|
"""
|
|
@@ -287,17 +286,17 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
287
286
|
"""
|
|
288
287
|
return pulumi.get(self, "data")
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter
|
|
292
|
-
def device(self) -> Optional[
|
|
291
|
+
def device(self) -> Optional[_builtins.str]:
|
|
293
292
|
"""
|
|
294
293
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
295
294
|
"""
|
|
296
295
|
return pulumi.get(self, "device")
|
|
297
296
|
|
|
298
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
299
298
|
@pulumi.getter
|
|
300
|
-
def driver(self) -> Optional[
|
|
299
|
+
def driver(self) -> Optional[_builtins.str]:
|
|
301
300
|
"""
|
|
302
301
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
303
302
|
|
|
@@ -305,7 +304,7 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
305
304
|
"""
|
|
306
305
|
return pulumi.get(self, "driver")
|
|
307
306
|
|
|
308
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
309
308
|
@pulumi.getter(name="networkData")
|
|
310
309
|
def network_data(self) -> Optional['outputs.NetworkDeviceDataPatch']:
|
|
311
310
|
"""
|
|
@@ -313,9 +312,9 @@ class AllocatedDeviceStatusPatch(dict):
|
|
|
313
312
|
"""
|
|
314
313
|
return pulumi.get(self, "network_data")
|
|
315
314
|
|
|
316
|
-
@property
|
|
315
|
+
@_builtins.property
|
|
317
316
|
@pulumi.getter
|
|
318
|
-
def pool(self) -> Optional[
|
|
317
|
+
def pool(self) -> Optional[_builtins.str]:
|
|
319
318
|
"""
|
|
320
319
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
321
320
|
|
|
@@ -347,12 +346,12 @@ class AllocationResult(dict):
|
|
|
347
346
|
return super().get(key, default)
|
|
348
347
|
|
|
349
348
|
def __init__(__self__, *,
|
|
350
|
-
controller: Optional[
|
|
349
|
+
controller: Optional[_builtins.str] = None,
|
|
351
350
|
devices: Optional['outputs.DeviceAllocationResult'] = None,
|
|
352
351
|
node_selector: Optional['_core.v1.outputs.NodeSelector'] = None):
|
|
353
352
|
"""
|
|
354
353
|
AllocationResult contains attributes of an allocated resource.
|
|
355
|
-
:param
|
|
354
|
+
:param _builtins.str controller: Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
|
|
356
355
|
|
|
357
356
|
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
|
|
358
357
|
|
|
@@ -367,9 +366,9 @@ class AllocationResult(dict):
|
|
|
367
366
|
if node_selector is not None:
|
|
368
367
|
pulumi.set(__self__, "node_selector", node_selector)
|
|
369
368
|
|
|
370
|
-
@property
|
|
369
|
+
@_builtins.property
|
|
371
370
|
@pulumi.getter
|
|
372
|
-
def controller(self) -> Optional[
|
|
371
|
+
def controller(self) -> Optional[_builtins.str]:
|
|
373
372
|
"""
|
|
374
373
|
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
|
|
375
374
|
|
|
@@ -379,7 +378,7 @@ class AllocationResult(dict):
|
|
|
379
378
|
"""
|
|
380
379
|
return pulumi.get(self, "controller")
|
|
381
380
|
|
|
382
|
-
@property
|
|
381
|
+
@_builtins.property
|
|
383
382
|
@pulumi.getter
|
|
384
383
|
def devices(self) -> Optional['outputs.DeviceAllocationResult']:
|
|
385
384
|
"""
|
|
@@ -387,7 +386,7 @@ class AllocationResult(dict):
|
|
|
387
386
|
"""
|
|
388
387
|
return pulumi.get(self, "devices")
|
|
389
388
|
|
|
390
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
391
390
|
@pulumi.getter(name="nodeSelector")
|
|
392
391
|
def node_selector(self) -> Optional['_core.v1.outputs.NodeSelector']:
|
|
393
392
|
"""
|
|
@@ -419,12 +418,12 @@ class AllocationResultPatch(dict):
|
|
|
419
418
|
return super().get(key, default)
|
|
420
419
|
|
|
421
420
|
def __init__(__self__, *,
|
|
422
|
-
controller: Optional[
|
|
421
|
+
controller: Optional[_builtins.str] = None,
|
|
423
422
|
devices: Optional['outputs.DeviceAllocationResultPatch'] = None,
|
|
424
423
|
node_selector: Optional['_core.v1.outputs.NodeSelectorPatch'] = None):
|
|
425
424
|
"""
|
|
426
425
|
AllocationResult contains attributes of an allocated resource.
|
|
427
|
-
:param
|
|
426
|
+
:param _builtins.str controller: Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
|
|
428
427
|
|
|
429
428
|
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
|
|
430
429
|
|
|
@@ -439,9 +438,9 @@ class AllocationResultPatch(dict):
|
|
|
439
438
|
if node_selector is not None:
|
|
440
439
|
pulumi.set(__self__, "node_selector", node_selector)
|
|
441
440
|
|
|
442
|
-
@property
|
|
441
|
+
@_builtins.property
|
|
443
442
|
@pulumi.getter
|
|
444
|
-
def controller(self) -> Optional[
|
|
443
|
+
def controller(self) -> Optional[_builtins.str]:
|
|
445
444
|
"""
|
|
446
445
|
Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
|
|
447
446
|
|
|
@@ -451,7 +450,7 @@ class AllocationResultPatch(dict):
|
|
|
451
450
|
"""
|
|
452
451
|
return pulumi.get(self, "controller")
|
|
453
452
|
|
|
454
|
-
@property
|
|
453
|
+
@_builtins.property
|
|
455
454
|
@pulumi.getter
|
|
456
455
|
def devices(self) -> Optional['outputs.DeviceAllocationResultPatch']:
|
|
457
456
|
"""
|
|
@@ -459,7 +458,7 @@ class AllocationResultPatch(dict):
|
|
|
459
458
|
"""
|
|
460
459
|
return pulumi.get(self, "devices")
|
|
461
460
|
|
|
462
|
-
@property
|
|
461
|
+
@_builtins.property
|
|
463
462
|
@pulumi.getter(name="nodeSelector")
|
|
464
463
|
def node_selector(self) -> Optional['_core.v1.outputs.NodeSelectorPatch']:
|
|
465
464
|
"""
|
|
@@ -497,22 +496,22 @@ class BasicDevice(dict):
|
|
|
497
496
|
return super().get(key, default)
|
|
498
497
|
|
|
499
498
|
def __init__(__self__, *,
|
|
500
|
-
all_nodes: Optional[
|
|
499
|
+
all_nodes: Optional[_builtins.bool] = None,
|
|
501
500
|
attributes: Optional[Mapping[str, 'outputs.DeviceAttribute']] = None,
|
|
502
|
-
capacity: Optional[Mapping[str,
|
|
501
|
+
capacity: Optional[Mapping[str, _builtins.str]] = None,
|
|
503
502
|
consumes_counters: Optional[Sequence['outputs.DeviceCounterConsumption']] = None,
|
|
504
|
-
node_name: Optional[
|
|
503
|
+
node_name: Optional[_builtins.str] = None,
|
|
505
504
|
node_selector: Optional['_core.v1.outputs.NodeSelector'] = None,
|
|
506
505
|
taints: Optional[Sequence['outputs.DeviceTaint']] = None):
|
|
507
506
|
"""
|
|
508
507
|
BasicDevice defines one device instance.
|
|
509
|
-
:param
|
|
508
|
+
:param _builtins.bool all_nodes: AllNodes indicates that all nodes have access to the device.
|
|
510
509
|
|
|
511
510
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
512
511
|
:param Mapping[str, 'DeviceAttributeArgs'] attributes: Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
|
|
513
512
|
|
|
514
513
|
The maximum number of attributes and capacities combined is 32.
|
|
515
|
-
:param Mapping[str,
|
|
514
|
+
:param Mapping[str, _builtins.str] capacity: Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
|
|
516
515
|
|
|
517
516
|
The maximum number of attributes and capacities combined is 32.
|
|
518
517
|
:param Sequence['DeviceCounterConsumptionArgs'] consumes_counters: ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
|
|
@@ -520,7 +519,7 @@ class BasicDevice(dict):
|
|
|
520
519
|
There can only be a single entry per counterSet.
|
|
521
520
|
|
|
522
521
|
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
|
|
523
|
-
:param
|
|
522
|
+
:param _builtins.str node_name: NodeName identifies the node where the device is available.
|
|
524
523
|
|
|
525
524
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
526
525
|
:param '_core.v1.NodeSelectorArgs' node_selector: NodeSelector defines the nodes where the device is available.
|
|
@@ -547,9 +546,9 @@ class BasicDevice(dict):
|
|
|
547
546
|
if taints is not None:
|
|
548
547
|
pulumi.set(__self__, "taints", taints)
|
|
549
548
|
|
|
550
|
-
@property
|
|
549
|
+
@_builtins.property
|
|
551
550
|
@pulumi.getter(name="allNodes")
|
|
552
|
-
def all_nodes(self) -> Optional[
|
|
551
|
+
def all_nodes(self) -> Optional[_builtins.bool]:
|
|
553
552
|
"""
|
|
554
553
|
AllNodes indicates that all nodes have access to the device.
|
|
555
554
|
|
|
@@ -557,7 +556,7 @@ class BasicDevice(dict):
|
|
|
557
556
|
"""
|
|
558
557
|
return pulumi.get(self, "all_nodes")
|
|
559
558
|
|
|
560
|
-
@property
|
|
559
|
+
@_builtins.property
|
|
561
560
|
@pulumi.getter
|
|
562
561
|
def attributes(self) -> Optional[Mapping[str, 'outputs.DeviceAttribute']]:
|
|
563
562
|
"""
|
|
@@ -567,9 +566,9 @@ class BasicDevice(dict):
|
|
|
567
566
|
"""
|
|
568
567
|
return pulumi.get(self, "attributes")
|
|
569
568
|
|
|
570
|
-
@property
|
|
569
|
+
@_builtins.property
|
|
571
570
|
@pulumi.getter
|
|
572
|
-
def capacity(self) -> Optional[Mapping[str,
|
|
571
|
+
def capacity(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
573
572
|
"""
|
|
574
573
|
Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
|
|
575
574
|
|
|
@@ -577,7 +576,7 @@ class BasicDevice(dict):
|
|
|
577
576
|
"""
|
|
578
577
|
return pulumi.get(self, "capacity")
|
|
579
578
|
|
|
580
|
-
@property
|
|
579
|
+
@_builtins.property
|
|
581
580
|
@pulumi.getter(name="consumesCounters")
|
|
582
581
|
def consumes_counters(self) -> Optional[Sequence['outputs.DeviceCounterConsumption']]:
|
|
583
582
|
"""
|
|
@@ -589,9 +588,9 @@ class BasicDevice(dict):
|
|
|
589
588
|
"""
|
|
590
589
|
return pulumi.get(self, "consumes_counters")
|
|
591
590
|
|
|
592
|
-
@property
|
|
591
|
+
@_builtins.property
|
|
593
592
|
@pulumi.getter(name="nodeName")
|
|
594
|
-
def node_name(self) -> Optional[
|
|
593
|
+
def node_name(self) -> Optional[_builtins.str]:
|
|
595
594
|
"""
|
|
596
595
|
NodeName identifies the node where the device is available.
|
|
597
596
|
|
|
@@ -599,7 +598,7 @@ class BasicDevice(dict):
|
|
|
599
598
|
"""
|
|
600
599
|
return pulumi.get(self, "node_name")
|
|
601
600
|
|
|
602
|
-
@property
|
|
601
|
+
@_builtins.property
|
|
603
602
|
@pulumi.getter(name="nodeSelector")
|
|
604
603
|
def node_selector(self) -> Optional['_core.v1.outputs.NodeSelector']:
|
|
605
604
|
"""
|
|
@@ -609,7 +608,7 @@ class BasicDevice(dict):
|
|
|
609
608
|
"""
|
|
610
609
|
return pulumi.get(self, "node_selector")
|
|
611
610
|
|
|
612
|
-
@property
|
|
611
|
+
@_builtins.property
|
|
613
612
|
@pulumi.getter
|
|
614
613
|
def taints(self) -> Optional[Sequence['outputs.DeviceTaint']]:
|
|
615
614
|
"""
|
|
@@ -651,22 +650,22 @@ class BasicDevicePatch(dict):
|
|
|
651
650
|
return super().get(key, default)
|
|
652
651
|
|
|
653
652
|
def __init__(__self__, *,
|
|
654
|
-
all_nodes: Optional[
|
|
653
|
+
all_nodes: Optional[_builtins.bool] = None,
|
|
655
654
|
attributes: Optional[Mapping[str, 'outputs.DeviceAttribute']] = None,
|
|
656
|
-
capacity: Optional[Mapping[str,
|
|
655
|
+
capacity: Optional[Mapping[str, _builtins.str]] = None,
|
|
657
656
|
consumes_counters: Optional[Sequence['outputs.DeviceCounterConsumptionPatch']] = None,
|
|
658
|
-
node_name: Optional[
|
|
657
|
+
node_name: Optional[_builtins.str] = None,
|
|
659
658
|
node_selector: Optional['_core.v1.outputs.NodeSelectorPatch'] = None,
|
|
660
659
|
taints: Optional[Sequence['outputs.DeviceTaintPatch']] = None):
|
|
661
660
|
"""
|
|
662
661
|
BasicDevice defines one device instance.
|
|
663
|
-
:param
|
|
662
|
+
:param _builtins.bool all_nodes: AllNodes indicates that all nodes have access to the device.
|
|
664
663
|
|
|
665
664
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
666
665
|
:param Mapping[str, 'DeviceAttributeArgs'] attributes: Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.
|
|
667
666
|
|
|
668
667
|
The maximum number of attributes and capacities combined is 32.
|
|
669
|
-
:param Mapping[str,
|
|
668
|
+
:param Mapping[str, _builtins.str] capacity: Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
|
|
670
669
|
|
|
671
670
|
The maximum number of attributes and capacities combined is 32.
|
|
672
671
|
:param Sequence['DeviceCounterConsumptionPatchArgs'] consumes_counters: ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.
|
|
@@ -674,7 +673,7 @@ class BasicDevicePatch(dict):
|
|
|
674
673
|
There can only be a single entry per counterSet.
|
|
675
674
|
|
|
676
675
|
The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).
|
|
677
|
-
:param
|
|
676
|
+
:param _builtins.str node_name: NodeName identifies the node where the device is available.
|
|
678
677
|
|
|
679
678
|
Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.
|
|
680
679
|
:param '_core.v1.NodeSelectorPatchArgs' node_selector: NodeSelector defines the nodes where the device is available.
|
|
@@ -701,9 +700,9 @@ class BasicDevicePatch(dict):
|
|
|
701
700
|
if taints is not None:
|
|
702
701
|
pulumi.set(__self__, "taints", taints)
|
|
703
702
|
|
|
704
|
-
@property
|
|
703
|
+
@_builtins.property
|
|
705
704
|
@pulumi.getter(name="allNodes")
|
|
706
|
-
def all_nodes(self) -> Optional[
|
|
705
|
+
def all_nodes(self) -> Optional[_builtins.bool]:
|
|
707
706
|
"""
|
|
708
707
|
AllNodes indicates that all nodes have access to the device.
|
|
709
708
|
|
|
@@ -711,7 +710,7 @@ class BasicDevicePatch(dict):
|
|
|
711
710
|
"""
|
|
712
711
|
return pulumi.get(self, "all_nodes")
|
|
713
712
|
|
|
714
|
-
@property
|
|
713
|
+
@_builtins.property
|
|
715
714
|
@pulumi.getter
|
|
716
715
|
def attributes(self) -> Optional[Mapping[str, 'outputs.DeviceAttribute']]:
|
|
717
716
|
"""
|
|
@@ -721,9 +720,9 @@ class BasicDevicePatch(dict):
|
|
|
721
720
|
"""
|
|
722
721
|
return pulumi.get(self, "attributes")
|
|
723
722
|
|
|
724
|
-
@property
|
|
723
|
+
@_builtins.property
|
|
725
724
|
@pulumi.getter
|
|
726
|
-
def capacity(self) -> Optional[Mapping[str,
|
|
725
|
+
def capacity(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
727
726
|
"""
|
|
728
727
|
Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.
|
|
729
728
|
|
|
@@ -731,7 +730,7 @@ class BasicDevicePatch(dict):
|
|
|
731
730
|
"""
|
|
732
731
|
return pulumi.get(self, "capacity")
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="consumesCounters")
|
|
736
735
|
def consumes_counters(self) -> Optional[Sequence['outputs.DeviceCounterConsumptionPatch']]:
|
|
737
736
|
"""
|
|
@@ -743,9 +742,9 @@ class BasicDevicePatch(dict):
|
|
|
743
742
|
"""
|
|
744
743
|
return pulumi.get(self, "consumes_counters")
|
|
745
744
|
|
|
746
|
-
@property
|
|
745
|
+
@_builtins.property
|
|
747
746
|
@pulumi.getter(name="nodeName")
|
|
748
|
-
def node_name(self) -> Optional[
|
|
747
|
+
def node_name(self) -> Optional[_builtins.str]:
|
|
749
748
|
"""
|
|
750
749
|
NodeName identifies the node where the device is available.
|
|
751
750
|
|
|
@@ -753,7 +752,7 @@ class BasicDevicePatch(dict):
|
|
|
753
752
|
"""
|
|
754
753
|
return pulumi.get(self, "node_name")
|
|
755
754
|
|
|
756
|
-
@property
|
|
755
|
+
@_builtins.property
|
|
757
756
|
@pulumi.getter(name="nodeSelector")
|
|
758
757
|
def node_selector(self) -> Optional['_core.v1.outputs.NodeSelectorPatch']:
|
|
759
758
|
"""
|
|
@@ -763,7 +762,7 @@ class BasicDevicePatch(dict):
|
|
|
763
762
|
"""
|
|
764
763
|
return pulumi.get(self, "node_selector")
|
|
765
764
|
|
|
766
|
-
@property
|
|
765
|
+
@_builtins.property
|
|
767
766
|
@pulumi.getter
|
|
768
767
|
def taints(self) -> Optional[Sequence['outputs.DeviceTaintPatch']]:
|
|
769
768
|
"""
|
|
@@ -782,10 +781,10 @@ class CELDeviceSelector(dict):
|
|
|
782
781
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
783
782
|
"""
|
|
784
783
|
def __init__(__self__, *,
|
|
785
|
-
expression:
|
|
784
|
+
expression: _builtins.str):
|
|
786
785
|
"""
|
|
787
786
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
788
|
-
:param
|
|
787
|
+
:param _builtins.str expression: Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
789
788
|
|
|
790
789
|
The expression's input is an object named "device", which carries the following properties:
|
|
791
790
|
- driver (string): the name of the driver which defines this device.
|
|
@@ -817,9 +816,9 @@ class CELDeviceSelector(dict):
|
|
|
817
816
|
"""
|
|
818
817
|
pulumi.set(__self__, "expression", expression)
|
|
819
818
|
|
|
820
|
-
@property
|
|
819
|
+
@_builtins.property
|
|
821
820
|
@pulumi.getter
|
|
822
|
-
def expression(self) ->
|
|
821
|
+
def expression(self) -> _builtins.str:
|
|
823
822
|
"""
|
|
824
823
|
Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
825
824
|
|
|
@@ -860,10 +859,10 @@ class CELDeviceSelectorPatch(dict):
|
|
|
860
859
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
861
860
|
"""
|
|
862
861
|
def __init__(__self__, *,
|
|
863
|
-
expression: Optional[
|
|
862
|
+
expression: Optional[_builtins.str] = None):
|
|
864
863
|
"""
|
|
865
864
|
CELDeviceSelector contains a CEL expression for selecting a device.
|
|
866
|
-
:param
|
|
865
|
+
:param _builtins.str expression: Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
867
866
|
|
|
868
867
|
The expression's input is an object named "device", which carries the following properties:
|
|
869
868
|
- driver (string): the name of the driver which defines this device.
|
|
@@ -896,9 +895,9 @@ class CELDeviceSelectorPatch(dict):
|
|
|
896
895
|
if expression is not None:
|
|
897
896
|
pulumi.set(__self__, "expression", expression)
|
|
898
897
|
|
|
899
|
-
@property
|
|
898
|
+
@_builtins.property
|
|
900
899
|
@pulumi.getter
|
|
901
|
-
def expression(self) -> Optional[
|
|
900
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
902
901
|
"""
|
|
903
902
|
Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.
|
|
904
903
|
|
|
@@ -939,16 +938,16 @@ class Counter(dict):
|
|
|
939
938
|
Counter describes a quantity associated with a device.
|
|
940
939
|
"""
|
|
941
940
|
def __init__(__self__, *,
|
|
942
|
-
value:
|
|
941
|
+
value: _builtins.str):
|
|
943
942
|
"""
|
|
944
943
|
Counter describes a quantity associated with a device.
|
|
945
|
-
:param
|
|
944
|
+
:param _builtins.str value: Value defines how much of a certain device counter is available.
|
|
946
945
|
"""
|
|
947
946
|
pulumi.set(__self__, "value", value)
|
|
948
947
|
|
|
949
|
-
@property
|
|
948
|
+
@_builtins.property
|
|
950
949
|
@pulumi.getter
|
|
951
|
-
def value(self) ->
|
|
950
|
+
def value(self) -> _builtins.str:
|
|
952
951
|
"""
|
|
953
952
|
Value defines how much of a certain device counter is available.
|
|
954
953
|
"""
|
|
@@ -964,7 +963,7 @@ class CounterSet(dict):
|
|
|
964
963
|
"""
|
|
965
964
|
def __init__(__self__, *,
|
|
966
965
|
counters: Mapping[str, 'outputs.Counter'],
|
|
967
|
-
name:
|
|
966
|
+
name: _builtins.str):
|
|
968
967
|
"""
|
|
969
968
|
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
|
|
970
969
|
|
|
@@ -974,12 +973,12 @@ class CounterSet(dict):
|
|
|
974
973
|
To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
|
|
975
974
|
|
|
976
975
|
The maximum number of counters is 32.
|
|
977
|
-
:param
|
|
976
|
+
:param _builtins.str name: CounterSet is the name of the set from which the counters defined will be consumed.
|
|
978
977
|
"""
|
|
979
978
|
pulumi.set(__self__, "counters", counters)
|
|
980
979
|
pulumi.set(__self__, "name", name)
|
|
981
980
|
|
|
982
|
-
@property
|
|
981
|
+
@_builtins.property
|
|
983
982
|
@pulumi.getter
|
|
984
983
|
def counters(self) -> Mapping[str, 'outputs.Counter']:
|
|
985
984
|
"""
|
|
@@ -991,9 +990,9 @@ class CounterSet(dict):
|
|
|
991
990
|
"""
|
|
992
991
|
return pulumi.get(self, "counters")
|
|
993
992
|
|
|
994
|
-
@property
|
|
993
|
+
@_builtins.property
|
|
995
994
|
@pulumi.getter
|
|
996
|
-
def name(self) ->
|
|
995
|
+
def name(self) -> _builtins.str:
|
|
997
996
|
"""
|
|
998
997
|
CounterSet is the name of the set from which the counters defined will be consumed.
|
|
999
998
|
"""
|
|
@@ -1009,7 +1008,7 @@ class CounterSetPatch(dict):
|
|
|
1009
1008
|
"""
|
|
1010
1009
|
def __init__(__self__, *,
|
|
1011
1010
|
counters: Optional[Mapping[str, 'outputs.Counter']] = None,
|
|
1012
|
-
name: Optional[
|
|
1011
|
+
name: Optional[_builtins.str] = None):
|
|
1013
1012
|
"""
|
|
1014
1013
|
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
|
|
1015
1014
|
|
|
@@ -1019,14 +1018,14 @@ class CounterSetPatch(dict):
|
|
|
1019
1018
|
To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.
|
|
1020
1019
|
|
|
1021
1020
|
The maximum number of counters is 32.
|
|
1022
|
-
:param
|
|
1021
|
+
:param _builtins.str name: CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1023
1022
|
"""
|
|
1024
1023
|
if counters is not None:
|
|
1025
1024
|
pulumi.set(__self__, "counters", counters)
|
|
1026
1025
|
if name is not None:
|
|
1027
1026
|
pulumi.set(__self__, "name", name)
|
|
1028
1027
|
|
|
1029
|
-
@property
|
|
1028
|
+
@_builtins.property
|
|
1030
1029
|
@pulumi.getter
|
|
1031
1030
|
def counters(self) -> Optional[Mapping[str, 'outputs.Counter']]:
|
|
1032
1031
|
"""
|
|
@@ -1038,9 +1037,9 @@ class CounterSetPatch(dict):
|
|
|
1038
1037
|
"""
|
|
1039
1038
|
return pulumi.get(self, "counters")
|
|
1040
1039
|
|
|
1041
|
-
@property
|
|
1040
|
+
@_builtins.property
|
|
1042
1041
|
@pulumi.getter
|
|
1043
|
-
def name(self) -> Optional[
|
|
1042
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1044
1043
|
"""
|
|
1045
1044
|
CounterSet is the name of the set from which the counters defined will be consumed.
|
|
1046
1045
|
"""
|
|
@@ -1053,26 +1052,26 @@ class Device(dict):
|
|
|
1053
1052
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
1054
1053
|
"""
|
|
1055
1054
|
def __init__(__self__, *,
|
|
1056
|
-
name:
|
|
1055
|
+
name: _builtins.str,
|
|
1057
1056
|
basic: Optional['outputs.BasicDevice'] = None):
|
|
1058
1057
|
"""
|
|
1059
1058
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
1060
|
-
:param
|
|
1059
|
+
:param _builtins.str name: Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
1061
1060
|
:param 'BasicDeviceArgs' basic: Basic defines one device instance.
|
|
1062
1061
|
"""
|
|
1063
1062
|
pulumi.set(__self__, "name", name)
|
|
1064
1063
|
if basic is not None:
|
|
1065
1064
|
pulumi.set(__self__, "basic", basic)
|
|
1066
1065
|
|
|
1067
|
-
@property
|
|
1066
|
+
@_builtins.property
|
|
1068
1067
|
@pulumi.getter
|
|
1069
|
-
def name(self) ->
|
|
1068
|
+
def name(self) -> _builtins.str:
|
|
1070
1069
|
"""
|
|
1071
1070
|
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
1072
1071
|
"""
|
|
1073
1072
|
return pulumi.get(self, "name")
|
|
1074
1073
|
|
|
1075
|
-
@property
|
|
1074
|
+
@_builtins.property
|
|
1076
1075
|
@pulumi.getter
|
|
1077
1076
|
def basic(self) -> Optional['outputs.BasicDevice']:
|
|
1078
1077
|
"""
|
|
@@ -1087,14 +1086,14 @@ class DeviceAllocationConfiguration(dict):
|
|
|
1087
1086
|
DeviceAllocationConfiguration gets embedded in an AllocationResult.
|
|
1088
1087
|
"""
|
|
1089
1088
|
def __init__(__self__, *,
|
|
1090
|
-
source:
|
|
1089
|
+
source: _builtins.str,
|
|
1091
1090
|
opaque: Optional['outputs.OpaqueDeviceConfiguration'] = None,
|
|
1092
|
-
requests: Optional[Sequence[
|
|
1091
|
+
requests: Optional[Sequence[_builtins.str]] = None):
|
|
1093
1092
|
"""
|
|
1094
1093
|
DeviceAllocationConfiguration gets embedded in an AllocationResult.
|
|
1095
|
-
:param
|
|
1094
|
+
:param _builtins.str source: Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
1096
1095
|
:param 'OpaqueDeviceConfigurationArgs' opaque: Opaque provides driver-specific configuration parameters.
|
|
1097
|
-
:param Sequence[
|
|
1096
|
+
:param Sequence[_builtins.str] requests: Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
1098
1097
|
|
|
1099
1098
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
1100
1099
|
"""
|
|
@@ -1104,15 +1103,15 @@ class DeviceAllocationConfiguration(dict):
|
|
|
1104
1103
|
if requests is not None:
|
|
1105
1104
|
pulumi.set(__self__, "requests", requests)
|
|
1106
1105
|
|
|
1107
|
-
@property
|
|
1106
|
+
@_builtins.property
|
|
1108
1107
|
@pulumi.getter
|
|
1109
|
-
def source(self) ->
|
|
1108
|
+
def source(self) -> _builtins.str:
|
|
1110
1109
|
"""
|
|
1111
1110
|
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
1112
1111
|
"""
|
|
1113
1112
|
return pulumi.get(self, "source")
|
|
1114
1113
|
|
|
1115
|
-
@property
|
|
1114
|
+
@_builtins.property
|
|
1116
1115
|
@pulumi.getter
|
|
1117
1116
|
def opaque(self) -> Optional['outputs.OpaqueDeviceConfiguration']:
|
|
1118
1117
|
"""
|
|
@@ -1120,9 +1119,9 @@ class DeviceAllocationConfiguration(dict):
|
|
|
1120
1119
|
"""
|
|
1121
1120
|
return pulumi.get(self, "opaque")
|
|
1122
1121
|
|
|
1123
|
-
@property
|
|
1122
|
+
@_builtins.property
|
|
1124
1123
|
@pulumi.getter
|
|
1125
|
-
def requests(self) -> Optional[Sequence[
|
|
1124
|
+
def requests(self) -> Optional[Sequence[_builtins.str]]:
|
|
1126
1125
|
"""
|
|
1127
1126
|
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
1128
1127
|
|
|
@@ -1138,15 +1137,15 @@ class DeviceAllocationConfigurationPatch(dict):
|
|
|
1138
1137
|
"""
|
|
1139
1138
|
def __init__(__self__, *,
|
|
1140
1139
|
opaque: Optional['outputs.OpaqueDeviceConfigurationPatch'] = None,
|
|
1141
|
-
requests: Optional[Sequence[
|
|
1142
|
-
source: Optional[
|
|
1140
|
+
requests: Optional[Sequence[_builtins.str]] = None,
|
|
1141
|
+
source: Optional[_builtins.str] = None):
|
|
1143
1142
|
"""
|
|
1144
1143
|
DeviceAllocationConfiguration gets embedded in an AllocationResult.
|
|
1145
1144
|
:param 'OpaqueDeviceConfigurationPatchArgs' opaque: Opaque provides driver-specific configuration parameters.
|
|
1146
|
-
:param Sequence[
|
|
1145
|
+
:param Sequence[_builtins.str] requests: Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
1147
1146
|
|
|
1148
1147
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
1149
|
-
:param
|
|
1148
|
+
:param _builtins.str source: Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
1150
1149
|
"""
|
|
1151
1150
|
if opaque is not None:
|
|
1152
1151
|
pulumi.set(__self__, "opaque", opaque)
|
|
@@ -1155,7 +1154,7 @@ class DeviceAllocationConfigurationPatch(dict):
|
|
|
1155
1154
|
if source is not None:
|
|
1156
1155
|
pulumi.set(__self__, "source", source)
|
|
1157
1156
|
|
|
1158
|
-
@property
|
|
1157
|
+
@_builtins.property
|
|
1159
1158
|
@pulumi.getter
|
|
1160
1159
|
def opaque(self) -> Optional['outputs.OpaqueDeviceConfigurationPatch']:
|
|
1161
1160
|
"""
|
|
@@ -1163,9 +1162,9 @@ class DeviceAllocationConfigurationPatch(dict):
|
|
|
1163
1162
|
"""
|
|
1164
1163
|
return pulumi.get(self, "opaque")
|
|
1165
1164
|
|
|
1166
|
-
@property
|
|
1165
|
+
@_builtins.property
|
|
1167
1166
|
@pulumi.getter
|
|
1168
|
-
def requests(self) -> Optional[Sequence[
|
|
1167
|
+
def requests(self) -> Optional[Sequence[_builtins.str]]:
|
|
1169
1168
|
"""
|
|
1170
1169
|
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
|
|
1171
1170
|
|
|
@@ -1173,9 +1172,9 @@ class DeviceAllocationConfigurationPatch(dict):
|
|
|
1173
1172
|
"""
|
|
1174
1173
|
return pulumi.get(self, "requests")
|
|
1175
1174
|
|
|
1176
|
-
@property
|
|
1175
|
+
@_builtins.property
|
|
1177
1176
|
@pulumi.getter
|
|
1178
|
-
def source(self) -> Optional[
|
|
1177
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1179
1178
|
"""
|
|
1180
1179
|
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
|
|
1181
1180
|
"""
|
|
@@ -1202,7 +1201,7 @@ class DeviceAllocationResult(dict):
|
|
|
1202
1201
|
if results is not None:
|
|
1203
1202
|
pulumi.set(__self__, "results", results)
|
|
1204
1203
|
|
|
1205
|
-
@property
|
|
1204
|
+
@_builtins.property
|
|
1206
1205
|
@pulumi.getter
|
|
1207
1206
|
def config(self) -> Optional[Sequence['outputs.DeviceAllocationConfiguration']]:
|
|
1208
1207
|
"""
|
|
@@ -1212,7 +1211,7 @@ class DeviceAllocationResult(dict):
|
|
|
1212
1211
|
"""
|
|
1213
1212
|
return pulumi.get(self, "config")
|
|
1214
1213
|
|
|
1215
|
-
@property
|
|
1214
|
+
@_builtins.property
|
|
1216
1215
|
@pulumi.getter
|
|
1217
1216
|
def results(self) -> Optional[Sequence['outputs.DeviceRequestAllocationResult']]:
|
|
1218
1217
|
"""
|
|
@@ -1241,7 +1240,7 @@ class DeviceAllocationResultPatch(dict):
|
|
|
1241
1240
|
if results is not None:
|
|
1242
1241
|
pulumi.set(__self__, "results", results)
|
|
1243
1242
|
|
|
1244
|
-
@property
|
|
1243
|
+
@_builtins.property
|
|
1245
1244
|
@pulumi.getter
|
|
1246
1245
|
def config(self) -> Optional[Sequence['outputs.DeviceAllocationConfigurationPatch']]:
|
|
1247
1246
|
"""
|
|
@@ -1251,7 +1250,7 @@ class DeviceAllocationResultPatch(dict):
|
|
|
1251
1250
|
"""
|
|
1252
1251
|
return pulumi.get(self, "config")
|
|
1253
1252
|
|
|
1254
|
-
@property
|
|
1253
|
+
@_builtins.property
|
|
1255
1254
|
@pulumi.getter
|
|
1256
1255
|
def results(self) -> Optional[Sequence['outputs.DeviceRequestAllocationResultPatch']]:
|
|
1257
1256
|
"""
|
|
@@ -1266,16 +1265,16 @@ class DeviceAttribute(dict):
|
|
|
1266
1265
|
DeviceAttribute must have exactly one field set.
|
|
1267
1266
|
"""
|
|
1268
1267
|
def __init__(__self__, *,
|
|
1269
|
-
bool: Optional[
|
|
1270
|
-
int: Optional[
|
|
1271
|
-
string: Optional[
|
|
1272
|
-
version: Optional[
|
|
1268
|
+
bool: Optional[_builtins.bool] = None,
|
|
1269
|
+
int: Optional[_builtins.int] = None,
|
|
1270
|
+
string: Optional[_builtins.str] = None,
|
|
1271
|
+
version: Optional[_builtins.str] = None):
|
|
1273
1272
|
"""
|
|
1274
1273
|
DeviceAttribute must have exactly one field set.
|
|
1275
|
-
:param
|
|
1276
|
-
:param
|
|
1277
|
-
:param
|
|
1278
|
-
:param
|
|
1274
|
+
:param _builtins.bool bool: BoolValue is a true/false value.
|
|
1275
|
+
:param _builtins.int int: IntValue is a number.
|
|
1276
|
+
:param _builtins.str string: StringValue is a string. Must not be longer than 64 characters.
|
|
1277
|
+
:param _builtins.str version: VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
|
|
1279
1278
|
"""
|
|
1280
1279
|
if bool is not None:
|
|
1281
1280
|
pulumi.set(__self__, "bool", bool)
|
|
@@ -1286,33 +1285,33 @@ class DeviceAttribute(dict):
|
|
|
1286
1285
|
if version is not None:
|
|
1287
1286
|
pulumi.set(__self__, "version", version)
|
|
1288
1287
|
|
|
1289
|
-
@property
|
|
1288
|
+
@_builtins.property
|
|
1290
1289
|
@pulumi.getter
|
|
1291
|
-
def bool(self) -> Optional[
|
|
1290
|
+
def bool(self) -> Optional[_builtins.bool]:
|
|
1292
1291
|
"""
|
|
1293
1292
|
BoolValue is a true/false value.
|
|
1294
1293
|
"""
|
|
1295
1294
|
return pulumi.get(self, "bool")
|
|
1296
1295
|
|
|
1297
|
-
@property
|
|
1296
|
+
@_builtins.property
|
|
1298
1297
|
@pulumi.getter
|
|
1299
|
-
def int(self) -> Optional[
|
|
1298
|
+
def int(self) -> Optional[_builtins.int]:
|
|
1300
1299
|
"""
|
|
1301
1300
|
IntValue is a number.
|
|
1302
1301
|
"""
|
|
1303
1302
|
return pulumi.get(self, "int")
|
|
1304
1303
|
|
|
1305
|
-
@property
|
|
1304
|
+
@_builtins.property
|
|
1306
1305
|
@pulumi.getter
|
|
1307
|
-
def string(self) -> Optional[
|
|
1306
|
+
def string(self) -> Optional[_builtins.str]:
|
|
1308
1307
|
"""
|
|
1309
1308
|
StringValue is a string. Must not be longer than 64 characters.
|
|
1310
1309
|
"""
|
|
1311
1310
|
return pulumi.get(self, "string")
|
|
1312
1311
|
|
|
1313
|
-
@property
|
|
1312
|
+
@_builtins.property
|
|
1314
1313
|
@pulumi.getter
|
|
1315
|
-
def version(self) -> Optional[
|
|
1314
|
+
def version(self) -> Optional[_builtins.str]:
|
|
1316
1315
|
"""
|
|
1317
1316
|
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
|
|
1318
1317
|
"""
|
|
@@ -1341,7 +1340,7 @@ class DeviceClaim(dict):
|
|
|
1341
1340
|
if requests is not None:
|
|
1342
1341
|
pulumi.set(__self__, "requests", requests)
|
|
1343
1342
|
|
|
1344
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1345
1344
|
@pulumi.getter
|
|
1346
1345
|
def config(self) -> Optional[Sequence['outputs.DeviceClaimConfiguration']]:
|
|
1347
1346
|
"""
|
|
@@ -1349,7 +1348,7 @@ class DeviceClaim(dict):
|
|
|
1349
1348
|
"""
|
|
1350
1349
|
return pulumi.get(self, "config")
|
|
1351
1350
|
|
|
1352
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1353
1352
|
@pulumi.getter
|
|
1354
1353
|
def constraints(self) -> Optional[Sequence['outputs.DeviceConstraint']]:
|
|
1355
1354
|
"""
|
|
@@ -1357,7 +1356,7 @@ class DeviceClaim(dict):
|
|
|
1357
1356
|
"""
|
|
1358
1357
|
return pulumi.get(self, "constraints")
|
|
1359
1358
|
|
|
1360
|
-
@property
|
|
1359
|
+
@_builtins.property
|
|
1361
1360
|
@pulumi.getter
|
|
1362
1361
|
def requests(self) -> Optional[Sequence['outputs.DeviceRequest']]:
|
|
1363
1362
|
"""
|
|
@@ -1373,11 +1372,11 @@ class DeviceClaimConfiguration(dict):
|
|
|
1373
1372
|
"""
|
|
1374
1373
|
def __init__(__self__, *,
|
|
1375
1374
|
opaque: Optional['outputs.OpaqueDeviceConfiguration'] = None,
|
|
1376
|
-
requests: Optional[Sequence[
|
|
1375
|
+
requests: Optional[Sequence[_builtins.str]] = None):
|
|
1377
1376
|
"""
|
|
1378
1377
|
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
|
|
1379
1378
|
:param 'OpaqueDeviceConfigurationArgs' opaque: Opaque provides driver-specific configuration parameters.
|
|
1380
|
-
:param Sequence[
|
|
1379
|
+
:param Sequence[_builtins.str] requests: Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1381
1380
|
|
|
1382
1381
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
1383
1382
|
"""
|
|
@@ -1386,7 +1385,7 @@ class DeviceClaimConfiguration(dict):
|
|
|
1386
1385
|
if requests is not None:
|
|
1387
1386
|
pulumi.set(__self__, "requests", requests)
|
|
1388
1387
|
|
|
1389
|
-
@property
|
|
1388
|
+
@_builtins.property
|
|
1390
1389
|
@pulumi.getter
|
|
1391
1390
|
def opaque(self) -> Optional['outputs.OpaqueDeviceConfiguration']:
|
|
1392
1391
|
"""
|
|
@@ -1394,9 +1393,9 @@ class DeviceClaimConfiguration(dict):
|
|
|
1394
1393
|
"""
|
|
1395
1394
|
return pulumi.get(self, "opaque")
|
|
1396
1395
|
|
|
1397
|
-
@property
|
|
1396
|
+
@_builtins.property
|
|
1398
1397
|
@pulumi.getter
|
|
1399
|
-
def requests(self) -> Optional[Sequence[
|
|
1398
|
+
def requests(self) -> Optional[Sequence[_builtins.str]]:
|
|
1400
1399
|
"""
|
|
1401
1400
|
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1402
1401
|
|
|
@@ -1412,11 +1411,11 @@ class DeviceClaimConfigurationPatch(dict):
|
|
|
1412
1411
|
"""
|
|
1413
1412
|
def __init__(__self__, *,
|
|
1414
1413
|
opaque: Optional['outputs.OpaqueDeviceConfigurationPatch'] = None,
|
|
1415
|
-
requests: Optional[Sequence[
|
|
1414
|
+
requests: Optional[Sequence[_builtins.str]] = None):
|
|
1416
1415
|
"""
|
|
1417
1416
|
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
|
|
1418
1417
|
:param 'OpaqueDeviceConfigurationPatchArgs' opaque: Opaque provides driver-specific configuration parameters.
|
|
1419
|
-
:param Sequence[
|
|
1418
|
+
:param Sequence[_builtins.str] requests: Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1420
1419
|
|
|
1421
1420
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
|
|
1422
1421
|
"""
|
|
@@ -1425,7 +1424,7 @@ class DeviceClaimConfigurationPatch(dict):
|
|
|
1425
1424
|
if requests is not None:
|
|
1426
1425
|
pulumi.set(__self__, "requests", requests)
|
|
1427
1426
|
|
|
1428
|
-
@property
|
|
1427
|
+
@_builtins.property
|
|
1429
1428
|
@pulumi.getter
|
|
1430
1429
|
def opaque(self) -> Optional['outputs.OpaqueDeviceConfigurationPatch']:
|
|
1431
1430
|
"""
|
|
@@ -1433,9 +1432,9 @@ class DeviceClaimConfigurationPatch(dict):
|
|
|
1433
1432
|
"""
|
|
1434
1433
|
return pulumi.get(self, "opaque")
|
|
1435
1434
|
|
|
1436
|
-
@property
|
|
1435
|
+
@_builtins.property
|
|
1437
1436
|
@pulumi.getter
|
|
1438
|
-
def requests(self) -> Optional[Sequence[
|
|
1437
|
+
def requests(self) -> Optional[Sequence[_builtins.str]]:
|
|
1439
1438
|
"""
|
|
1440
1439
|
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
|
|
1441
1440
|
|
|
@@ -1466,7 +1465,7 @@ class DeviceClaimPatch(dict):
|
|
|
1466
1465
|
if requests is not None:
|
|
1467
1466
|
pulumi.set(__self__, "requests", requests)
|
|
1468
1467
|
|
|
1469
|
-
@property
|
|
1468
|
+
@_builtins.property
|
|
1470
1469
|
@pulumi.getter
|
|
1471
1470
|
def config(self) -> Optional[Sequence['outputs.DeviceClaimConfigurationPatch']]:
|
|
1472
1471
|
"""
|
|
@@ -1474,7 +1473,7 @@ class DeviceClaimPatch(dict):
|
|
|
1474
1473
|
"""
|
|
1475
1474
|
return pulumi.get(self, "config")
|
|
1476
1475
|
|
|
1477
|
-
@property
|
|
1476
|
+
@_builtins.property
|
|
1478
1477
|
@pulumi.getter
|
|
1479
1478
|
def constraints(self) -> Optional[Sequence['outputs.DeviceConstraintPatch']]:
|
|
1480
1479
|
"""
|
|
@@ -1482,7 +1481,7 @@ class DeviceClaimPatch(dict):
|
|
|
1482
1481
|
"""
|
|
1483
1482
|
return pulumi.get(self, "constraints")
|
|
1484
1483
|
|
|
1485
|
-
@property
|
|
1484
|
+
@_builtins.property
|
|
1486
1485
|
@pulumi.getter
|
|
1487
1486
|
def requests(self) -> Optional[Sequence['outputs.DeviceRequestPatch']]:
|
|
1488
1487
|
"""
|
|
@@ -1517,8 +1516,8 @@ class DeviceClass(dict):
|
|
|
1517
1516
|
|
|
1518
1517
|
def __init__(__self__, *,
|
|
1519
1518
|
spec: 'outputs.DeviceClassSpec',
|
|
1520
|
-
api_version: Optional[
|
|
1521
|
-
kind: Optional[
|
|
1519
|
+
api_version: Optional[_builtins.str] = None,
|
|
1520
|
+
kind: Optional[_builtins.str] = None,
|
|
1522
1521
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
1523
1522
|
"""
|
|
1524
1523
|
DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.
|
|
@@ -1529,8 +1528,8 @@ class DeviceClass(dict):
|
|
|
1529
1528
|
This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.
|
|
1530
1529
|
|
|
1531
1530
|
Changing the spec automatically increments the metadata.generation number.
|
|
1532
|
-
:param
|
|
1533
|
-
:param
|
|
1531
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1532
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1534
1533
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata
|
|
1535
1534
|
"""
|
|
1536
1535
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -1541,7 +1540,7 @@ class DeviceClass(dict):
|
|
|
1541
1540
|
if metadata is not None:
|
|
1542
1541
|
pulumi.set(__self__, "metadata", metadata)
|
|
1543
1542
|
|
|
1544
|
-
@property
|
|
1543
|
+
@_builtins.property
|
|
1545
1544
|
@pulumi.getter
|
|
1546
1545
|
def spec(self) -> 'outputs.DeviceClassSpec':
|
|
1547
1546
|
"""
|
|
@@ -1553,23 +1552,23 @@ class DeviceClass(dict):
|
|
|
1553
1552
|
"""
|
|
1554
1553
|
return pulumi.get(self, "spec")
|
|
1555
1554
|
|
|
1556
|
-
@property
|
|
1555
|
+
@_builtins.property
|
|
1557
1556
|
@pulumi.getter(name="apiVersion")
|
|
1558
|
-
def api_version(self) -> Optional[
|
|
1557
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1559
1558
|
"""
|
|
1560
1559
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1561
1560
|
"""
|
|
1562
1561
|
return pulumi.get(self, "api_version")
|
|
1563
1562
|
|
|
1564
|
-
@property
|
|
1563
|
+
@_builtins.property
|
|
1565
1564
|
@pulumi.getter
|
|
1566
|
-
def kind(self) -> Optional[
|
|
1565
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1567
1566
|
"""
|
|
1568
1567
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1569
1568
|
"""
|
|
1570
1569
|
return pulumi.get(self, "kind")
|
|
1571
1570
|
|
|
1572
|
-
@property
|
|
1571
|
+
@_builtins.property
|
|
1573
1572
|
@pulumi.getter
|
|
1574
1573
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1575
1574
|
"""
|
|
@@ -1592,7 +1591,7 @@ class DeviceClassConfiguration(dict):
|
|
|
1592
1591
|
if opaque is not None:
|
|
1593
1592
|
pulumi.set(__self__, "opaque", opaque)
|
|
1594
1593
|
|
|
1595
|
-
@property
|
|
1594
|
+
@_builtins.property
|
|
1596
1595
|
@pulumi.getter
|
|
1597
1596
|
def opaque(self) -> Optional['outputs.OpaqueDeviceConfiguration']:
|
|
1598
1597
|
"""
|
|
@@ -1615,7 +1614,7 @@ class DeviceClassConfigurationPatch(dict):
|
|
|
1615
1614
|
if opaque is not None:
|
|
1616
1615
|
pulumi.set(__self__, "opaque", opaque)
|
|
1617
1616
|
|
|
1618
|
-
@property
|
|
1617
|
+
@_builtins.property
|
|
1619
1618
|
@pulumi.getter
|
|
1620
1619
|
def opaque(self) -> Optional['outputs.OpaqueDeviceConfigurationPatch']:
|
|
1621
1620
|
"""
|
|
@@ -1669,7 +1668,7 @@ class DeviceClassSpec(dict):
|
|
|
1669
1668
|
if suitable_nodes is not None:
|
|
1670
1669
|
pulumi.set(__self__, "suitable_nodes", suitable_nodes)
|
|
1671
1670
|
|
|
1672
|
-
@property
|
|
1671
|
+
@_builtins.property
|
|
1673
1672
|
@pulumi.getter
|
|
1674
1673
|
def config(self) -> Optional[Sequence['outputs.DeviceClassConfiguration']]:
|
|
1675
1674
|
"""
|
|
@@ -1679,7 +1678,7 @@ class DeviceClassSpec(dict):
|
|
|
1679
1678
|
"""
|
|
1680
1679
|
return pulumi.get(self, "config")
|
|
1681
1680
|
|
|
1682
|
-
@property
|
|
1681
|
+
@_builtins.property
|
|
1683
1682
|
@pulumi.getter
|
|
1684
1683
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelector']]:
|
|
1685
1684
|
"""
|
|
@@ -1687,7 +1686,7 @@ class DeviceClassSpec(dict):
|
|
|
1687
1686
|
"""
|
|
1688
1687
|
return pulumi.get(self, "selectors")
|
|
1689
1688
|
|
|
1690
|
-
@property
|
|
1689
|
+
@_builtins.property
|
|
1691
1690
|
@pulumi.getter(name="suitableNodes")
|
|
1692
1691
|
def suitable_nodes(self) -> Optional['_core.v1.outputs.NodeSelector']:
|
|
1693
1692
|
"""
|
|
@@ -1745,7 +1744,7 @@ class DeviceClassSpecPatch(dict):
|
|
|
1745
1744
|
if suitable_nodes is not None:
|
|
1746
1745
|
pulumi.set(__self__, "suitable_nodes", suitable_nodes)
|
|
1747
1746
|
|
|
1748
|
-
@property
|
|
1747
|
+
@_builtins.property
|
|
1749
1748
|
@pulumi.getter
|
|
1750
1749
|
def config(self) -> Optional[Sequence['outputs.DeviceClassConfigurationPatch']]:
|
|
1751
1750
|
"""
|
|
@@ -1755,7 +1754,7 @@ class DeviceClassSpecPatch(dict):
|
|
|
1755
1754
|
"""
|
|
1756
1755
|
return pulumi.get(self, "config")
|
|
1757
1756
|
|
|
1758
|
-
@property
|
|
1757
|
+
@_builtins.property
|
|
1759
1758
|
@pulumi.getter
|
|
1760
1759
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelectorPatch']]:
|
|
1761
1760
|
"""
|
|
@@ -1763,7 +1762,7 @@ class DeviceClassSpecPatch(dict):
|
|
|
1763
1762
|
"""
|
|
1764
1763
|
return pulumi.get(self, "selectors")
|
|
1765
1764
|
|
|
1766
|
-
@property
|
|
1765
|
+
@_builtins.property
|
|
1767
1766
|
@pulumi.getter(name="suitableNodes")
|
|
1768
1767
|
def suitable_nodes(self) -> Optional['_core.v1.outputs.NodeSelectorPatch']:
|
|
1769
1768
|
"""
|
|
@@ -1799,16 +1798,16 @@ class DeviceConstraint(dict):
|
|
|
1799
1798
|
return super().get(key, default)
|
|
1800
1799
|
|
|
1801
1800
|
def __init__(__self__, *,
|
|
1802
|
-
match_attribute: Optional[
|
|
1803
|
-
requests: Optional[Sequence[
|
|
1801
|
+
match_attribute: Optional[_builtins.str] = None,
|
|
1802
|
+
requests: Optional[Sequence[_builtins.str]] = None):
|
|
1804
1803
|
"""
|
|
1805
1804
|
DeviceConstraint must have exactly one field set besides Requests.
|
|
1806
|
-
:param
|
|
1805
|
+
:param _builtins.str match_attribute: MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1807
1806
|
|
|
1808
1807
|
For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
|
|
1809
1808
|
|
|
1810
1809
|
Must include the domain qualifier.
|
|
1811
|
-
:param Sequence[
|
|
1810
|
+
:param Sequence[_builtins.str] requests: Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1812
1811
|
|
|
1813
1812
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
|
|
1814
1813
|
"""
|
|
@@ -1817,9 +1816,9 @@ class DeviceConstraint(dict):
|
|
|
1817
1816
|
if requests is not None:
|
|
1818
1817
|
pulumi.set(__self__, "requests", requests)
|
|
1819
1818
|
|
|
1820
|
-
@property
|
|
1819
|
+
@_builtins.property
|
|
1821
1820
|
@pulumi.getter(name="matchAttribute")
|
|
1822
|
-
def match_attribute(self) -> Optional[
|
|
1821
|
+
def match_attribute(self) -> Optional[_builtins.str]:
|
|
1823
1822
|
"""
|
|
1824
1823
|
MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1825
1824
|
|
|
@@ -1829,9 +1828,9 @@ class DeviceConstraint(dict):
|
|
|
1829
1828
|
"""
|
|
1830
1829
|
return pulumi.get(self, "match_attribute")
|
|
1831
1830
|
|
|
1832
|
-
@property
|
|
1831
|
+
@_builtins.property
|
|
1833
1832
|
@pulumi.getter
|
|
1834
|
-
def requests(self) -> Optional[Sequence[
|
|
1833
|
+
def requests(self) -> Optional[Sequence[_builtins.str]]:
|
|
1835
1834
|
"""
|
|
1836
1835
|
Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1837
1836
|
|
|
@@ -1863,16 +1862,16 @@ class DeviceConstraintPatch(dict):
|
|
|
1863
1862
|
return super().get(key, default)
|
|
1864
1863
|
|
|
1865
1864
|
def __init__(__self__, *,
|
|
1866
|
-
match_attribute: Optional[
|
|
1867
|
-
requests: Optional[Sequence[
|
|
1865
|
+
match_attribute: Optional[_builtins.str] = None,
|
|
1866
|
+
requests: Optional[Sequence[_builtins.str]] = None):
|
|
1868
1867
|
"""
|
|
1869
1868
|
DeviceConstraint must have exactly one field set besides Requests.
|
|
1870
|
-
:param
|
|
1869
|
+
:param _builtins.str match_attribute: MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1871
1870
|
|
|
1872
1871
|
For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
|
|
1873
1872
|
|
|
1874
1873
|
Must include the domain qualifier.
|
|
1875
|
-
:param Sequence[
|
|
1874
|
+
:param Sequence[_builtins.str] requests: Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1876
1875
|
|
|
1877
1876
|
References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests.
|
|
1878
1877
|
"""
|
|
@@ -1881,9 +1880,9 @@ class DeviceConstraintPatch(dict):
|
|
|
1881
1880
|
if requests is not None:
|
|
1882
1881
|
pulumi.set(__self__, "requests", requests)
|
|
1883
1882
|
|
|
1884
|
-
@property
|
|
1883
|
+
@_builtins.property
|
|
1885
1884
|
@pulumi.getter(name="matchAttribute")
|
|
1886
|
-
def match_attribute(self) -> Optional[
|
|
1885
|
+
def match_attribute(self) -> Optional[_builtins.str]:
|
|
1887
1886
|
"""
|
|
1888
1887
|
MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
|
|
1889
1888
|
|
|
@@ -1893,9 +1892,9 @@ class DeviceConstraintPatch(dict):
|
|
|
1893
1892
|
"""
|
|
1894
1893
|
return pulumi.get(self, "match_attribute")
|
|
1895
1894
|
|
|
1896
|
-
@property
|
|
1895
|
+
@_builtins.property
|
|
1897
1896
|
@pulumi.getter
|
|
1898
|
-
def requests(self) -> Optional[Sequence[
|
|
1897
|
+
def requests(self) -> Optional[Sequence[_builtins.str]]:
|
|
1899
1898
|
"""
|
|
1900
1899
|
Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.
|
|
1901
1900
|
|
|
@@ -1927,11 +1926,11 @@ class DeviceCounterConsumption(dict):
|
|
|
1927
1926
|
return super().get(key, default)
|
|
1928
1927
|
|
|
1929
1928
|
def __init__(__self__, *,
|
|
1930
|
-
counter_set:
|
|
1929
|
+
counter_set: _builtins.str,
|
|
1931
1930
|
counters: Mapping[str, 'outputs.Counter']):
|
|
1932
1931
|
"""
|
|
1933
1932
|
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
|
|
1934
|
-
:param
|
|
1933
|
+
:param _builtins.str counter_set: CounterSet defines the set from which the counters defined will be consumed.
|
|
1935
1934
|
:param Mapping[str, 'CounterArgs'] counters: Counters defines the Counter that will be consumed by the device.
|
|
1936
1935
|
|
|
1937
1936
|
The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
|
|
@@ -1939,15 +1938,15 @@ class DeviceCounterConsumption(dict):
|
|
|
1939
1938
|
pulumi.set(__self__, "counter_set", counter_set)
|
|
1940
1939
|
pulumi.set(__self__, "counters", counters)
|
|
1941
1940
|
|
|
1942
|
-
@property
|
|
1941
|
+
@_builtins.property
|
|
1943
1942
|
@pulumi.getter(name="counterSet")
|
|
1944
|
-
def counter_set(self) ->
|
|
1943
|
+
def counter_set(self) -> _builtins.str:
|
|
1945
1944
|
"""
|
|
1946
1945
|
CounterSet defines the set from which the counters defined will be consumed.
|
|
1947
1946
|
"""
|
|
1948
1947
|
return pulumi.get(self, "counter_set")
|
|
1949
1948
|
|
|
1950
|
-
@property
|
|
1949
|
+
@_builtins.property
|
|
1951
1950
|
@pulumi.getter
|
|
1952
1951
|
def counters(self) -> Mapping[str, 'outputs.Counter']:
|
|
1953
1952
|
"""
|
|
@@ -1981,11 +1980,11 @@ class DeviceCounterConsumptionPatch(dict):
|
|
|
1981
1980
|
return super().get(key, default)
|
|
1982
1981
|
|
|
1983
1982
|
def __init__(__self__, *,
|
|
1984
|
-
counter_set: Optional[
|
|
1983
|
+
counter_set: Optional[_builtins.str] = None,
|
|
1985
1984
|
counters: Optional[Mapping[str, 'outputs.Counter']] = None):
|
|
1986
1985
|
"""
|
|
1987
1986
|
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
|
|
1988
|
-
:param
|
|
1987
|
+
:param _builtins.str counter_set: CounterSet defines the set from which the counters defined will be consumed.
|
|
1989
1988
|
:param Mapping[str, 'CounterArgs'] counters: Counters defines the Counter that will be consumed by the device.
|
|
1990
1989
|
|
|
1991
1990
|
The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).
|
|
@@ -1995,15 +1994,15 @@ class DeviceCounterConsumptionPatch(dict):
|
|
|
1995
1994
|
if counters is not None:
|
|
1996
1995
|
pulumi.set(__self__, "counters", counters)
|
|
1997
1996
|
|
|
1998
|
-
@property
|
|
1997
|
+
@_builtins.property
|
|
1999
1998
|
@pulumi.getter(name="counterSet")
|
|
2000
|
-
def counter_set(self) -> Optional[
|
|
1999
|
+
def counter_set(self) -> Optional[_builtins.str]:
|
|
2001
2000
|
"""
|
|
2002
2001
|
CounterSet defines the set from which the counters defined will be consumed.
|
|
2003
2002
|
"""
|
|
2004
2003
|
return pulumi.get(self, "counter_set")
|
|
2005
2004
|
|
|
2006
|
-
@property
|
|
2005
|
+
@_builtins.property
|
|
2007
2006
|
@pulumi.getter
|
|
2008
2007
|
def counters(self) -> Optional[Mapping[str, 'outputs.Counter']]:
|
|
2009
2008
|
"""
|
|
@@ -2021,18 +2020,18 @@ class DevicePatch(dict):
|
|
|
2021
2020
|
"""
|
|
2022
2021
|
def __init__(__self__, *,
|
|
2023
2022
|
basic: Optional['outputs.BasicDevicePatch'] = None,
|
|
2024
|
-
name: Optional[
|
|
2023
|
+
name: Optional[_builtins.str] = None):
|
|
2025
2024
|
"""
|
|
2026
2025
|
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
|
|
2027
2026
|
:param 'BasicDevicePatchArgs' basic: Basic defines one device instance.
|
|
2028
|
-
:param
|
|
2027
|
+
:param _builtins.str name: Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
2029
2028
|
"""
|
|
2030
2029
|
if basic is not None:
|
|
2031
2030
|
pulumi.set(__self__, "basic", basic)
|
|
2032
2031
|
if name is not None:
|
|
2033
2032
|
pulumi.set(__self__, "name", name)
|
|
2034
2033
|
|
|
2035
|
-
@property
|
|
2034
|
+
@_builtins.property
|
|
2036
2035
|
@pulumi.getter
|
|
2037
2036
|
def basic(self) -> Optional['outputs.BasicDevicePatch']:
|
|
2038
2037
|
"""
|
|
@@ -2040,9 +2039,9 @@ class DevicePatch(dict):
|
|
|
2040
2039
|
"""
|
|
2041
2040
|
return pulumi.get(self, "basic")
|
|
2042
2041
|
|
|
2043
|
-
@property
|
|
2042
|
+
@_builtins.property
|
|
2044
2043
|
@pulumi.getter
|
|
2045
|
-
def name(self) -> Optional[
|
|
2044
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2046
2045
|
"""
|
|
2047
2046
|
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
|
|
2048
2047
|
"""
|
|
@@ -2078,25 +2077,25 @@ class DeviceRequest(dict):
|
|
|
2078
2077
|
return super().get(key, default)
|
|
2079
2078
|
|
|
2080
2079
|
def __init__(__self__, *,
|
|
2081
|
-
name:
|
|
2082
|
-
admin_access: Optional[
|
|
2083
|
-
allocation_mode: Optional[
|
|
2084
|
-
count: Optional[
|
|
2085
|
-
device_class_name: Optional[
|
|
2080
|
+
name: _builtins.str,
|
|
2081
|
+
admin_access: Optional[_builtins.bool] = None,
|
|
2082
|
+
allocation_mode: Optional[_builtins.str] = None,
|
|
2083
|
+
count: Optional[_builtins.int] = None,
|
|
2084
|
+
device_class_name: Optional[_builtins.str] = None,
|
|
2086
2085
|
first_available: Optional[Sequence['outputs.DeviceSubRequest']] = None,
|
|
2087
2086
|
selectors: Optional[Sequence['outputs.DeviceSelector']] = None,
|
|
2088
2087
|
tolerations: Optional[Sequence['outputs.DeviceToleration']] = None):
|
|
2089
2088
|
"""
|
|
2090
2089
|
DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.
|
|
2091
|
-
:param
|
|
2090
|
+
:param _builtins.str name: Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2092
2091
|
|
|
2093
2092
|
Must be a DNS label.
|
|
2094
|
-
:param
|
|
2093
|
+
:param _builtins.bool admin_access: AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
2095
2094
|
|
|
2096
2095
|
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
|
|
2097
2096
|
|
|
2098
2097
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
2099
|
-
:param
|
|
2098
|
+
:param _builtins.str allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2100
2099
|
|
|
2101
2100
|
- ExactCount: This request is for a specific number of devices.
|
|
2102
2101
|
This is the default. The exact number is provided in the
|
|
@@ -2112,10 +2111,10 @@ class DeviceRequest(dict):
|
|
|
2112
2111
|
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
|
|
2113
2112
|
|
|
2114
2113
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2115
|
-
:param
|
|
2114
|
+
:param _builtins.int count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2116
2115
|
|
|
2117
2116
|
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
|
|
2118
|
-
:param
|
|
2117
|
+
:param _builtins.str device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
2119
2118
|
|
|
2120
2119
|
A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.
|
|
2121
2120
|
|
|
@@ -2156,9 +2155,9 @@ class DeviceRequest(dict):
|
|
|
2156
2155
|
if tolerations is not None:
|
|
2157
2156
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2158
2157
|
|
|
2159
|
-
@property
|
|
2158
|
+
@_builtins.property
|
|
2160
2159
|
@pulumi.getter
|
|
2161
|
-
def name(self) ->
|
|
2160
|
+
def name(self) -> _builtins.str:
|
|
2162
2161
|
"""
|
|
2163
2162
|
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2164
2163
|
|
|
@@ -2166,9 +2165,9 @@ class DeviceRequest(dict):
|
|
|
2166
2165
|
"""
|
|
2167
2166
|
return pulumi.get(self, "name")
|
|
2168
2167
|
|
|
2169
|
-
@property
|
|
2168
|
+
@_builtins.property
|
|
2170
2169
|
@pulumi.getter(name="adminAccess")
|
|
2171
|
-
def admin_access(self) -> Optional[
|
|
2170
|
+
def admin_access(self) -> Optional[_builtins.bool]:
|
|
2172
2171
|
"""
|
|
2173
2172
|
AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
2174
2173
|
|
|
@@ -2178,9 +2177,9 @@ class DeviceRequest(dict):
|
|
|
2178
2177
|
"""
|
|
2179
2178
|
return pulumi.get(self, "admin_access")
|
|
2180
2179
|
|
|
2181
|
-
@property
|
|
2180
|
+
@_builtins.property
|
|
2182
2181
|
@pulumi.getter(name="allocationMode")
|
|
2183
|
-
def allocation_mode(self) -> Optional[
|
|
2182
|
+
def allocation_mode(self) -> Optional[_builtins.str]:
|
|
2184
2183
|
"""
|
|
2185
2184
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2186
2185
|
|
|
@@ -2201,9 +2200,9 @@ class DeviceRequest(dict):
|
|
|
2201
2200
|
"""
|
|
2202
2201
|
return pulumi.get(self, "allocation_mode")
|
|
2203
2202
|
|
|
2204
|
-
@property
|
|
2203
|
+
@_builtins.property
|
|
2205
2204
|
@pulumi.getter
|
|
2206
|
-
def count(self) -> Optional[
|
|
2205
|
+
def count(self) -> Optional[_builtins.int]:
|
|
2207
2206
|
"""
|
|
2208
2207
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2209
2208
|
|
|
@@ -2211,9 +2210,9 @@ class DeviceRequest(dict):
|
|
|
2211
2210
|
"""
|
|
2212
2211
|
return pulumi.get(self, "count")
|
|
2213
2212
|
|
|
2214
|
-
@property
|
|
2213
|
+
@_builtins.property
|
|
2215
2214
|
@pulumi.getter(name="deviceClassName")
|
|
2216
|
-
def device_class_name(self) -> Optional[
|
|
2215
|
+
def device_class_name(self) -> Optional[_builtins.str]:
|
|
2217
2216
|
"""
|
|
2218
2217
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
2219
2218
|
|
|
@@ -2223,7 +2222,7 @@ class DeviceRequest(dict):
|
|
|
2223
2222
|
"""
|
|
2224
2223
|
return pulumi.get(self, "device_class_name")
|
|
2225
2224
|
|
|
2226
|
-
@property
|
|
2225
|
+
@_builtins.property
|
|
2227
2226
|
@pulumi.getter(name="firstAvailable")
|
|
2228
2227
|
def first_available(self) -> Optional[Sequence['outputs.DeviceSubRequest']]:
|
|
2229
2228
|
"""
|
|
@@ -2235,7 +2234,7 @@ class DeviceRequest(dict):
|
|
|
2235
2234
|
"""
|
|
2236
2235
|
return pulumi.get(self, "first_available")
|
|
2237
2236
|
|
|
2238
|
-
@property
|
|
2237
|
+
@_builtins.property
|
|
2239
2238
|
@pulumi.getter
|
|
2240
2239
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelector']]:
|
|
2241
2240
|
"""
|
|
@@ -2245,7 +2244,7 @@ class DeviceRequest(dict):
|
|
|
2245
2244
|
"""
|
|
2246
2245
|
return pulumi.get(self, "selectors")
|
|
2247
2246
|
|
|
2248
|
-
@property
|
|
2247
|
+
@_builtins.property
|
|
2249
2248
|
@pulumi.getter
|
|
2250
2249
|
def tolerations(self) -> Optional[Sequence['outputs.DeviceToleration']]:
|
|
2251
2250
|
"""
|
|
@@ -2287,25 +2286,25 @@ class DeviceRequestAllocationResult(dict):
|
|
|
2287
2286
|
return super().get(key, default)
|
|
2288
2287
|
|
|
2289
2288
|
def __init__(__self__, *,
|
|
2290
|
-
device:
|
|
2291
|
-
driver:
|
|
2292
|
-
pool:
|
|
2293
|
-
request:
|
|
2294
|
-
admin_access: Optional[
|
|
2289
|
+
device: _builtins.str,
|
|
2290
|
+
driver: _builtins.str,
|
|
2291
|
+
pool: _builtins.str,
|
|
2292
|
+
request: _builtins.str,
|
|
2293
|
+
admin_access: Optional[_builtins.bool] = None,
|
|
2295
2294
|
tolerations: Optional[Sequence['outputs.DeviceToleration']] = None):
|
|
2296
2295
|
"""
|
|
2297
2296
|
DeviceRequestAllocationResult contains the allocation result for one request.
|
|
2298
|
-
:param
|
|
2299
|
-
:param
|
|
2297
|
+
:param _builtins.str device: Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2298
|
+
:param _builtins.str driver: Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2300
2299
|
|
|
2301
2300
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
2302
|
-
:param
|
|
2301
|
+
:param _builtins.str pool: This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2303
2302
|
|
|
2304
2303
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
2305
|
-
:param
|
|
2304
|
+
:param _builtins.str request: Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2306
2305
|
|
|
2307
2306
|
Multiple devices may have been allocated per request.
|
|
2308
|
-
:param
|
|
2307
|
+
:param _builtins.bool admin_access: AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2309
2308
|
|
|
2310
2309
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
2311
2310
|
:param Sequence['DeviceTolerationArgs'] tolerations: A copy of all tolerations specified in the request at the time when the device got allocated.
|
|
@@ -2323,17 +2322,17 @@ class DeviceRequestAllocationResult(dict):
|
|
|
2323
2322
|
if tolerations is not None:
|
|
2324
2323
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2325
2324
|
|
|
2326
|
-
@property
|
|
2325
|
+
@_builtins.property
|
|
2327
2326
|
@pulumi.getter
|
|
2328
|
-
def device(self) ->
|
|
2327
|
+
def device(self) -> _builtins.str:
|
|
2329
2328
|
"""
|
|
2330
2329
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2331
2330
|
"""
|
|
2332
2331
|
return pulumi.get(self, "device")
|
|
2333
2332
|
|
|
2334
|
-
@property
|
|
2333
|
+
@_builtins.property
|
|
2335
2334
|
@pulumi.getter
|
|
2336
|
-
def driver(self) ->
|
|
2335
|
+
def driver(self) -> _builtins.str:
|
|
2337
2336
|
"""
|
|
2338
2337
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2339
2338
|
|
|
@@ -2341,9 +2340,9 @@ class DeviceRequestAllocationResult(dict):
|
|
|
2341
2340
|
"""
|
|
2342
2341
|
return pulumi.get(self, "driver")
|
|
2343
2342
|
|
|
2344
|
-
@property
|
|
2343
|
+
@_builtins.property
|
|
2345
2344
|
@pulumi.getter
|
|
2346
|
-
def pool(self) ->
|
|
2345
|
+
def pool(self) -> _builtins.str:
|
|
2347
2346
|
"""
|
|
2348
2347
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2349
2348
|
|
|
@@ -2351,9 +2350,9 @@ class DeviceRequestAllocationResult(dict):
|
|
|
2351
2350
|
"""
|
|
2352
2351
|
return pulumi.get(self, "pool")
|
|
2353
2352
|
|
|
2354
|
-
@property
|
|
2353
|
+
@_builtins.property
|
|
2355
2354
|
@pulumi.getter
|
|
2356
|
-
def request(self) ->
|
|
2355
|
+
def request(self) -> _builtins.str:
|
|
2357
2356
|
"""
|
|
2358
2357
|
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2359
2358
|
|
|
@@ -2361,9 +2360,9 @@ class DeviceRequestAllocationResult(dict):
|
|
|
2361
2360
|
"""
|
|
2362
2361
|
return pulumi.get(self, "request")
|
|
2363
2362
|
|
|
2364
|
-
@property
|
|
2363
|
+
@_builtins.property
|
|
2365
2364
|
@pulumi.getter(name="adminAccess")
|
|
2366
|
-
def admin_access(self) -> Optional[
|
|
2365
|
+
def admin_access(self) -> Optional[_builtins.bool]:
|
|
2367
2366
|
"""
|
|
2368
2367
|
AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2369
2368
|
|
|
@@ -2371,7 +2370,7 @@ class DeviceRequestAllocationResult(dict):
|
|
|
2371
2370
|
"""
|
|
2372
2371
|
return pulumi.get(self, "admin_access")
|
|
2373
2372
|
|
|
2374
|
-
@property
|
|
2373
|
+
@_builtins.property
|
|
2375
2374
|
@pulumi.getter
|
|
2376
2375
|
def tolerations(self) -> Optional[Sequence['outputs.DeviceToleration']]:
|
|
2377
2376
|
"""
|
|
@@ -2407,25 +2406,25 @@ class DeviceRequestAllocationResultPatch(dict):
|
|
|
2407
2406
|
return super().get(key, default)
|
|
2408
2407
|
|
|
2409
2408
|
def __init__(__self__, *,
|
|
2410
|
-
admin_access: Optional[
|
|
2411
|
-
device: Optional[
|
|
2412
|
-
driver: Optional[
|
|
2413
|
-
pool: Optional[
|
|
2414
|
-
request: Optional[
|
|
2409
|
+
admin_access: Optional[_builtins.bool] = None,
|
|
2410
|
+
device: Optional[_builtins.str] = None,
|
|
2411
|
+
driver: Optional[_builtins.str] = None,
|
|
2412
|
+
pool: Optional[_builtins.str] = None,
|
|
2413
|
+
request: Optional[_builtins.str] = None,
|
|
2415
2414
|
tolerations: Optional[Sequence['outputs.DeviceTolerationPatch']] = None):
|
|
2416
2415
|
"""
|
|
2417
2416
|
DeviceRequestAllocationResult contains the allocation result for one request.
|
|
2418
|
-
:param
|
|
2417
|
+
:param _builtins.bool admin_access: AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2419
2418
|
|
|
2420
2419
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
2421
|
-
:param
|
|
2422
|
-
:param
|
|
2420
|
+
:param _builtins.str device: Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2421
|
+
:param _builtins.str driver: Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2423
2422
|
|
|
2424
2423
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
2425
|
-
:param
|
|
2424
|
+
:param _builtins.str pool: This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2426
2425
|
|
|
2427
2426
|
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
|
|
2428
|
-
:param
|
|
2427
|
+
:param _builtins.str request: Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2429
2428
|
|
|
2430
2429
|
Multiple devices may have been allocated per request.
|
|
2431
2430
|
:param Sequence['DeviceTolerationPatchArgs'] tolerations: A copy of all tolerations specified in the request at the time when the device got allocated.
|
|
@@ -2447,9 +2446,9 @@ class DeviceRequestAllocationResultPatch(dict):
|
|
|
2447
2446
|
if tolerations is not None:
|
|
2448
2447
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2449
2448
|
|
|
2450
|
-
@property
|
|
2449
|
+
@_builtins.property
|
|
2451
2450
|
@pulumi.getter(name="adminAccess")
|
|
2452
|
-
def admin_access(self) -> Optional[
|
|
2451
|
+
def admin_access(self) -> Optional[_builtins.bool]:
|
|
2453
2452
|
"""
|
|
2454
2453
|
AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.
|
|
2455
2454
|
|
|
@@ -2457,17 +2456,17 @@ class DeviceRequestAllocationResultPatch(dict):
|
|
|
2457
2456
|
"""
|
|
2458
2457
|
return pulumi.get(self, "admin_access")
|
|
2459
2458
|
|
|
2460
|
-
@property
|
|
2459
|
+
@_builtins.property
|
|
2461
2460
|
@pulumi.getter
|
|
2462
|
-
def device(self) -> Optional[
|
|
2461
|
+
def device(self) -> Optional[_builtins.str]:
|
|
2463
2462
|
"""
|
|
2464
2463
|
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
|
|
2465
2464
|
"""
|
|
2466
2465
|
return pulumi.get(self, "device")
|
|
2467
2466
|
|
|
2468
|
-
@property
|
|
2467
|
+
@_builtins.property
|
|
2469
2468
|
@pulumi.getter
|
|
2470
|
-
def driver(self) -> Optional[
|
|
2469
|
+
def driver(self) -> Optional[_builtins.str]:
|
|
2471
2470
|
"""
|
|
2472
2471
|
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
|
|
2473
2472
|
|
|
@@ -2475,9 +2474,9 @@ class DeviceRequestAllocationResultPatch(dict):
|
|
|
2475
2474
|
"""
|
|
2476
2475
|
return pulumi.get(self, "driver")
|
|
2477
2476
|
|
|
2478
|
-
@property
|
|
2477
|
+
@_builtins.property
|
|
2479
2478
|
@pulumi.getter
|
|
2480
|
-
def pool(self) -> Optional[
|
|
2479
|
+
def pool(self) -> Optional[_builtins.str]:
|
|
2481
2480
|
"""
|
|
2482
2481
|
This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).
|
|
2483
2482
|
|
|
@@ -2485,9 +2484,9 @@ class DeviceRequestAllocationResultPatch(dict):
|
|
|
2485
2484
|
"""
|
|
2486
2485
|
return pulumi.get(self, "pool")
|
|
2487
2486
|
|
|
2488
|
-
@property
|
|
2487
|
+
@_builtins.property
|
|
2489
2488
|
@pulumi.getter
|
|
2490
|
-
def request(self) -> Optional[
|
|
2489
|
+
def request(self) -> Optional[_builtins.str]:
|
|
2491
2490
|
"""
|
|
2492
2491
|
Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>.
|
|
2493
2492
|
|
|
@@ -2495,7 +2494,7 @@ class DeviceRequestAllocationResultPatch(dict):
|
|
|
2495
2494
|
"""
|
|
2496
2495
|
return pulumi.get(self, "request")
|
|
2497
2496
|
|
|
2498
|
-
@property
|
|
2497
|
+
@_builtins.property
|
|
2499
2498
|
@pulumi.getter
|
|
2500
2499
|
def tolerations(self) -> Optional[Sequence['outputs.DeviceTolerationPatch']]:
|
|
2501
2500
|
"""
|
|
@@ -2537,22 +2536,22 @@ class DeviceRequestPatch(dict):
|
|
|
2537
2536
|
return super().get(key, default)
|
|
2538
2537
|
|
|
2539
2538
|
def __init__(__self__, *,
|
|
2540
|
-
admin_access: Optional[
|
|
2541
|
-
allocation_mode: Optional[
|
|
2542
|
-
count: Optional[
|
|
2543
|
-
device_class_name: Optional[
|
|
2539
|
+
admin_access: Optional[_builtins.bool] = None,
|
|
2540
|
+
allocation_mode: Optional[_builtins.str] = None,
|
|
2541
|
+
count: Optional[_builtins.int] = None,
|
|
2542
|
+
device_class_name: Optional[_builtins.str] = None,
|
|
2544
2543
|
first_available: Optional[Sequence['outputs.DeviceSubRequestPatch']] = None,
|
|
2545
|
-
name: Optional[
|
|
2544
|
+
name: Optional[_builtins.str] = None,
|
|
2546
2545
|
selectors: Optional[Sequence['outputs.DeviceSelectorPatch']] = None,
|
|
2547
2546
|
tolerations: Optional[Sequence['outputs.DeviceTolerationPatch']] = None):
|
|
2548
2547
|
"""
|
|
2549
2548
|
DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.
|
|
2550
|
-
:param
|
|
2549
|
+
:param _builtins.bool admin_access: AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
2551
2550
|
|
|
2552
2551
|
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
|
|
2553
2552
|
|
|
2554
2553
|
This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.
|
|
2555
|
-
:param
|
|
2554
|
+
:param _builtins.str allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2556
2555
|
|
|
2557
2556
|
- ExactCount: This request is for a specific number of devices.
|
|
2558
2557
|
This is the default. The exact number is provided in the
|
|
@@ -2568,10 +2567,10 @@ class DeviceRequestPatch(dict):
|
|
|
2568
2567
|
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
|
|
2569
2568
|
|
|
2570
2569
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2571
|
-
:param
|
|
2570
|
+
:param _builtins.int count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2572
2571
|
|
|
2573
2572
|
This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.
|
|
2574
|
-
:param
|
|
2573
|
+
:param _builtins.str device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
2575
2574
|
|
|
2576
2575
|
A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.
|
|
2577
2576
|
|
|
@@ -2581,7 +2580,7 @@ class DeviceRequestPatch(dict):
|
|
|
2581
2580
|
This field may only be set in the entries of DeviceClaim.Requests.
|
|
2582
2581
|
|
|
2583
2582
|
DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.
|
|
2584
|
-
:param
|
|
2583
|
+
:param _builtins.str name: Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2585
2584
|
|
|
2586
2585
|
Must be a DNS label.
|
|
2587
2586
|
:param Sequence['DeviceSelectorPatchArgs'] selectors: Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
|
|
@@ -2616,9 +2615,9 @@ class DeviceRequestPatch(dict):
|
|
|
2616
2615
|
if tolerations is not None:
|
|
2617
2616
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2618
2617
|
|
|
2619
|
-
@property
|
|
2618
|
+
@_builtins.property
|
|
2620
2619
|
@pulumi.getter(name="adminAccess")
|
|
2621
|
-
def admin_access(self) -> Optional[
|
|
2620
|
+
def admin_access(self) -> Optional[_builtins.bool]:
|
|
2622
2621
|
"""
|
|
2623
2622
|
AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.
|
|
2624
2623
|
|
|
@@ -2628,9 +2627,9 @@ class DeviceRequestPatch(dict):
|
|
|
2628
2627
|
"""
|
|
2629
2628
|
return pulumi.get(self, "admin_access")
|
|
2630
2629
|
|
|
2631
|
-
@property
|
|
2630
|
+
@_builtins.property
|
|
2632
2631
|
@pulumi.getter(name="allocationMode")
|
|
2633
|
-
def allocation_mode(self) -> Optional[
|
|
2632
|
+
def allocation_mode(self) -> Optional[_builtins.str]:
|
|
2634
2633
|
"""
|
|
2635
2634
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2636
2635
|
|
|
@@ -2651,9 +2650,9 @@ class DeviceRequestPatch(dict):
|
|
|
2651
2650
|
"""
|
|
2652
2651
|
return pulumi.get(self, "allocation_mode")
|
|
2653
2652
|
|
|
2654
|
-
@property
|
|
2653
|
+
@_builtins.property
|
|
2655
2654
|
@pulumi.getter
|
|
2656
|
-
def count(self) -> Optional[
|
|
2655
|
+
def count(self) -> Optional[_builtins.int]:
|
|
2657
2656
|
"""
|
|
2658
2657
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2659
2658
|
|
|
@@ -2661,9 +2660,9 @@ class DeviceRequestPatch(dict):
|
|
|
2661
2660
|
"""
|
|
2662
2661
|
return pulumi.get(self, "count")
|
|
2663
2662
|
|
|
2664
|
-
@property
|
|
2663
|
+
@_builtins.property
|
|
2665
2664
|
@pulumi.getter(name="deviceClassName")
|
|
2666
|
-
def device_class_name(self) -> Optional[
|
|
2665
|
+
def device_class_name(self) -> Optional[_builtins.str]:
|
|
2667
2666
|
"""
|
|
2668
2667
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.
|
|
2669
2668
|
|
|
@@ -2673,7 +2672,7 @@ class DeviceRequestPatch(dict):
|
|
|
2673
2672
|
"""
|
|
2674
2673
|
return pulumi.get(self, "device_class_name")
|
|
2675
2674
|
|
|
2676
|
-
@property
|
|
2675
|
+
@_builtins.property
|
|
2677
2676
|
@pulumi.getter(name="firstAvailable")
|
|
2678
2677
|
def first_available(self) -> Optional[Sequence['outputs.DeviceSubRequestPatch']]:
|
|
2679
2678
|
"""
|
|
@@ -2685,9 +2684,9 @@ class DeviceRequestPatch(dict):
|
|
|
2685
2684
|
"""
|
|
2686
2685
|
return pulumi.get(self, "first_available")
|
|
2687
2686
|
|
|
2688
|
-
@property
|
|
2687
|
+
@_builtins.property
|
|
2689
2688
|
@pulumi.getter
|
|
2690
|
-
def name(self) -> Optional[
|
|
2689
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2691
2690
|
"""
|
|
2692
2691
|
Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.
|
|
2693
2692
|
|
|
@@ -2695,7 +2694,7 @@ class DeviceRequestPatch(dict):
|
|
|
2695
2694
|
"""
|
|
2696
2695
|
return pulumi.get(self, "name")
|
|
2697
2696
|
|
|
2698
|
-
@property
|
|
2697
|
+
@_builtins.property
|
|
2699
2698
|
@pulumi.getter
|
|
2700
2699
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelectorPatch']]:
|
|
2701
2700
|
"""
|
|
@@ -2705,7 +2704,7 @@ class DeviceRequestPatch(dict):
|
|
|
2705
2704
|
"""
|
|
2706
2705
|
return pulumi.get(self, "selectors")
|
|
2707
2706
|
|
|
2708
|
-
@property
|
|
2707
|
+
@_builtins.property
|
|
2709
2708
|
@pulumi.getter
|
|
2710
2709
|
def tolerations(self) -> Optional[Sequence['outputs.DeviceTolerationPatch']]:
|
|
2711
2710
|
"""
|
|
@@ -2738,7 +2737,7 @@ class DeviceSelector(dict):
|
|
|
2738
2737
|
if cel is not None:
|
|
2739
2738
|
pulumi.set(__self__, "cel", cel)
|
|
2740
2739
|
|
|
2741
|
-
@property
|
|
2740
|
+
@_builtins.property
|
|
2742
2741
|
@pulumi.getter
|
|
2743
2742
|
def cel(self) -> Optional['outputs.CELDeviceSelector']:
|
|
2744
2743
|
"""
|
|
@@ -2761,7 +2760,7 @@ class DeviceSelectorPatch(dict):
|
|
|
2761
2760
|
if cel is not None:
|
|
2762
2761
|
pulumi.set(__self__, "cel", cel)
|
|
2763
2762
|
|
|
2764
|
-
@property
|
|
2763
|
+
@_builtins.property
|
|
2765
2764
|
@pulumi.getter
|
|
2766
2765
|
def cel(self) -> Optional['outputs.CELDeviceSelectorPatch']:
|
|
2767
2766
|
"""
|
|
@@ -2797,25 +2796,25 @@ class DeviceSubRequest(dict):
|
|
|
2797
2796
|
return super().get(key, default)
|
|
2798
2797
|
|
|
2799
2798
|
def __init__(__self__, *,
|
|
2800
|
-
device_class_name:
|
|
2801
|
-
name:
|
|
2802
|
-
allocation_mode: Optional[
|
|
2803
|
-
count: Optional[
|
|
2799
|
+
device_class_name: _builtins.str,
|
|
2800
|
+
name: _builtins.str,
|
|
2801
|
+
allocation_mode: Optional[_builtins.str] = None,
|
|
2802
|
+
count: Optional[_builtins.int] = None,
|
|
2804
2803
|
selectors: Optional[Sequence['outputs.DeviceSelector']] = None,
|
|
2805
2804
|
tolerations: Optional[Sequence['outputs.DeviceToleration']] = None):
|
|
2806
2805
|
"""
|
|
2807
2806
|
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
|
|
2808
2807
|
|
|
2809
2808
|
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
|
|
2810
|
-
:param
|
|
2809
|
+
:param _builtins.str device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2811
2810
|
|
|
2812
2811
|
A class is required. Which classes are available depends on the cluster.
|
|
2813
2812
|
|
|
2814
2813
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
2815
|
-
:param
|
|
2814
|
+
:param _builtins.str name: Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2816
2815
|
|
|
2817
2816
|
Must be a DNS label.
|
|
2818
|
-
:param
|
|
2817
|
+
:param _builtins.str allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2819
2818
|
|
|
2820
2819
|
- ExactCount: This request is for a specific number of devices.
|
|
2821
2820
|
This is the default. The exact number is provided in the
|
|
@@ -2828,7 +2827,7 @@ class DeviceSubRequest(dict):
|
|
|
2828
2827
|
If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
|
|
2829
2828
|
|
|
2830
2829
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2831
|
-
:param
|
|
2830
|
+
:param _builtins.int count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2832
2831
|
:param Sequence['DeviceSelectorArgs'] selectors: Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
|
|
2833
2832
|
:param Sequence['DeviceTolerationArgs'] tolerations: If specified, the request's tolerations.
|
|
2834
2833
|
|
|
@@ -2851,9 +2850,9 @@ class DeviceSubRequest(dict):
|
|
|
2851
2850
|
if tolerations is not None:
|
|
2852
2851
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
2853
2852
|
|
|
2854
|
-
@property
|
|
2853
|
+
@_builtins.property
|
|
2855
2854
|
@pulumi.getter(name="deviceClassName")
|
|
2856
|
-
def device_class_name(self) ->
|
|
2855
|
+
def device_class_name(self) -> _builtins.str:
|
|
2857
2856
|
"""
|
|
2858
2857
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2859
2858
|
|
|
@@ -2863,9 +2862,9 @@ class DeviceSubRequest(dict):
|
|
|
2863
2862
|
"""
|
|
2864
2863
|
return pulumi.get(self, "device_class_name")
|
|
2865
2864
|
|
|
2866
|
-
@property
|
|
2865
|
+
@_builtins.property
|
|
2867
2866
|
@pulumi.getter
|
|
2868
|
-
def name(self) ->
|
|
2867
|
+
def name(self) -> _builtins.str:
|
|
2869
2868
|
"""
|
|
2870
2869
|
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2871
2870
|
|
|
@@ -2873,9 +2872,9 @@ class DeviceSubRequest(dict):
|
|
|
2873
2872
|
"""
|
|
2874
2873
|
return pulumi.get(self, "name")
|
|
2875
2874
|
|
|
2876
|
-
@property
|
|
2875
|
+
@_builtins.property
|
|
2877
2876
|
@pulumi.getter(name="allocationMode")
|
|
2878
|
-
def allocation_mode(self) -> Optional[
|
|
2877
|
+
def allocation_mode(self) -> Optional[_builtins.str]:
|
|
2879
2878
|
"""
|
|
2880
2879
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2881
2880
|
|
|
@@ -2893,15 +2892,15 @@ class DeviceSubRequest(dict):
|
|
|
2893
2892
|
"""
|
|
2894
2893
|
return pulumi.get(self, "allocation_mode")
|
|
2895
2894
|
|
|
2896
|
-
@property
|
|
2895
|
+
@_builtins.property
|
|
2897
2896
|
@pulumi.getter
|
|
2898
|
-
def count(self) -> Optional[
|
|
2897
|
+
def count(self) -> Optional[_builtins.int]:
|
|
2899
2898
|
"""
|
|
2900
2899
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2901
2900
|
"""
|
|
2902
2901
|
return pulumi.get(self, "count")
|
|
2903
2902
|
|
|
2904
|
-
@property
|
|
2903
|
+
@_builtins.property
|
|
2905
2904
|
@pulumi.getter
|
|
2906
2905
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelector']]:
|
|
2907
2906
|
"""
|
|
@@ -2909,7 +2908,7 @@ class DeviceSubRequest(dict):
|
|
|
2909
2908
|
"""
|
|
2910
2909
|
return pulumi.get(self, "selectors")
|
|
2911
2910
|
|
|
2912
|
-
@property
|
|
2911
|
+
@_builtins.property
|
|
2913
2912
|
@pulumi.getter
|
|
2914
2913
|
def tolerations(self) -> Optional[Sequence['outputs.DeviceToleration']]:
|
|
2915
2914
|
"""
|
|
@@ -2953,17 +2952,17 @@ class DeviceSubRequestPatch(dict):
|
|
|
2953
2952
|
return super().get(key, default)
|
|
2954
2953
|
|
|
2955
2954
|
def __init__(__self__, *,
|
|
2956
|
-
allocation_mode: Optional[
|
|
2957
|
-
count: Optional[
|
|
2958
|
-
device_class_name: Optional[
|
|
2959
|
-
name: Optional[
|
|
2955
|
+
allocation_mode: Optional[_builtins.str] = None,
|
|
2956
|
+
count: Optional[_builtins.int] = None,
|
|
2957
|
+
device_class_name: Optional[_builtins.str] = None,
|
|
2958
|
+
name: Optional[_builtins.str] = None,
|
|
2960
2959
|
selectors: Optional[Sequence['outputs.DeviceSelectorPatch']] = None,
|
|
2961
2960
|
tolerations: Optional[Sequence['outputs.DeviceTolerationPatch']] = None):
|
|
2962
2961
|
"""
|
|
2963
2962
|
DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
|
|
2964
2963
|
|
|
2965
2964
|
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
|
|
2966
|
-
:param
|
|
2965
|
+
:param _builtins.str allocation_mode: AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
2967
2966
|
|
|
2968
2967
|
- ExactCount: This request is for a specific number of devices.
|
|
2969
2968
|
This is the default. The exact number is provided in the
|
|
@@ -2976,13 +2975,13 @@ class DeviceSubRequestPatch(dict):
|
|
|
2976
2975
|
If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.
|
|
2977
2976
|
|
|
2978
2977
|
More modes may get added in the future. Clients must refuse to handle requests with unknown modes.
|
|
2979
|
-
:param
|
|
2980
|
-
:param
|
|
2978
|
+
:param _builtins.int count: Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
2979
|
+
:param _builtins.str device_class_name: DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
2981
2980
|
|
|
2982
2981
|
A class is required. Which classes are available depends on the cluster.
|
|
2983
2982
|
|
|
2984
2983
|
Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.
|
|
2985
|
-
:param
|
|
2984
|
+
:param _builtins.str name: Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
2986
2985
|
|
|
2987
2986
|
Must be a DNS label.
|
|
2988
2987
|
:param Sequence['DeviceSelectorPatchArgs'] selectors: Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.
|
|
@@ -3009,9 +3008,9 @@ class DeviceSubRequestPatch(dict):
|
|
|
3009
3008
|
if tolerations is not None:
|
|
3010
3009
|
pulumi.set(__self__, "tolerations", tolerations)
|
|
3011
3010
|
|
|
3012
|
-
@property
|
|
3011
|
+
@_builtins.property
|
|
3013
3012
|
@pulumi.getter(name="allocationMode")
|
|
3014
|
-
def allocation_mode(self) -> Optional[
|
|
3013
|
+
def allocation_mode(self) -> Optional[_builtins.str]:
|
|
3015
3014
|
"""
|
|
3016
3015
|
AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:
|
|
3017
3016
|
|
|
@@ -3029,17 +3028,17 @@ class DeviceSubRequestPatch(dict):
|
|
|
3029
3028
|
"""
|
|
3030
3029
|
return pulumi.get(self, "allocation_mode")
|
|
3031
3030
|
|
|
3032
|
-
@property
|
|
3031
|
+
@_builtins.property
|
|
3033
3032
|
@pulumi.getter
|
|
3034
|
-
def count(self) -> Optional[
|
|
3033
|
+
def count(self) -> Optional[_builtins.int]:
|
|
3035
3034
|
"""
|
|
3036
3035
|
Count is used only when the count mode is "ExactCount". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
|
|
3037
3036
|
"""
|
|
3038
3037
|
return pulumi.get(self, "count")
|
|
3039
3038
|
|
|
3040
|
-
@property
|
|
3039
|
+
@_builtins.property
|
|
3041
3040
|
@pulumi.getter(name="deviceClassName")
|
|
3042
|
-
def device_class_name(self) -> Optional[
|
|
3041
|
+
def device_class_name(self) -> Optional[_builtins.str]:
|
|
3043
3042
|
"""
|
|
3044
3043
|
DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.
|
|
3045
3044
|
|
|
@@ -3049,9 +3048,9 @@ class DeviceSubRequestPatch(dict):
|
|
|
3049
3048
|
"""
|
|
3050
3049
|
return pulumi.get(self, "device_class_name")
|
|
3051
3050
|
|
|
3052
|
-
@property
|
|
3051
|
+
@_builtins.property
|
|
3053
3052
|
@pulumi.getter
|
|
3054
|
-
def name(self) -> Optional[
|
|
3053
|
+
def name(self) -> Optional[_builtins.str]:
|
|
3055
3054
|
"""
|
|
3056
3055
|
Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>.
|
|
3057
3056
|
|
|
@@ -3059,7 +3058,7 @@ class DeviceSubRequestPatch(dict):
|
|
|
3059
3058
|
"""
|
|
3060
3059
|
return pulumi.get(self, "name")
|
|
3061
3060
|
|
|
3062
|
-
@property
|
|
3061
|
+
@_builtins.property
|
|
3063
3062
|
@pulumi.getter
|
|
3064
3063
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelectorPatch']]:
|
|
3065
3064
|
"""
|
|
@@ -3067,7 +3066,7 @@ class DeviceSubRequestPatch(dict):
|
|
|
3067
3066
|
"""
|
|
3068
3067
|
return pulumi.get(self, "selectors")
|
|
3069
3068
|
|
|
3070
|
-
@property
|
|
3069
|
+
@_builtins.property
|
|
3071
3070
|
@pulumi.getter
|
|
3072
3071
|
def tolerations(self) -> Optional[Sequence['outputs.DeviceTolerationPatch']]:
|
|
3073
3072
|
"""
|
|
@@ -3107,16 +3106,16 @@ class DeviceTaint(dict):
|
|
|
3107
3106
|
return super().get(key, default)
|
|
3108
3107
|
|
|
3109
3108
|
def __init__(__self__, *,
|
|
3110
|
-
effect:
|
|
3111
|
-
key:
|
|
3112
|
-
time_added: Optional[
|
|
3113
|
-
value: Optional[
|
|
3109
|
+
effect: _builtins.str,
|
|
3110
|
+
key: _builtins.str,
|
|
3111
|
+
time_added: Optional[_builtins.str] = None,
|
|
3112
|
+
value: Optional[_builtins.str] = None):
|
|
3114
3113
|
"""
|
|
3115
3114
|
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
|
|
3116
|
-
:param
|
|
3117
|
-
:param
|
|
3118
|
-
:param
|
|
3119
|
-
:param
|
|
3115
|
+
:param _builtins.str effect: The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3116
|
+
:param _builtins.str key: The taint key to be applied to a device. Must be a label name.
|
|
3117
|
+
:param _builtins.str time_added: TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3118
|
+
:param _builtins.str value: The taint value corresponding to the taint key. Must be a label value.
|
|
3120
3119
|
"""
|
|
3121
3120
|
pulumi.set(__self__, "effect", effect)
|
|
3122
3121
|
pulumi.set(__self__, "key", key)
|
|
@@ -3125,33 +3124,33 @@ class DeviceTaint(dict):
|
|
|
3125
3124
|
if value is not None:
|
|
3126
3125
|
pulumi.set(__self__, "value", value)
|
|
3127
3126
|
|
|
3128
|
-
@property
|
|
3127
|
+
@_builtins.property
|
|
3129
3128
|
@pulumi.getter
|
|
3130
|
-
def effect(self) ->
|
|
3129
|
+
def effect(self) -> _builtins.str:
|
|
3131
3130
|
"""
|
|
3132
3131
|
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3133
3132
|
"""
|
|
3134
3133
|
return pulumi.get(self, "effect")
|
|
3135
3134
|
|
|
3136
|
-
@property
|
|
3135
|
+
@_builtins.property
|
|
3137
3136
|
@pulumi.getter
|
|
3138
|
-
def key(self) ->
|
|
3137
|
+
def key(self) -> _builtins.str:
|
|
3139
3138
|
"""
|
|
3140
3139
|
The taint key to be applied to a device. Must be a label name.
|
|
3141
3140
|
"""
|
|
3142
3141
|
return pulumi.get(self, "key")
|
|
3143
3142
|
|
|
3144
|
-
@property
|
|
3143
|
+
@_builtins.property
|
|
3145
3144
|
@pulumi.getter(name="timeAdded")
|
|
3146
|
-
def time_added(self) -> Optional[
|
|
3145
|
+
def time_added(self) -> Optional[_builtins.str]:
|
|
3147
3146
|
"""
|
|
3148
3147
|
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3149
3148
|
"""
|
|
3150
3149
|
return pulumi.get(self, "time_added")
|
|
3151
3150
|
|
|
3152
|
-
@property
|
|
3151
|
+
@_builtins.property
|
|
3153
3152
|
@pulumi.getter
|
|
3154
|
-
def value(self) -> Optional[
|
|
3153
|
+
def value(self) -> Optional[_builtins.str]:
|
|
3155
3154
|
"""
|
|
3156
3155
|
The taint value corresponding to the taint key. Must be a label value.
|
|
3157
3156
|
"""
|
|
@@ -3181,16 +3180,16 @@ class DeviceTaintPatch(dict):
|
|
|
3181
3180
|
return super().get(key, default)
|
|
3182
3181
|
|
|
3183
3182
|
def __init__(__self__, *,
|
|
3184
|
-
effect: Optional[
|
|
3185
|
-
key: Optional[
|
|
3186
|
-
time_added: Optional[
|
|
3187
|
-
value: Optional[
|
|
3183
|
+
effect: Optional[_builtins.str] = None,
|
|
3184
|
+
key: Optional[_builtins.str] = None,
|
|
3185
|
+
time_added: Optional[_builtins.str] = None,
|
|
3186
|
+
value: Optional[_builtins.str] = None):
|
|
3188
3187
|
"""
|
|
3189
3188
|
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
|
|
3190
|
-
:param
|
|
3191
|
-
:param
|
|
3192
|
-
:param
|
|
3193
|
-
:param
|
|
3189
|
+
:param _builtins.str effect: The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3190
|
+
:param _builtins.str key: The taint key to be applied to a device. Must be a label name.
|
|
3191
|
+
:param _builtins.str time_added: TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3192
|
+
:param _builtins.str value: The taint value corresponding to the taint key. Must be a label value.
|
|
3194
3193
|
"""
|
|
3195
3194
|
if effect is not None:
|
|
3196
3195
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3201,33 +3200,33 @@ class DeviceTaintPatch(dict):
|
|
|
3201
3200
|
if value is not None:
|
|
3202
3201
|
pulumi.set(__self__, "value", value)
|
|
3203
3202
|
|
|
3204
|
-
@property
|
|
3203
|
+
@_builtins.property
|
|
3205
3204
|
@pulumi.getter
|
|
3206
|
-
def effect(self) -> Optional[
|
|
3205
|
+
def effect(self) -> Optional[_builtins.str]:
|
|
3207
3206
|
"""
|
|
3208
3207
|
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
|
|
3209
3208
|
"""
|
|
3210
3209
|
return pulumi.get(self, "effect")
|
|
3211
3210
|
|
|
3212
|
-
@property
|
|
3211
|
+
@_builtins.property
|
|
3213
3212
|
@pulumi.getter
|
|
3214
|
-
def key(self) -> Optional[
|
|
3213
|
+
def key(self) -> Optional[_builtins.str]:
|
|
3215
3214
|
"""
|
|
3216
3215
|
The taint key to be applied to a device. Must be a label name.
|
|
3217
3216
|
"""
|
|
3218
3217
|
return pulumi.get(self, "key")
|
|
3219
3218
|
|
|
3220
|
-
@property
|
|
3219
|
+
@_builtins.property
|
|
3221
3220
|
@pulumi.getter(name="timeAdded")
|
|
3222
|
-
def time_added(self) -> Optional[
|
|
3221
|
+
def time_added(self) -> Optional[_builtins.str]:
|
|
3223
3222
|
"""
|
|
3224
3223
|
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
|
|
3225
3224
|
"""
|
|
3226
3225
|
return pulumi.get(self, "time_added")
|
|
3227
3226
|
|
|
3228
|
-
@property
|
|
3227
|
+
@_builtins.property
|
|
3229
3228
|
@pulumi.getter
|
|
3230
|
-
def value(self) -> Optional[
|
|
3229
|
+
def value(self) -> Optional[_builtins.str]:
|
|
3231
3230
|
"""
|
|
3232
3231
|
The taint value corresponding to the taint key. Must be a label value.
|
|
3233
3232
|
"""
|
|
@@ -3258,16 +3257,16 @@ class DeviceTaintRule(dict):
|
|
|
3258
3257
|
|
|
3259
3258
|
def __init__(__self__, *,
|
|
3260
3259
|
spec: 'outputs.DeviceTaintRuleSpec',
|
|
3261
|
-
api_version: Optional[
|
|
3262
|
-
kind: Optional[
|
|
3260
|
+
api_version: Optional[_builtins.str] = None,
|
|
3261
|
+
kind: Optional[_builtins.str] = None,
|
|
3263
3262
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
3264
3263
|
"""
|
|
3265
3264
|
DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.
|
|
3266
3265
|
:param 'DeviceTaintRuleSpecArgs' spec: Spec specifies the selector and one taint.
|
|
3267
3266
|
|
|
3268
3267
|
Changing the spec automatically increments the metadata.generation number.
|
|
3269
|
-
:param
|
|
3270
|
-
:param
|
|
3268
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3269
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3271
3270
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata
|
|
3272
3271
|
"""
|
|
3273
3272
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -3278,7 +3277,7 @@ class DeviceTaintRule(dict):
|
|
|
3278
3277
|
if metadata is not None:
|
|
3279
3278
|
pulumi.set(__self__, "metadata", metadata)
|
|
3280
3279
|
|
|
3281
|
-
@property
|
|
3280
|
+
@_builtins.property
|
|
3282
3281
|
@pulumi.getter
|
|
3283
3282
|
def spec(self) -> 'outputs.DeviceTaintRuleSpec':
|
|
3284
3283
|
"""
|
|
@@ -3288,23 +3287,23 @@ class DeviceTaintRule(dict):
|
|
|
3288
3287
|
"""
|
|
3289
3288
|
return pulumi.get(self, "spec")
|
|
3290
3289
|
|
|
3291
|
-
@property
|
|
3290
|
+
@_builtins.property
|
|
3292
3291
|
@pulumi.getter(name="apiVersion")
|
|
3293
|
-
def api_version(self) -> Optional[
|
|
3292
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
3294
3293
|
"""
|
|
3295
3294
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3296
3295
|
"""
|
|
3297
3296
|
return pulumi.get(self, "api_version")
|
|
3298
3297
|
|
|
3299
|
-
@property
|
|
3298
|
+
@_builtins.property
|
|
3300
3299
|
@pulumi.getter
|
|
3301
|
-
def kind(self) -> Optional[
|
|
3300
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
3302
3301
|
"""
|
|
3303
3302
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3304
3303
|
"""
|
|
3305
3304
|
return pulumi.get(self, "kind")
|
|
3306
3305
|
|
|
3307
|
-
@property
|
|
3306
|
+
@_builtins.property
|
|
3308
3307
|
@pulumi.getter
|
|
3309
3308
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
3310
3309
|
"""
|
|
@@ -3347,7 +3346,7 @@ class DeviceTaintRuleSpec(dict):
|
|
|
3347
3346
|
if device_selector is not None:
|
|
3348
3347
|
pulumi.set(__self__, "device_selector", device_selector)
|
|
3349
3348
|
|
|
3350
|
-
@property
|
|
3349
|
+
@_builtins.property
|
|
3351
3350
|
@pulumi.getter
|
|
3352
3351
|
def taint(self) -> 'outputs.DeviceTaint':
|
|
3353
3352
|
"""
|
|
@@ -3355,7 +3354,7 @@ class DeviceTaintRuleSpec(dict):
|
|
|
3355
3354
|
"""
|
|
3356
3355
|
return pulumi.get(self, "taint")
|
|
3357
3356
|
|
|
3358
|
-
@property
|
|
3357
|
+
@_builtins.property
|
|
3359
3358
|
@pulumi.getter(name="deviceSelector")
|
|
3360
3359
|
def device_selector(self) -> Optional['outputs.DeviceTaintSelector']:
|
|
3361
3360
|
"""
|
|
@@ -3399,7 +3398,7 @@ class DeviceTaintRuleSpecPatch(dict):
|
|
|
3399
3398
|
if taint is not None:
|
|
3400
3399
|
pulumi.set(__self__, "taint", taint)
|
|
3401
3400
|
|
|
3402
|
-
@property
|
|
3401
|
+
@_builtins.property
|
|
3403
3402
|
@pulumi.getter(name="deviceSelector")
|
|
3404
3403
|
def device_selector(self) -> Optional['outputs.DeviceTaintSelectorPatch']:
|
|
3405
3404
|
"""
|
|
@@ -3407,7 +3406,7 @@ class DeviceTaintRuleSpecPatch(dict):
|
|
|
3407
3406
|
"""
|
|
3408
3407
|
return pulumi.get(self, "device_selector")
|
|
3409
3408
|
|
|
3410
|
-
@property
|
|
3409
|
+
@_builtins.property
|
|
3411
3410
|
@pulumi.getter
|
|
3412
3411
|
def taint(self) -> Optional['outputs.DeviceTaintPatch']:
|
|
3413
3412
|
"""
|
|
@@ -3439,19 +3438,19 @@ class DeviceTaintSelector(dict):
|
|
|
3439
3438
|
return super().get(key, default)
|
|
3440
3439
|
|
|
3441
3440
|
def __init__(__self__, *,
|
|
3442
|
-
device: Optional[
|
|
3443
|
-
device_class_name: Optional[
|
|
3444
|
-
driver: Optional[
|
|
3445
|
-
pool: Optional[
|
|
3441
|
+
device: Optional[_builtins.str] = None,
|
|
3442
|
+
device_class_name: Optional[_builtins.str] = None,
|
|
3443
|
+
driver: Optional[_builtins.str] = None,
|
|
3444
|
+
pool: Optional[_builtins.str] = None,
|
|
3446
3445
|
selectors: Optional[Sequence['outputs.DeviceSelector']] = None):
|
|
3447
3446
|
"""
|
|
3448
3447
|
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
|
|
3449
|
-
:param
|
|
3448
|
+
:param _builtins.str device: If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
|
|
3450
3449
|
|
|
3451
3450
|
Setting also driver and pool may be required to avoid ambiguity, but is not required.
|
|
3452
|
-
:param
|
|
3453
|
-
:param
|
|
3454
|
-
:param
|
|
3451
|
+
:param _builtins.str device_class_name: If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
|
|
3452
|
+
:param _builtins.str driver: If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
|
|
3453
|
+
:param _builtins.str pool: If pool is set, only devices in that pool are selected.
|
|
3455
3454
|
|
|
3456
3455
|
Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
|
|
3457
3456
|
:param Sequence['DeviceSelectorArgs'] selectors: Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
|
|
@@ -3467,9 +3466,9 @@ class DeviceTaintSelector(dict):
|
|
|
3467
3466
|
if selectors is not None:
|
|
3468
3467
|
pulumi.set(__self__, "selectors", selectors)
|
|
3469
3468
|
|
|
3470
|
-
@property
|
|
3469
|
+
@_builtins.property
|
|
3471
3470
|
@pulumi.getter
|
|
3472
|
-
def device(self) -> Optional[
|
|
3471
|
+
def device(self) -> Optional[_builtins.str]:
|
|
3473
3472
|
"""
|
|
3474
3473
|
If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
|
|
3475
3474
|
|
|
@@ -3477,25 +3476,25 @@ class DeviceTaintSelector(dict):
|
|
|
3477
3476
|
"""
|
|
3478
3477
|
return pulumi.get(self, "device")
|
|
3479
3478
|
|
|
3480
|
-
@property
|
|
3479
|
+
@_builtins.property
|
|
3481
3480
|
@pulumi.getter(name="deviceClassName")
|
|
3482
|
-
def device_class_name(self) -> Optional[
|
|
3481
|
+
def device_class_name(self) -> Optional[_builtins.str]:
|
|
3483
3482
|
"""
|
|
3484
3483
|
If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
|
|
3485
3484
|
"""
|
|
3486
3485
|
return pulumi.get(self, "device_class_name")
|
|
3487
3486
|
|
|
3488
|
-
@property
|
|
3487
|
+
@_builtins.property
|
|
3489
3488
|
@pulumi.getter
|
|
3490
|
-
def driver(self) -> Optional[
|
|
3489
|
+
def driver(self) -> Optional[_builtins.str]:
|
|
3491
3490
|
"""
|
|
3492
3491
|
If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
|
|
3493
3492
|
"""
|
|
3494
3493
|
return pulumi.get(self, "driver")
|
|
3495
3494
|
|
|
3496
|
-
@property
|
|
3495
|
+
@_builtins.property
|
|
3497
3496
|
@pulumi.getter
|
|
3498
|
-
def pool(self) -> Optional[
|
|
3497
|
+
def pool(self) -> Optional[_builtins.str]:
|
|
3499
3498
|
"""
|
|
3500
3499
|
If pool is set, only devices in that pool are selected.
|
|
3501
3500
|
|
|
@@ -3503,7 +3502,7 @@ class DeviceTaintSelector(dict):
|
|
|
3503
3502
|
"""
|
|
3504
3503
|
return pulumi.get(self, "pool")
|
|
3505
3504
|
|
|
3506
|
-
@property
|
|
3505
|
+
@_builtins.property
|
|
3507
3506
|
@pulumi.getter
|
|
3508
3507
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelector']]:
|
|
3509
3508
|
"""
|
|
@@ -3535,19 +3534,19 @@ class DeviceTaintSelectorPatch(dict):
|
|
|
3535
3534
|
return super().get(key, default)
|
|
3536
3535
|
|
|
3537
3536
|
def __init__(__self__, *,
|
|
3538
|
-
device: Optional[
|
|
3539
|
-
device_class_name: Optional[
|
|
3540
|
-
driver: Optional[
|
|
3541
|
-
pool: Optional[
|
|
3537
|
+
device: Optional[_builtins.str] = None,
|
|
3538
|
+
device_class_name: Optional[_builtins.str] = None,
|
|
3539
|
+
driver: Optional[_builtins.str] = None,
|
|
3540
|
+
pool: Optional[_builtins.str] = None,
|
|
3542
3541
|
selectors: Optional[Sequence['outputs.DeviceSelectorPatch']] = None):
|
|
3543
3542
|
"""
|
|
3544
3543
|
DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.
|
|
3545
|
-
:param
|
|
3544
|
+
:param _builtins.str device: If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
|
|
3546
3545
|
|
|
3547
3546
|
Setting also driver and pool may be required to avoid ambiguity, but is not required.
|
|
3548
|
-
:param
|
|
3549
|
-
:param
|
|
3550
|
-
:param
|
|
3547
|
+
:param _builtins.str device_class_name: If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
|
|
3548
|
+
:param _builtins.str driver: If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
|
|
3549
|
+
:param _builtins.str pool: If pool is set, only devices in that pool are selected.
|
|
3551
3550
|
|
|
3552
3551
|
Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.
|
|
3553
3552
|
:param Sequence['DeviceSelectorPatchArgs'] selectors: Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.
|
|
@@ -3563,9 +3562,9 @@ class DeviceTaintSelectorPatch(dict):
|
|
|
3563
3562
|
if selectors is not None:
|
|
3564
3563
|
pulumi.set(__self__, "selectors", selectors)
|
|
3565
3564
|
|
|
3566
|
-
@property
|
|
3565
|
+
@_builtins.property
|
|
3567
3566
|
@pulumi.getter
|
|
3568
|
-
def device(self) -> Optional[
|
|
3567
|
+
def device(self) -> Optional[_builtins.str]:
|
|
3569
3568
|
"""
|
|
3570
3569
|
If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.
|
|
3571
3570
|
|
|
@@ -3573,25 +3572,25 @@ class DeviceTaintSelectorPatch(dict):
|
|
|
3573
3572
|
"""
|
|
3574
3573
|
return pulumi.get(self, "device")
|
|
3575
3574
|
|
|
3576
|
-
@property
|
|
3575
|
+
@_builtins.property
|
|
3577
3576
|
@pulumi.getter(name="deviceClassName")
|
|
3578
|
-
def device_class_name(self) -> Optional[
|
|
3577
|
+
def device_class_name(self) -> Optional[_builtins.str]:
|
|
3579
3578
|
"""
|
|
3580
3579
|
If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.
|
|
3581
3580
|
"""
|
|
3582
3581
|
return pulumi.get(self, "device_class_name")
|
|
3583
3582
|
|
|
3584
|
-
@property
|
|
3583
|
+
@_builtins.property
|
|
3585
3584
|
@pulumi.getter
|
|
3586
|
-
def driver(self) -> Optional[
|
|
3585
|
+
def driver(self) -> Optional[_builtins.str]:
|
|
3587
3586
|
"""
|
|
3588
3587
|
If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
|
|
3589
3588
|
"""
|
|
3590
3589
|
return pulumi.get(self, "driver")
|
|
3591
3590
|
|
|
3592
|
-
@property
|
|
3591
|
+
@_builtins.property
|
|
3593
3592
|
@pulumi.getter
|
|
3594
|
-
def pool(self) -> Optional[
|
|
3593
|
+
def pool(self) -> Optional[_builtins.str]:
|
|
3595
3594
|
"""
|
|
3596
3595
|
If pool is set, only devices in that pool are selected.
|
|
3597
3596
|
|
|
@@ -3599,7 +3598,7 @@ class DeviceTaintSelectorPatch(dict):
|
|
|
3599
3598
|
"""
|
|
3600
3599
|
return pulumi.get(self, "pool")
|
|
3601
3600
|
|
|
3602
|
-
@property
|
|
3601
|
+
@_builtins.property
|
|
3603
3602
|
@pulumi.getter
|
|
3604
3603
|
def selectors(self) -> Optional[Sequence['outputs.DeviceSelectorPatch']]:
|
|
3605
3604
|
"""
|
|
@@ -3631,18 +3630,18 @@ class DeviceToleration(dict):
|
|
|
3631
3630
|
return super().get(key, default)
|
|
3632
3631
|
|
|
3633
3632
|
def __init__(__self__, *,
|
|
3634
|
-
effect: Optional[
|
|
3635
|
-
key: Optional[
|
|
3636
|
-
operator: Optional[
|
|
3637
|
-
toleration_seconds: Optional[
|
|
3638
|
-
value: Optional[
|
|
3633
|
+
effect: Optional[_builtins.str] = None,
|
|
3634
|
+
key: Optional[_builtins.str] = None,
|
|
3635
|
+
operator: Optional[_builtins.str] = None,
|
|
3636
|
+
toleration_seconds: Optional[_builtins.int] = None,
|
|
3637
|
+
value: Optional[_builtins.str] = None):
|
|
3639
3638
|
"""
|
|
3640
3639
|
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
|
3641
|
-
:param
|
|
3642
|
-
:param
|
|
3643
|
-
:param
|
|
3644
|
-
:param
|
|
3645
|
-
:param
|
|
3640
|
+
:param _builtins.str effect: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3641
|
+
:param _builtins.str key: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3642
|
+
:param _builtins.str operator: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3643
|
+
:param _builtins.int toleration_seconds: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3644
|
+
:param _builtins.str value: Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3646
3645
|
"""
|
|
3647
3646
|
if effect is not None:
|
|
3648
3647
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3655,41 +3654,41 @@ class DeviceToleration(dict):
|
|
|
3655
3654
|
if value is not None:
|
|
3656
3655
|
pulumi.set(__self__, "value", value)
|
|
3657
3656
|
|
|
3658
|
-
@property
|
|
3657
|
+
@_builtins.property
|
|
3659
3658
|
@pulumi.getter
|
|
3660
|
-
def effect(self) -> Optional[
|
|
3659
|
+
def effect(self) -> Optional[_builtins.str]:
|
|
3661
3660
|
"""
|
|
3662
3661
|
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3663
3662
|
"""
|
|
3664
3663
|
return pulumi.get(self, "effect")
|
|
3665
3664
|
|
|
3666
|
-
@property
|
|
3665
|
+
@_builtins.property
|
|
3667
3666
|
@pulumi.getter
|
|
3668
|
-
def key(self) -> Optional[
|
|
3667
|
+
def key(self) -> Optional[_builtins.str]:
|
|
3669
3668
|
"""
|
|
3670
3669
|
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3671
3670
|
"""
|
|
3672
3671
|
return pulumi.get(self, "key")
|
|
3673
3672
|
|
|
3674
|
-
@property
|
|
3673
|
+
@_builtins.property
|
|
3675
3674
|
@pulumi.getter
|
|
3676
|
-
def operator(self) -> Optional[
|
|
3675
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
3677
3676
|
"""
|
|
3678
3677
|
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3679
3678
|
"""
|
|
3680
3679
|
return pulumi.get(self, "operator")
|
|
3681
3680
|
|
|
3682
|
-
@property
|
|
3681
|
+
@_builtins.property
|
|
3683
3682
|
@pulumi.getter(name="tolerationSeconds")
|
|
3684
|
-
def toleration_seconds(self) -> Optional[
|
|
3683
|
+
def toleration_seconds(self) -> Optional[_builtins.int]:
|
|
3685
3684
|
"""
|
|
3686
3685
|
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3687
3686
|
"""
|
|
3688
3687
|
return pulumi.get(self, "toleration_seconds")
|
|
3689
3688
|
|
|
3690
|
-
@property
|
|
3689
|
+
@_builtins.property
|
|
3691
3690
|
@pulumi.getter
|
|
3692
|
-
def value(self) -> Optional[
|
|
3691
|
+
def value(self) -> Optional[_builtins.str]:
|
|
3693
3692
|
"""
|
|
3694
3693
|
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3695
3694
|
"""
|
|
@@ -3719,18 +3718,18 @@ class DeviceTolerationPatch(dict):
|
|
|
3719
3718
|
return super().get(key, default)
|
|
3720
3719
|
|
|
3721
3720
|
def __init__(__self__, *,
|
|
3722
|
-
effect: Optional[
|
|
3723
|
-
key: Optional[
|
|
3724
|
-
operator: Optional[
|
|
3725
|
-
toleration_seconds: Optional[
|
|
3726
|
-
value: Optional[
|
|
3721
|
+
effect: Optional[_builtins.str] = None,
|
|
3722
|
+
key: Optional[_builtins.str] = None,
|
|
3723
|
+
operator: Optional[_builtins.str] = None,
|
|
3724
|
+
toleration_seconds: Optional[_builtins.int] = None,
|
|
3725
|
+
value: Optional[_builtins.str] = None):
|
|
3727
3726
|
"""
|
|
3728
3727
|
The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
|
3729
|
-
:param
|
|
3730
|
-
:param
|
|
3731
|
-
:param
|
|
3732
|
-
:param
|
|
3733
|
-
:param
|
|
3728
|
+
:param _builtins.str effect: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3729
|
+
:param _builtins.str key: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3730
|
+
:param _builtins.str operator: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3731
|
+
:param _builtins.int toleration_seconds: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3732
|
+
:param _builtins.str value: Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3734
3733
|
"""
|
|
3735
3734
|
if effect is not None:
|
|
3736
3735
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3743,41 +3742,41 @@ class DeviceTolerationPatch(dict):
|
|
|
3743
3742
|
if value is not None:
|
|
3744
3743
|
pulumi.set(__self__, "value", value)
|
|
3745
3744
|
|
|
3746
|
-
@property
|
|
3745
|
+
@_builtins.property
|
|
3747
3746
|
@pulumi.getter
|
|
3748
|
-
def effect(self) -> Optional[
|
|
3747
|
+
def effect(self) -> Optional[_builtins.str]:
|
|
3749
3748
|
"""
|
|
3750
3749
|
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.
|
|
3751
3750
|
"""
|
|
3752
3751
|
return pulumi.get(self, "effect")
|
|
3753
3752
|
|
|
3754
|
-
@property
|
|
3753
|
+
@_builtins.property
|
|
3755
3754
|
@pulumi.getter
|
|
3756
|
-
def key(self) -> Optional[
|
|
3755
|
+
def key(self) -> Optional[_builtins.str]:
|
|
3757
3756
|
"""
|
|
3758
3757
|
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.
|
|
3759
3758
|
"""
|
|
3760
3759
|
return pulumi.get(self, "key")
|
|
3761
3760
|
|
|
3762
|
-
@property
|
|
3761
|
+
@_builtins.property
|
|
3763
3762
|
@pulumi.getter
|
|
3764
|
-
def operator(self) -> Optional[
|
|
3763
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
3765
3764
|
"""
|
|
3766
3765
|
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.
|
|
3767
3766
|
"""
|
|
3768
3767
|
return pulumi.get(self, "operator")
|
|
3769
3768
|
|
|
3770
|
-
@property
|
|
3769
|
+
@_builtins.property
|
|
3771
3770
|
@pulumi.getter(name="tolerationSeconds")
|
|
3772
|
-
def toleration_seconds(self) -> Optional[
|
|
3771
|
+
def toleration_seconds(self) -> Optional[_builtins.int]:
|
|
3773
3772
|
"""
|
|
3774
3773
|
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as <time when taint was adedd> + <toleration seconds>.
|
|
3775
3774
|
"""
|
|
3776
3775
|
return pulumi.get(self, "toleration_seconds")
|
|
3777
3776
|
|
|
3778
|
-
@property
|
|
3777
|
+
@_builtins.property
|
|
3779
3778
|
@pulumi.getter
|
|
3780
|
-
def value(self) -> Optional[
|
|
3779
|
+
def value(self) -> Optional[_builtins.str]:
|
|
3781
3780
|
"""
|
|
3782
3781
|
Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.
|
|
3783
3782
|
"""
|
|
@@ -3809,18 +3808,18 @@ class NetworkDeviceData(dict):
|
|
|
3809
3808
|
return super().get(key, default)
|
|
3810
3809
|
|
|
3811
3810
|
def __init__(__self__, *,
|
|
3812
|
-
hardware_address: Optional[
|
|
3813
|
-
interface_name: Optional[
|
|
3814
|
-
ips: Optional[Sequence[
|
|
3811
|
+
hardware_address: Optional[_builtins.str] = None,
|
|
3812
|
+
interface_name: Optional[_builtins.str] = None,
|
|
3813
|
+
ips: Optional[Sequence[_builtins.str]] = None):
|
|
3815
3814
|
"""
|
|
3816
3815
|
NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.
|
|
3817
|
-
:param
|
|
3816
|
+
:param _builtins.str hardware_address: HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
3818
3817
|
|
|
3819
3818
|
Must not be longer than 128 characters.
|
|
3820
|
-
:param
|
|
3819
|
+
:param _builtins.str interface_name: InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
3821
3820
|
|
|
3822
3821
|
Must not be longer than 256 characters.
|
|
3823
|
-
:param Sequence[
|
|
3822
|
+
:param Sequence[_builtins.str] ips: IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
3824
3823
|
|
|
3825
3824
|
Must not contain more than 16 entries.
|
|
3826
3825
|
"""
|
|
@@ -3831,9 +3830,9 @@ class NetworkDeviceData(dict):
|
|
|
3831
3830
|
if ips is not None:
|
|
3832
3831
|
pulumi.set(__self__, "ips", ips)
|
|
3833
3832
|
|
|
3834
|
-
@property
|
|
3833
|
+
@_builtins.property
|
|
3835
3834
|
@pulumi.getter(name="hardwareAddress")
|
|
3836
|
-
def hardware_address(self) -> Optional[
|
|
3835
|
+
def hardware_address(self) -> Optional[_builtins.str]:
|
|
3837
3836
|
"""
|
|
3838
3837
|
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
3839
3838
|
|
|
@@ -3841,9 +3840,9 @@ class NetworkDeviceData(dict):
|
|
|
3841
3840
|
"""
|
|
3842
3841
|
return pulumi.get(self, "hardware_address")
|
|
3843
3842
|
|
|
3844
|
-
@property
|
|
3843
|
+
@_builtins.property
|
|
3845
3844
|
@pulumi.getter(name="interfaceName")
|
|
3846
|
-
def interface_name(self) -> Optional[
|
|
3845
|
+
def interface_name(self) -> Optional[_builtins.str]:
|
|
3847
3846
|
"""
|
|
3848
3847
|
InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
3849
3848
|
|
|
@@ -3851,9 +3850,9 @@ class NetworkDeviceData(dict):
|
|
|
3851
3850
|
"""
|
|
3852
3851
|
return pulumi.get(self, "interface_name")
|
|
3853
3852
|
|
|
3854
|
-
@property
|
|
3853
|
+
@_builtins.property
|
|
3855
3854
|
@pulumi.getter
|
|
3856
|
-
def ips(self) -> Optional[Sequence[
|
|
3855
|
+
def ips(self) -> Optional[Sequence[_builtins.str]]:
|
|
3857
3856
|
"""
|
|
3858
3857
|
IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
3859
3858
|
|
|
@@ -3887,18 +3886,18 @@ class NetworkDeviceDataPatch(dict):
|
|
|
3887
3886
|
return super().get(key, default)
|
|
3888
3887
|
|
|
3889
3888
|
def __init__(__self__, *,
|
|
3890
|
-
hardware_address: Optional[
|
|
3891
|
-
interface_name: Optional[
|
|
3892
|
-
ips: Optional[Sequence[
|
|
3889
|
+
hardware_address: Optional[_builtins.str] = None,
|
|
3890
|
+
interface_name: Optional[_builtins.str] = None,
|
|
3891
|
+
ips: Optional[Sequence[_builtins.str]] = None):
|
|
3893
3892
|
"""
|
|
3894
3893
|
NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.
|
|
3895
|
-
:param
|
|
3894
|
+
:param _builtins.str hardware_address: HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
3896
3895
|
|
|
3897
3896
|
Must not be longer than 128 characters.
|
|
3898
|
-
:param
|
|
3897
|
+
:param _builtins.str interface_name: InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
3899
3898
|
|
|
3900
3899
|
Must not be longer than 256 characters.
|
|
3901
|
-
:param Sequence[
|
|
3900
|
+
:param Sequence[_builtins.str] ips: IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
3902
3901
|
|
|
3903
3902
|
Must not contain more than 16 entries.
|
|
3904
3903
|
"""
|
|
@@ -3909,9 +3908,9 @@ class NetworkDeviceDataPatch(dict):
|
|
|
3909
3908
|
if ips is not None:
|
|
3910
3909
|
pulumi.set(__self__, "ips", ips)
|
|
3911
3910
|
|
|
3912
|
-
@property
|
|
3911
|
+
@_builtins.property
|
|
3913
3912
|
@pulumi.getter(name="hardwareAddress")
|
|
3914
|
-
def hardware_address(self) -> Optional[
|
|
3913
|
+
def hardware_address(self) -> Optional[_builtins.str]:
|
|
3915
3914
|
"""
|
|
3916
3915
|
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
|
|
3917
3916
|
|
|
@@ -3919,9 +3918,9 @@ class NetworkDeviceDataPatch(dict):
|
|
|
3919
3918
|
"""
|
|
3920
3919
|
return pulumi.get(self, "hardware_address")
|
|
3921
3920
|
|
|
3922
|
-
@property
|
|
3921
|
+
@_builtins.property
|
|
3923
3922
|
@pulumi.getter(name="interfaceName")
|
|
3924
|
-
def interface_name(self) -> Optional[
|
|
3923
|
+
def interface_name(self) -> Optional[_builtins.str]:
|
|
3925
3924
|
"""
|
|
3926
3925
|
InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.
|
|
3927
3926
|
|
|
@@ -3929,9 +3928,9 @@ class NetworkDeviceDataPatch(dict):
|
|
|
3929
3928
|
"""
|
|
3930
3929
|
return pulumi.get(self, "interface_name")
|
|
3931
3930
|
|
|
3932
|
-
@property
|
|
3931
|
+
@_builtins.property
|
|
3933
3932
|
@pulumi.getter
|
|
3934
|
-
def ips(self) -> Optional[Sequence[
|
|
3933
|
+
def ips(self) -> Optional[Sequence[_builtins.str]]:
|
|
3935
3934
|
"""
|
|
3936
3935
|
IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.
|
|
3937
3936
|
|
|
@@ -3946,11 +3945,11 @@ class OpaqueDeviceConfiguration(dict):
|
|
|
3946
3945
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
3947
3946
|
"""
|
|
3948
3947
|
def __init__(__self__, *,
|
|
3949
|
-
driver:
|
|
3948
|
+
driver: _builtins.str,
|
|
3950
3949
|
parameters: Any):
|
|
3951
3950
|
"""
|
|
3952
3951
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
3953
|
-
:param
|
|
3952
|
+
:param _builtins.str driver: Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
3954
3953
|
|
|
3955
3954
|
An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
|
|
3956
3955
|
|
|
@@ -3962,9 +3961,9 @@ class OpaqueDeviceConfiguration(dict):
|
|
|
3962
3961
|
pulumi.set(__self__, "driver", driver)
|
|
3963
3962
|
pulumi.set(__self__, "parameters", parameters)
|
|
3964
3963
|
|
|
3965
|
-
@property
|
|
3964
|
+
@_builtins.property
|
|
3966
3965
|
@pulumi.getter
|
|
3967
|
-
def driver(self) ->
|
|
3966
|
+
def driver(self) -> _builtins.str:
|
|
3968
3967
|
"""
|
|
3969
3968
|
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
3970
3969
|
|
|
@@ -3974,7 +3973,7 @@ class OpaqueDeviceConfiguration(dict):
|
|
|
3974
3973
|
"""
|
|
3975
3974
|
return pulumi.get(self, "driver")
|
|
3976
3975
|
|
|
3977
|
-
@property
|
|
3976
|
+
@_builtins.property
|
|
3978
3977
|
@pulumi.getter
|
|
3979
3978
|
def parameters(self) -> Any:
|
|
3980
3979
|
"""
|
|
@@ -3991,11 +3990,11 @@ class OpaqueDeviceConfigurationPatch(dict):
|
|
|
3991
3990
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
3992
3991
|
"""
|
|
3993
3992
|
def __init__(__self__, *,
|
|
3994
|
-
driver: Optional[
|
|
3993
|
+
driver: Optional[_builtins.str] = None,
|
|
3995
3994
|
parameters: Optional[Any] = None):
|
|
3996
3995
|
"""
|
|
3997
3996
|
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
|
|
3998
|
-
:param
|
|
3997
|
+
:param _builtins.str driver: Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
3999
3998
|
|
|
4000
3999
|
An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
|
|
4001
4000
|
|
|
@@ -4009,9 +4008,9 @@ class OpaqueDeviceConfigurationPatch(dict):
|
|
|
4009
4008
|
if parameters is not None:
|
|
4010
4009
|
pulumi.set(__self__, "parameters", parameters)
|
|
4011
4010
|
|
|
4012
|
-
@property
|
|
4011
|
+
@_builtins.property
|
|
4013
4012
|
@pulumi.getter
|
|
4014
|
-
def driver(self) -> Optional[
|
|
4013
|
+
def driver(self) -> Optional[_builtins.str]:
|
|
4015
4014
|
"""
|
|
4016
4015
|
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
|
|
4017
4016
|
|
|
@@ -4021,7 +4020,7 @@ class OpaqueDeviceConfigurationPatch(dict):
|
|
|
4021
4020
|
"""
|
|
4022
4021
|
return pulumi.get(self, "driver")
|
|
4023
4022
|
|
|
4024
|
-
@property
|
|
4023
|
+
@_builtins.property
|
|
4025
4024
|
@pulumi.getter
|
|
4026
4025
|
def parameters(self) -> Optional[Any]:
|
|
4027
4026
|
"""
|
|
@@ -4058,8 +4057,8 @@ class PodSchedulingContext(dict):
|
|
|
4058
4057
|
|
|
4059
4058
|
def __init__(__self__, *,
|
|
4060
4059
|
spec: 'outputs.PodSchedulingContextSpec',
|
|
4061
|
-
api_version: Optional[
|
|
4062
|
-
kind: Optional[
|
|
4060
|
+
api_version: Optional[_builtins.str] = None,
|
|
4061
|
+
kind: Optional[_builtins.str] = None,
|
|
4063
4062
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
4064
4063
|
status: Optional['outputs.PodSchedulingContextStatus'] = None):
|
|
4065
4064
|
"""
|
|
@@ -4067,8 +4066,8 @@ class PodSchedulingContext(dict):
|
|
|
4067
4066
|
|
|
4068
4067
|
This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
|
|
4069
4068
|
:param 'PodSchedulingContextSpecArgs' spec: Spec describes where resources for the Pod are needed.
|
|
4070
|
-
:param
|
|
4071
|
-
:param
|
|
4069
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4070
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4072
4071
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata
|
|
4073
4072
|
:param 'PodSchedulingContextStatusArgs' status: Status describes where resources for the Pod can be allocated.
|
|
4074
4073
|
"""
|
|
@@ -4082,7 +4081,7 @@ class PodSchedulingContext(dict):
|
|
|
4082
4081
|
if status is not None:
|
|
4083
4082
|
pulumi.set(__self__, "status", status)
|
|
4084
4083
|
|
|
4085
|
-
@property
|
|
4084
|
+
@_builtins.property
|
|
4086
4085
|
@pulumi.getter
|
|
4087
4086
|
def spec(self) -> 'outputs.PodSchedulingContextSpec':
|
|
4088
4087
|
"""
|
|
@@ -4090,23 +4089,23 @@ class PodSchedulingContext(dict):
|
|
|
4090
4089
|
"""
|
|
4091
4090
|
return pulumi.get(self, "spec")
|
|
4092
4091
|
|
|
4093
|
-
@property
|
|
4092
|
+
@_builtins.property
|
|
4094
4093
|
@pulumi.getter(name="apiVersion")
|
|
4095
|
-
def api_version(self) -> Optional[
|
|
4094
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
4096
4095
|
"""
|
|
4097
4096
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4098
4097
|
"""
|
|
4099
4098
|
return pulumi.get(self, "api_version")
|
|
4100
4099
|
|
|
4101
|
-
@property
|
|
4100
|
+
@_builtins.property
|
|
4102
4101
|
@pulumi.getter
|
|
4103
|
-
def kind(self) -> Optional[
|
|
4102
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
4104
4103
|
"""
|
|
4105
4104
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4106
4105
|
"""
|
|
4107
4106
|
return pulumi.get(self, "kind")
|
|
4108
4107
|
|
|
4109
|
-
@property
|
|
4108
|
+
@_builtins.property
|
|
4110
4109
|
@pulumi.getter
|
|
4111
4110
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
4112
4111
|
"""
|
|
@@ -4114,7 +4113,7 @@ class PodSchedulingContext(dict):
|
|
|
4114
4113
|
"""
|
|
4115
4114
|
return pulumi.get(self, "metadata")
|
|
4116
4115
|
|
|
4117
|
-
@property
|
|
4116
|
+
@_builtins.property
|
|
4118
4117
|
@pulumi.getter
|
|
4119
4118
|
def status(self) -> Optional['outputs.PodSchedulingContextStatus']:
|
|
4120
4119
|
"""
|
|
@@ -4148,23 +4147,23 @@ class PodSchedulingContextSpec(dict):
|
|
|
4148
4147
|
return super().get(key, default)
|
|
4149
4148
|
|
|
4150
4149
|
def __init__(__self__, *,
|
|
4151
|
-
potential_nodes: Optional[Sequence[
|
|
4152
|
-
selected_node: Optional[
|
|
4150
|
+
potential_nodes: Optional[Sequence[_builtins.str]] = None,
|
|
4151
|
+
selected_node: Optional[_builtins.str] = None):
|
|
4153
4152
|
"""
|
|
4154
4153
|
PodSchedulingContextSpec describes where resources for the Pod are needed.
|
|
4155
|
-
:param Sequence[
|
|
4154
|
+
:param Sequence[_builtins.str] potential_nodes: PotentialNodes lists nodes where the Pod might be able to run.
|
|
4156
4155
|
|
|
4157
4156
|
The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
|
|
4158
|
-
:param
|
|
4157
|
+
:param _builtins.str selected_node: SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
|
|
4159
4158
|
"""
|
|
4160
4159
|
if potential_nodes is not None:
|
|
4161
4160
|
pulumi.set(__self__, "potential_nodes", potential_nodes)
|
|
4162
4161
|
if selected_node is not None:
|
|
4163
4162
|
pulumi.set(__self__, "selected_node", selected_node)
|
|
4164
4163
|
|
|
4165
|
-
@property
|
|
4164
|
+
@_builtins.property
|
|
4166
4165
|
@pulumi.getter(name="potentialNodes")
|
|
4167
|
-
def potential_nodes(self) -> Optional[Sequence[
|
|
4166
|
+
def potential_nodes(self) -> Optional[Sequence[_builtins.str]]:
|
|
4168
4167
|
"""
|
|
4169
4168
|
PotentialNodes lists nodes where the Pod might be able to run.
|
|
4170
4169
|
|
|
@@ -4172,9 +4171,9 @@ class PodSchedulingContextSpec(dict):
|
|
|
4172
4171
|
"""
|
|
4173
4172
|
return pulumi.get(self, "potential_nodes")
|
|
4174
4173
|
|
|
4175
|
-
@property
|
|
4174
|
+
@_builtins.property
|
|
4176
4175
|
@pulumi.getter(name="selectedNode")
|
|
4177
|
-
def selected_node(self) -> Optional[
|
|
4176
|
+
def selected_node(self) -> Optional[_builtins.str]:
|
|
4178
4177
|
"""
|
|
4179
4178
|
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
|
|
4180
4179
|
"""
|
|
@@ -4206,23 +4205,23 @@ class PodSchedulingContextSpecPatch(dict):
|
|
|
4206
4205
|
return super().get(key, default)
|
|
4207
4206
|
|
|
4208
4207
|
def __init__(__self__, *,
|
|
4209
|
-
potential_nodes: Optional[Sequence[
|
|
4210
|
-
selected_node: Optional[
|
|
4208
|
+
potential_nodes: Optional[Sequence[_builtins.str]] = None,
|
|
4209
|
+
selected_node: Optional[_builtins.str] = None):
|
|
4211
4210
|
"""
|
|
4212
4211
|
PodSchedulingContextSpec describes where resources for the Pod are needed.
|
|
4213
|
-
:param Sequence[
|
|
4212
|
+
:param Sequence[_builtins.str] potential_nodes: PotentialNodes lists nodes where the Pod might be able to run.
|
|
4214
4213
|
|
|
4215
4214
|
The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
|
|
4216
|
-
:param
|
|
4215
|
+
:param _builtins.str selected_node: SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
|
|
4217
4216
|
"""
|
|
4218
4217
|
if potential_nodes is not None:
|
|
4219
4218
|
pulumi.set(__self__, "potential_nodes", potential_nodes)
|
|
4220
4219
|
if selected_node is not None:
|
|
4221
4220
|
pulumi.set(__self__, "selected_node", selected_node)
|
|
4222
4221
|
|
|
4223
|
-
@property
|
|
4222
|
+
@_builtins.property
|
|
4224
4223
|
@pulumi.getter(name="potentialNodes")
|
|
4225
|
-
def potential_nodes(self) -> Optional[Sequence[
|
|
4224
|
+
def potential_nodes(self) -> Optional[Sequence[_builtins.str]]:
|
|
4226
4225
|
"""
|
|
4227
4226
|
PotentialNodes lists nodes where the Pod might be able to run.
|
|
4228
4227
|
|
|
@@ -4230,9 +4229,9 @@ class PodSchedulingContextSpecPatch(dict):
|
|
|
4230
4229
|
"""
|
|
4231
4230
|
return pulumi.get(self, "potential_nodes")
|
|
4232
4231
|
|
|
4233
|
-
@property
|
|
4232
|
+
@_builtins.property
|
|
4234
4233
|
@pulumi.getter(name="selectedNode")
|
|
4235
|
-
def selected_node(self) -> Optional[
|
|
4234
|
+
def selected_node(self) -> Optional[_builtins.str]:
|
|
4236
4235
|
"""
|
|
4237
4236
|
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
|
|
4238
4237
|
"""
|
|
@@ -4270,7 +4269,7 @@ class PodSchedulingContextStatus(dict):
|
|
|
4270
4269
|
if resource_claims is not None:
|
|
4271
4270
|
pulumi.set(__self__, "resource_claims", resource_claims)
|
|
4272
4271
|
|
|
4273
|
-
@property
|
|
4272
|
+
@_builtins.property
|
|
4274
4273
|
@pulumi.getter(name="resourceClaims")
|
|
4275
4274
|
def resource_claims(self) -> Optional[Sequence['outputs.ResourceClaimSchedulingStatus']]:
|
|
4276
4275
|
"""
|
|
@@ -4310,7 +4309,7 @@ class PodSchedulingContextStatusPatch(dict):
|
|
|
4310
4309
|
if resource_claims is not None:
|
|
4311
4310
|
pulumi.set(__self__, "resource_claims", resource_claims)
|
|
4312
4311
|
|
|
4313
|
-
@property
|
|
4312
|
+
@_builtins.property
|
|
4314
4313
|
@pulumi.getter(name="resourceClaims")
|
|
4315
4314
|
def resource_claims(self) -> Optional[Sequence['outputs.ResourceClaimSchedulingStatusPatch']]:
|
|
4316
4315
|
"""
|
|
@@ -4345,8 +4344,8 @@ class ResourceClaim(dict):
|
|
|
4345
4344
|
|
|
4346
4345
|
def __init__(__self__, *,
|
|
4347
4346
|
spec: 'outputs.ResourceClaimSpec',
|
|
4348
|
-
api_version: Optional[
|
|
4349
|
-
kind: Optional[
|
|
4347
|
+
api_version: Optional[_builtins.str] = None,
|
|
4348
|
+
kind: Optional[_builtins.str] = None,
|
|
4350
4349
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
4351
4350
|
status: Optional['outputs.ResourceClaimStatus'] = None):
|
|
4352
4351
|
"""
|
|
@@ -4354,8 +4353,8 @@ class ResourceClaim(dict):
|
|
|
4354
4353
|
|
|
4355
4354
|
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
|
|
4356
4355
|
:param 'ResourceClaimSpecArgs' spec: Spec describes what is being requested and how to configure it. The spec is immutable.
|
|
4357
|
-
:param
|
|
4358
|
-
:param
|
|
4356
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4357
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4359
4358
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata
|
|
4360
4359
|
:param 'ResourceClaimStatusArgs' status: Status describes whether the claim is ready to use and what has been allocated.
|
|
4361
4360
|
"""
|
|
@@ -4369,7 +4368,7 @@ class ResourceClaim(dict):
|
|
|
4369
4368
|
if status is not None:
|
|
4370
4369
|
pulumi.set(__self__, "status", status)
|
|
4371
4370
|
|
|
4372
|
-
@property
|
|
4371
|
+
@_builtins.property
|
|
4373
4372
|
@pulumi.getter
|
|
4374
4373
|
def spec(self) -> 'outputs.ResourceClaimSpec':
|
|
4375
4374
|
"""
|
|
@@ -4377,23 +4376,23 @@ class ResourceClaim(dict):
|
|
|
4377
4376
|
"""
|
|
4378
4377
|
return pulumi.get(self, "spec")
|
|
4379
4378
|
|
|
4380
|
-
@property
|
|
4379
|
+
@_builtins.property
|
|
4381
4380
|
@pulumi.getter(name="apiVersion")
|
|
4382
|
-
def api_version(self) -> Optional[
|
|
4381
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
4383
4382
|
"""
|
|
4384
4383
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4385
4384
|
"""
|
|
4386
4385
|
return pulumi.get(self, "api_version")
|
|
4387
4386
|
|
|
4388
|
-
@property
|
|
4387
|
+
@_builtins.property
|
|
4389
4388
|
@pulumi.getter
|
|
4390
|
-
def kind(self) -> Optional[
|
|
4389
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
4391
4390
|
"""
|
|
4392
4391
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4393
4392
|
"""
|
|
4394
4393
|
return pulumi.get(self, "kind")
|
|
4395
4394
|
|
|
4396
|
-
@property
|
|
4395
|
+
@_builtins.property
|
|
4397
4396
|
@pulumi.getter
|
|
4398
4397
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
4399
4398
|
"""
|
|
@@ -4401,7 +4400,7 @@ class ResourceClaim(dict):
|
|
|
4401
4400
|
"""
|
|
4402
4401
|
return pulumi.get(self, "metadata")
|
|
4403
4402
|
|
|
4404
|
-
@property
|
|
4403
|
+
@_builtins.property
|
|
4405
4404
|
@pulumi.getter
|
|
4406
4405
|
def status(self) -> Optional['outputs.ResourceClaimStatus']:
|
|
4407
4406
|
"""
|
|
@@ -4433,16 +4432,16 @@ class ResourceClaimConsumerReference(dict):
|
|
|
4433
4432
|
return super().get(key, default)
|
|
4434
4433
|
|
|
4435
4434
|
def __init__(__self__, *,
|
|
4436
|
-
name:
|
|
4437
|
-
resource:
|
|
4438
|
-
uid:
|
|
4439
|
-
api_group: Optional[
|
|
4435
|
+
name: _builtins.str,
|
|
4436
|
+
resource: _builtins.str,
|
|
4437
|
+
uid: _builtins.str,
|
|
4438
|
+
api_group: Optional[_builtins.str] = None):
|
|
4440
4439
|
"""
|
|
4441
4440
|
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
|
|
4442
|
-
:param
|
|
4443
|
-
:param
|
|
4444
|
-
:param
|
|
4445
|
-
:param
|
|
4441
|
+
:param _builtins.str name: Name is the name of resource being referenced.
|
|
4442
|
+
:param _builtins.str resource: Resource is the type of resource being referenced, for example "pods".
|
|
4443
|
+
:param _builtins.str uid: UID identifies exactly one incarnation of the resource.
|
|
4444
|
+
:param _builtins.str api_group: APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4446
4445
|
"""
|
|
4447
4446
|
pulumi.set(__self__, "name", name)
|
|
4448
4447
|
pulumi.set(__self__, "resource", resource)
|
|
@@ -4450,33 +4449,33 @@ class ResourceClaimConsumerReference(dict):
|
|
|
4450
4449
|
if api_group is not None:
|
|
4451
4450
|
pulumi.set(__self__, "api_group", api_group)
|
|
4452
4451
|
|
|
4453
|
-
@property
|
|
4452
|
+
@_builtins.property
|
|
4454
4453
|
@pulumi.getter
|
|
4455
|
-
def name(self) ->
|
|
4454
|
+
def name(self) -> _builtins.str:
|
|
4456
4455
|
"""
|
|
4457
4456
|
Name is the name of resource being referenced.
|
|
4458
4457
|
"""
|
|
4459
4458
|
return pulumi.get(self, "name")
|
|
4460
4459
|
|
|
4461
|
-
@property
|
|
4460
|
+
@_builtins.property
|
|
4462
4461
|
@pulumi.getter
|
|
4463
|
-
def resource(self) ->
|
|
4462
|
+
def resource(self) -> _builtins.str:
|
|
4464
4463
|
"""
|
|
4465
4464
|
Resource is the type of resource being referenced, for example "pods".
|
|
4466
4465
|
"""
|
|
4467
4466
|
return pulumi.get(self, "resource")
|
|
4468
4467
|
|
|
4469
|
-
@property
|
|
4468
|
+
@_builtins.property
|
|
4470
4469
|
@pulumi.getter
|
|
4471
|
-
def uid(self) ->
|
|
4470
|
+
def uid(self) -> _builtins.str:
|
|
4472
4471
|
"""
|
|
4473
4472
|
UID identifies exactly one incarnation of the resource.
|
|
4474
4473
|
"""
|
|
4475
4474
|
return pulumi.get(self, "uid")
|
|
4476
4475
|
|
|
4477
|
-
@property
|
|
4476
|
+
@_builtins.property
|
|
4478
4477
|
@pulumi.getter(name="apiGroup")
|
|
4479
|
-
def api_group(self) -> Optional[
|
|
4478
|
+
def api_group(self) -> Optional[_builtins.str]:
|
|
4480
4479
|
"""
|
|
4481
4480
|
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4482
4481
|
"""
|
|
@@ -4506,16 +4505,16 @@ class ResourceClaimConsumerReferencePatch(dict):
|
|
|
4506
4505
|
return super().get(key, default)
|
|
4507
4506
|
|
|
4508
4507
|
def __init__(__self__, *,
|
|
4509
|
-
api_group: Optional[
|
|
4510
|
-
name: Optional[
|
|
4511
|
-
resource: Optional[
|
|
4512
|
-
uid: Optional[
|
|
4508
|
+
api_group: Optional[_builtins.str] = None,
|
|
4509
|
+
name: Optional[_builtins.str] = None,
|
|
4510
|
+
resource: Optional[_builtins.str] = None,
|
|
4511
|
+
uid: Optional[_builtins.str] = None):
|
|
4513
4512
|
"""
|
|
4514
4513
|
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
|
|
4515
|
-
:param
|
|
4516
|
-
:param
|
|
4517
|
-
:param
|
|
4518
|
-
:param
|
|
4514
|
+
:param _builtins.str api_group: APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4515
|
+
:param _builtins.str name: Name is the name of resource being referenced.
|
|
4516
|
+
:param _builtins.str resource: Resource is the type of resource being referenced, for example "pods".
|
|
4517
|
+
:param _builtins.str uid: UID identifies exactly one incarnation of the resource.
|
|
4519
4518
|
"""
|
|
4520
4519
|
if api_group is not None:
|
|
4521
4520
|
pulumi.set(__self__, "api_group", api_group)
|
|
@@ -4526,33 +4525,33 @@ class ResourceClaimConsumerReferencePatch(dict):
|
|
|
4526
4525
|
if uid is not None:
|
|
4527
4526
|
pulumi.set(__self__, "uid", uid)
|
|
4528
4527
|
|
|
4529
|
-
@property
|
|
4528
|
+
@_builtins.property
|
|
4530
4529
|
@pulumi.getter(name="apiGroup")
|
|
4531
|
-
def api_group(self) -> Optional[
|
|
4530
|
+
def api_group(self) -> Optional[_builtins.str]:
|
|
4532
4531
|
"""
|
|
4533
4532
|
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
|
|
4534
4533
|
"""
|
|
4535
4534
|
return pulumi.get(self, "api_group")
|
|
4536
4535
|
|
|
4537
|
-
@property
|
|
4536
|
+
@_builtins.property
|
|
4538
4537
|
@pulumi.getter
|
|
4539
|
-
def name(self) -> Optional[
|
|
4538
|
+
def name(self) -> Optional[_builtins.str]:
|
|
4540
4539
|
"""
|
|
4541
4540
|
Name is the name of resource being referenced.
|
|
4542
4541
|
"""
|
|
4543
4542
|
return pulumi.get(self, "name")
|
|
4544
4543
|
|
|
4545
|
-
@property
|
|
4544
|
+
@_builtins.property
|
|
4546
4545
|
@pulumi.getter
|
|
4547
|
-
def resource(self) -> Optional[
|
|
4546
|
+
def resource(self) -> Optional[_builtins.str]:
|
|
4548
4547
|
"""
|
|
4549
4548
|
Resource is the type of resource being referenced, for example "pods".
|
|
4550
4549
|
"""
|
|
4551
4550
|
return pulumi.get(self, "resource")
|
|
4552
4551
|
|
|
4553
|
-
@property
|
|
4552
|
+
@_builtins.property
|
|
4554
4553
|
@pulumi.getter
|
|
4555
|
-
def uid(self) -> Optional[
|
|
4554
|
+
def uid(self) -> Optional[_builtins.str]:
|
|
4556
4555
|
"""
|
|
4557
4556
|
UID identifies exactly one incarnation of the resource.
|
|
4558
4557
|
"""
|
|
@@ -4582,12 +4581,12 @@ class ResourceClaimSchedulingStatus(dict):
|
|
|
4582
4581
|
return super().get(key, default)
|
|
4583
4582
|
|
|
4584
4583
|
def __init__(__self__, *,
|
|
4585
|
-
name:
|
|
4586
|
-
unsuitable_nodes: Optional[Sequence[
|
|
4584
|
+
name: _builtins.str,
|
|
4585
|
+
unsuitable_nodes: Optional[Sequence[_builtins.str]] = None):
|
|
4587
4586
|
"""
|
|
4588
4587
|
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
|
|
4589
|
-
:param
|
|
4590
|
-
:param Sequence[
|
|
4588
|
+
:param _builtins.str name: Name matches the pod.spec.resourceClaims[*].Name field.
|
|
4589
|
+
:param Sequence[_builtins.str] unsuitable_nodes: UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
|
|
4591
4590
|
|
|
4592
4591
|
The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
|
|
4593
4592
|
"""
|
|
@@ -4595,17 +4594,17 @@ class ResourceClaimSchedulingStatus(dict):
|
|
|
4595
4594
|
if unsuitable_nodes is not None:
|
|
4596
4595
|
pulumi.set(__self__, "unsuitable_nodes", unsuitable_nodes)
|
|
4597
4596
|
|
|
4598
|
-
@property
|
|
4597
|
+
@_builtins.property
|
|
4599
4598
|
@pulumi.getter
|
|
4600
|
-
def name(self) ->
|
|
4599
|
+
def name(self) -> _builtins.str:
|
|
4601
4600
|
"""
|
|
4602
4601
|
Name matches the pod.spec.resourceClaims[*].Name field.
|
|
4603
4602
|
"""
|
|
4604
4603
|
return pulumi.get(self, "name")
|
|
4605
4604
|
|
|
4606
|
-
@property
|
|
4605
|
+
@_builtins.property
|
|
4607
4606
|
@pulumi.getter(name="unsuitableNodes")
|
|
4608
|
-
def unsuitable_nodes(self) -> Optional[Sequence[
|
|
4607
|
+
def unsuitable_nodes(self) -> Optional[Sequence[_builtins.str]]:
|
|
4609
4608
|
"""
|
|
4610
4609
|
UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
|
|
4611
4610
|
|
|
@@ -4637,12 +4636,12 @@ class ResourceClaimSchedulingStatusPatch(dict):
|
|
|
4637
4636
|
return super().get(key, default)
|
|
4638
4637
|
|
|
4639
4638
|
def __init__(__self__, *,
|
|
4640
|
-
name: Optional[
|
|
4641
|
-
unsuitable_nodes: Optional[Sequence[
|
|
4639
|
+
name: Optional[_builtins.str] = None,
|
|
4640
|
+
unsuitable_nodes: Optional[Sequence[_builtins.str]] = None):
|
|
4642
4641
|
"""
|
|
4643
4642
|
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
|
|
4644
|
-
:param
|
|
4645
|
-
:param Sequence[
|
|
4643
|
+
:param _builtins.str name: Name matches the pod.spec.resourceClaims[*].Name field.
|
|
4644
|
+
:param Sequence[_builtins.str] unsuitable_nodes: UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
|
|
4646
4645
|
|
|
4647
4646
|
The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
|
|
4648
4647
|
"""
|
|
@@ -4651,17 +4650,17 @@ class ResourceClaimSchedulingStatusPatch(dict):
|
|
|
4651
4650
|
if unsuitable_nodes is not None:
|
|
4652
4651
|
pulumi.set(__self__, "unsuitable_nodes", unsuitable_nodes)
|
|
4653
4652
|
|
|
4654
|
-
@property
|
|
4653
|
+
@_builtins.property
|
|
4655
4654
|
@pulumi.getter
|
|
4656
|
-
def name(self) -> Optional[
|
|
4655
|
+
def name(self) -> Optional[_builtins.str]:
|
|
4657
4656
|
"""
|
|
4658
4657
|
Name matches the pod.spec.resourceClaims[*].Name field.
|
|
4659
4658
|
"""
|
|
4660
4659
|
return pulumi.get(self, "name")
|
|
4661
4660
|
|
|
4662
|
-
@property
|
|
4661
|
+
@_builtins.property
|
|
4663
4662
|
@pulumi.getter(name="unsuitableNodes")
|
|
4664
|
-
def unsuitable_nodes(self) -> Optional[Sequence[
|
|
4663
|
+
def unsuitable_nodes(self) -> Optional[Sequence[_builtins.str]]:
|
|
4665
4664
|
"""
|
|
4666
4665
|
UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
|
|
4667
4666
|
|
|
@@ -4676,11 +4675,11 @@ class ResourceClaimSpec(dict):
|
|
|
4676
4675
|
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
|
|
4677
4676
|
"""
|
|
4678
4677
|
def __init__(__self__, *,
|
|
4679
|
-
controller: Optional[
|
|
4678
|
+
controller: Optional[_builtins.str] = None,
|
|
4680
4679
|
devices: Optional['outputs.DeviceClaim'] = None):
|
|
4681
4680
|
"""
|
|
4682
4681
|
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
|
|
4683
|
-
:param
|
|
4682
|
+
:param _builtins.str controller: Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
|
|
4684
4683
|
|
|
4685
4684
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
4686
4685
|
|
|
@@ -4692,9 +4691,9 @@ class ResourceClaimSpec(dict):
|
|
|
4692
4691
|
if devices is not None:
|
|
4693
4692
|
pulumi.set(__self__, "devices", devices)
|
|
4694
4693
|
|
|
4695
|
-
@property
|
|
4694
|
+
@_builtins.property
|
|
4696
4695
|
@pulumi.getter
|
|
4697
|
-
def controller(self) -> Optional[
|
|
4696
|
+
def controller(self) -> Optional[_builtins.str]:
|
|
4698
4697
|
"""
|
|
4699
4698
|
Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
|
|
4700
4699
|
|
|
@@ -4704,7 +4703,7 @@ class ResourceClaimSpec(dict):
|
|
|
4704
4703
|
"""
|
|
4705
4704
|
return pulumi.get(self, "controller")
|
|
4706
4705
|
|
|
4707
|
-
@property
|
|
4706
|
+
@_builtins.property
|
|
4708
4707
|
@pulumi.getter
|
|
4709
4708
|
def devices(self) -> Optional['outputs.DeviceClaim']:
|
|
4710
4709
|
"""
|
|
@@ -4719,11 +4718,11 @@ class ResourceClaimSpecPatch(dict):
|
|
|
4719
4718
|
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
|
|
4720
4719
|
"""
|
|
4721
4720
|
def __init__(__self__, *,
|
|
4722
|
-
controller: Optional[
|
|
4721
|
+
controller: Optional[_builtins.str] = None,
|
|
4723
4722
|
devices: Optional['outputs.DeviceClaimPatch'] = None):
|
|
4724
4723
|
"""
|
|
4725
4724
|
ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.
|
|
4726
|
-
:param
|
|
4725
|
+
:param _builtins.str controller: Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
|
|
4727
4726
|
|
|
4728
4727
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
|
|
4729
4728
|
|
|
@@ -4735,9 +4734,9 @@ class ResourceClaimSpecPatch(dict):
|
|
|
4735
4734
|
if devices is not None:
|
|
4736
4735
|
pulumi.set(__self__, "devices", devices)
|
|
4737
4736
|
|
|
4738
|
-
@property
|
|
4737
|
+
@_builtins.property
|
|
4739
4738
|
@pulumi.getter
|
|
4740
|
-
def controller(self) -> Optional[
|
|
4739
|
+
def controller(self) -> Optional[_builtins.str]:
|
|
4741
4740
|
"""
|
|
4742
4741
|
Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.
|
|
4743
4742
|
|
|
@@ -4747,7 +4746,7 @@ class ResourceClaimSpecPatch(dict):
|
|
|
4747
4746
|
"""
|
|
4748
4747
|
return pulumi.get(self, "controller")
|
|
4749
4748
|
|
|
4750
|
-
@property
|
|
4749
|
+
@_builtins.property
|
|
4751
4750
|
@pulumi.getter
|
|
4752
4751
|
def devices(self) -> Optional['outputs.DeviceClaimPatch']:
|
|
4753
4752
|
"""
|
|
@@ -4782,13 +4781,13 @@ class ResourceClaimStatus(dict):
|
|
|
4782
4781
|
|
|
4783
4782
|
def __init__(__self__, *,
|
|
4784
4783
|
allocation: Optional['outputs.AllocationResult'] = None,
|
|
4785
|
-
deallocation_requested: Optional[
|
|
4784
|
+
deallocation_requested: Optional[_builtins.bool] = None,
|
|
4786
4785
|
devices: Optional[Sequence['outputs.AllocatedDeviceStatus']] = None,
|
|
4787
4786
|
reserved_for: Optional[Sequence['outputs.ResourceClaimConsumerReference']] = None):
|
|
4788
4787
|
"""
|
|
4789
4788
|
ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.
|
|
4790
4789
|
:param 'AllocationResultArgs' allocation: Allocation is set once the claim has been allocated successfully.
|
|
4791
|
-
:param
|
|
4790
|
+
:param _builtins.bool deallocation_requested: Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
|
|
4792
4791
|
|
|
4793
4792
|
This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
|
|
4794
4793
|
|
|
@@ -4811,7 +4810,7 @@ class ResourceClaimStatus(dict):
|
|
|
4811
4810
|
if reserved_for is not None:
|
|
4812
4811
|
pulumi.set(__self__, "reserved_for", reserved_for)
|
|
4813
4812
|
|
|
4814
|
-
@property
|
|
4813
|
+
@_builtins.property
|
|
4815
4814
|
@pulumi.getter
|
|
4816
4815
|
def allocation(self) -> Optional['outputs.AllocationResult']:
|
|
4817
4816
|
"""
|
|
@@ -4819,9 +4818,9 @@ class ResourceClaimStatus(dict):
|
|
|
4819
4818
|
"""
|
|
4820
4819
|
return pulumi.get(self, "allocation")
|
|
4821
4820
|
|
|
4822
|
-
@property
|
|
4821
|
+
@_builtins.property
|
|
4823
4822
|
@pulumi.getter(name="deallocationRequested")
|
|
4824
|
-
def deallocation_requested(self) -> Optional[
|
|
4823
|
+
def deallocation_requested(self) -> Optional[_builtins.bool]:
|
|
4825
4824
|
"""
|
|
4826
4825
|
Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
|
|
4827
4826
|
|
|
@@ -4831,7 +4830,7 @@ class ResourceClaimStatus(dict):
|
|
|
4831
4830
|
"""
|
|
4832
4831
|
return pulumi.get(self, "deallocation_requested")
|
|
4833
4832
|
|
|
4834
|
-
@property
|
|
4833
|
+
@_builtins.property
|
|
4835
4834
|
@pulumi.getter
|
|
4836
4835
|
def devices(self) -> Optional[Sequence['outputs.AllocatedDeviceStatus']]:
|
|
4837
4836
|
"""
|
|
@@ -4839,7 +4838,7 @@ class ResourceClaimStatus(dict):
|
|
|
4839
4838
|
"""
|
|
4840
4839
|
return pulumi.get(self, "devices")
|
|
4841
4840
|
|
|
4842
|
-
@property
|
|
4841
|
+
@_builtins.property
|
|
4843
4842
|
@pulumi.getter(name="reservedFor")
|
|
4844
4843
|
def reserved_for(self) -> Optional[Sequence['outputs.ResourceClaimConsumerReference']]:
|
|
4845
4844
|
"""
|
|
@@ -4880,13 +4879,13 @@ class ResourceClaimStatusPatch(dict):
|
|
|
4880
4879
|
|
|
4881
4880
|
def __init__(__self__, *,
|
|
4882
4881
|
allocation: Optional['outputs.AllocationResultPatch'] = None,
|
|
4883
|
-
deallocation_requested: Optional[
|
|
4882
|
+
deallocation_requested: Optional[_builtins.bool] = None,
|
|
4884
4883
|
devices: Optional[Sequence['outputs.AllocatedDeviceStatusPatch']] = None,
|
|
4885
4884
|
reserved_for: Optional[Sequence['outputs.ResourceClaimConsumerReferencePatch']] = None):
|
|
4886
4885
|
"""
|
|
4887
4886
|
ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.
|
|
4888
4887
|
:param 'AllocationResultPatchArgs' allocation: Allocation is set once the claim has been allocated successfully.
|
|
4889
|
-
:param
|
|
4888
|
+
:param _builtins.bool deallocation_requested: Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
|
|
4890
4889
|
|
|
4891
4890
|
This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.
|
|
4892
4891
|
|
|
@@ -4909,7 +4908,7 @@ class ResourceClaimStatusPatch(dict):
|
|
|
4909
4908
|
if reserved_for is not None:
|
|
4910
4909
|
pulumi.set(__self__, "reserved_for", reserved_for)
|
|
4911
4910
|
|
|
4912
|
-
@property
|
|
4911
|
+
@_builtins.property
|
|
4913
4912
|
@pulumi.getter
|
|
4914
4913
|
def allocation(self) -> Optional['outputs.AllocationResultPatch']:
|
|
4915
4914
|
"""
|
|
@@ -4917,9 +4916,9 @@ class ResourceClaimStatusPatch(dict):
|
|
|
4917
4916
|
"""
|
|
4918
4917
|
return pulumi.get(self, "allocation")
|
|
4919
4918
|
|
|
4920
|
-
@property
|
|
4919
|
+
@_builtins.property
|
|
4921
4920
|
@pulumi.getter(name="deallocationRequested")
|
|
4922
|
-
def deallocation_requested(self) -> Optional[
|
|
4921
|
+
def deallocation_requested(self) -> Optional[_builtins.bool]:
|
|
4923
4922
|
"""
|
|
4924
4923
|
Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.
|
|
4925
4924
|
|
|
@@ -4929,7 +4928,7 @@ class ResourceClaimStatusPatch(dict):
|
|
|
4929
4928
|
"""
|
|
4930
4929
|
return pulumi.get(self, "deallocation_requested")
|
|
4931
4930
|
|
|
4932
|
-
@property
|
|
4931
|
+
@_builtins.property
|
|
4933
4932
|
@pulumi.getter
|
|
4934
4933
|
def devices(self) -> Optional[Sequence['outputs.AllocatedDeviceStatusPatch']]:
|
|
4935
4934
|
"""
|
|
@@ -4937,7 +4936,7 @@ class ResourceClaimStatusPatch(dict):
|
|
|
4937
4936
|
"""
|
|
4938
4937
|
return pulumi.get(self, "devices")
|
|
4939
4938
|
|
|
4940
|
-
@property
|
|
4939
|
+
@_builtins.property
|
|
4941
4940
|
@pulumi.getter(name="reservedFor")
|
|
4942
4941
|
def reserved_for(self) -> Optional[Sequence['outputs.ResourceClaimConsumerReferencePatch']]:
|
|
4943
4942
|
"""
|
|
@@ -4978,8 +4977,8 @@ class ResourceClaimTemplate(dict):
|
|
|
4978
4977
|
|
|
4979
4978
|
def __init__(__self__, *,
|
|
4980
4979
|
spec: 'outputs.ResourceClaimTemplateSpec',
|
|
4981
|
-
api_version: Optional[
|
|
4982
|
-
kind: Optional[
|
|
4980
|
+
api_version: Optional[_builtins.str] = None,
|
|
4981
|
+
kind: Optional[_builtins.str] = None,
|
|
4983
4982
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
4984
4983
|
"""
|
|
4985
4984
|
ResourceClaimTemplate is used to produce ResourceClaim objects.
|
|
@@ -4988,8 +4987,8 @@ class ResourceClaimTemplate(dict):
|
|
|
4988
4987
|
:param 'ResourceClaimTemplateSpecArgs' spec: Describes the ResourceClaim that is to be generated.
|
|
4989
4988
|
|
|
4990
4989
|
This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
|
|
4991
|
-
:param
|
|
4992
|
-
:param
|
|
4990
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4991
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4993
4992
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata
|
|
4994
4993
|
"""
|
|
4995
4994
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -5000,7 +4999,7 @@ class ResourceClaimTemplate(dict):
|
|
|
5000
4999
|
if metadata is not None:
|
|
5001
5000
|
pulumi.set(__self__, "metadata", metadata)
|
|
5002
5001
|
|
|
5003
|
-
@property
|
|
5002
|
+
@_builtins.property
|
|
5004
5003
|
@pulumi.getter
|
|
5005
5004
|
def spec(self) -> 'outputs.ResourceClaimTemplateSpec':
|
|
5006
5005
|
"""
|
|
@@ -5010,23 +5009,23 @@ class ResourceClaimTemplate(dict):
|
|
|
5010
5009
|
"""
|
|
5011
5010
|
return pulumi.get(self, "spec")
|
|
5012
5011
|
|
|
5013
|
-
@property
|
|
5012
|
+
@_builtins.property
|
|
5014
5013
|
@pulumi.getter(name="apiVersion")
|
|
5015
|
-
def api_version(self) -> Optional[
|
|
5014
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
5016
5015
|
"""
|
|
5017
5016
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
5018
5017
|
"""
|
|
5019
5018
|
return pulumi.get(self, "api_version")
|
|
5020
5019
|
|
|
5021
|
-
@property
|
|
5020
|
+
@_builtins.property
|
|
5022
5021
|
@pulumi.getter
|
|
5023
|
-
def kind(self) -> Optional[
|
|
5022
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
5024
5023
|
"""
|
|
5025
5024
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
5026
5025
|
"""
|
|
5027
5026
|
return pulumi.get(self, "kind")
|
|
5028
5027
|
|
|
5029
|
-
@property
|
|
5028
|
+
@_builtins.property
|
|
5030
5029
|
@pulumi.getter
|
|
5031
5030
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
5032
5031
|
"""
|
|
@@ -5052,7 +5051,7 @@ class ResourceClaimTemplateSpec(dict):
|
|
|
5052
5051
|
if metadata is not None:
|
|
5053
5052
|
pulumi.set(__self__, "metadata", metadata)
|
|
5054
5053
|
|
|
5055
|
-
@property
|
|
5054
|
+
@_builtins.property
|
|
5056
5055
|
@pulumi.getter
|
|
5057
5056
|
def spec(self) -> 'outputs.ResourceClaimSpec':
|
|
5058
5057
|
"""
|
|
@@ -5060,7 +5059,7 @@ class ResourceClaimTemplateSpec(dict):
|
|
|
5060
5059
|
"""
|
|
5061
5060
|
return pulumi.get(self, "spec")
|
|
5062
5061
|
|
|
5063
|
-
@property
|
|
5062
|
+
@_builtins.property
|
|
5064
5063
|
@pulumi.getter
|
|
5065
5064
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
5066
5065
|
"""
|
|
@@ -5087,7 +5086,7 @@ class ResourceClaimTemplateSpecPatch(dict):
|
|
|
5087
5086
|
if spec is not None:
|
|
5088
5087
|
pulumi.set(__self__, "spec", spec)
|
|
5089
5088
|
|
|
5090
|
-
@property
|
|
5089
|
+
@_builtins.property
|
|
5091
5090
|
@pulumi.getter
|
|
5092
5091
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMetaPatch']:
|
|
5093
5092
|
"""
|
|
@@ -5095,7 +5094,7 @@ class ResourceClaimTemplateSpecPatch(dict):
|
|
|
5095
5094
|
"""
|
|
5096
5095
|
return pulumi.get(self, "metadata")
|
|
5097
5096
|
|
|
5098
|
-
@property
|
|
5097
|
+
@_builtins.property
|
|
5099
5098
|
@pulumi.getter
|
|
5100
5099
|
def spec(self) -> Optional['outputs.ResourceClaimSpecPatch']:
|
|
5101
5100
|
"""
|
|
@@ -5127,18 +5126,18 @@ class ResourcePool(dict):
|
|
|
5127
5126
|
return super().get(key, default)
|
|
5128
5127
|
|
|
5129
5128
|
def __init__(__self__, *,
|
|
5130
|
-
generation:
|
|
5131
|
-
name:
|
|
5132
|
-
resource_slice_count:
|
|
5129
|
+
generation: _builtins.int,
|
|
5130
|
+
name: _builtins.str,
|
|
5131
|
+
resource_slice_count: _builtins.int):
|
|
5133
5132
|
"""
|
|
5134
5133
|
ResourcePool describes the pool that ResourceSlices belong to.
|
|
5135
|
-
:param
|
|
5134
|
+
:param _builtins.int generation: Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5136
5135
|
|
|
5137
5136
|
Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
|
|
5138
|
-
:param
|
|
5137
|
+
:param _builtins.str name: Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5139
5138
|
|
|
5140
5139
|
It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
|
|
5141
|
-
:param
|
|
5140
|
+
:param _builtins.int resource_slice_count: ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5142
5141
|
|
|
5143
5142
|
Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
|
|
5144
5143
|
"""
|
|
@@ -5146,9 +5145,9 @@ class ResourcePool(dict):
|
|
|
5146
5145
|
pulumi.set(__self__, "name", name)
|
|
5147
5146
|
pulumi.set(__self__, "resource_slice_count", resource_slice_count)
|
|
5148
5147
|
|
|
5149
|
-
@property
|
|
5148
|
+
@_builtins.property
|
|
5150
5149
|
@pulumi.getter
|
|
5151
|
-
def generation(self) ->
|
|
5150
|
+
def generation(self) -> _builtins.int:
|
|
5152
5151
|
"""
|
|
5153
5152
|
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5154
5153
|
|
|
@@ -5156,9 +5155,9 @@ class ResourcePool(dict):
|
|
|
5156
5155
|
"""
|
|
5157
5156
|
return pulumi.get(self, "generation")
|
|
5158
5157
|
|
|
5159
|
-
@property
|
|
5158
|
+
@_builtins.property
|
|
5160
5159
|
@pulumi.getter
|
|
5161
|
-
def name(self) ->
|
|
5160
|
+
def name(self) -> _builtins.str:
|
|
5162
5161
|
"""
|
|
5163
5162
|
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5164
5163
|
|
|
@@ -5166,9 +5165,9 @@ class ResourcePool(dict):
|
|
|
5166
5165
|
"""
|
|
5167
5166
|
return pulumi.get(self, "name")
|
|
5168
5167
|
|
|
5169
|
-
@property
|
|
5168
|
+
@_builtins.property
|
|
5170
5169
|
@pulumi.getter(name="resourceSliceCount")
|
|
5171
|
-
def resource_slice_count(self) ->
|
|
5170
|
+
def resource_slice_count(self) -> _builtins.int:
|
|
5172
5171
|
"""
|
|
5173
5172
|
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5174
5173
|
|
|
@@ -5200,18 +5199,18 @@ class ResourcePoolPatch(dict):
|
|
|
5200
5199
|
return super().get(key, default)
|
|
5201
5200
|
|
|
5202
5201
|
def __init__(__self__, *,
|
|
5203
|
-
generation: Optional[
|
|
5204
|
-
name: Optional[
|
|
5205
|
-
resource_slice_count: Optional[
|
|
5202
|
+
generation: Optional[_builtins.int] = None,
|
|
5203
|
+
name: Optional[_builtins.str] = None,
|
|
5204
|
+
resource_slice_count: Optional[_builtins.int] = None):
|
|
5206
5205
|
"""
|
|
5207
5206
|
ResourcePool describes the pool that ResourceSlices belong to.
|
|
5208
|
-
:param
|
|
5207
|
+
:param _builtins.int generation: Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5209
5208
|
|
|
5210
5209
|
Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.
|
|
5211
|
-
:param
|
|
5210
|
+
:param _builtins.str name: Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5212
5211
|
|
|
5213
5212
|
It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.
|
|
5214
|
-
:param
|
|
5213
|
+
:param _builtins.int resource_slice_count: ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5215
5214
|
|
|
5216
5215
|
Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.
|
|
5217
5216
|
"""
|
|
@@ -5222,9 +5221,9 @@ class ResourcePoolPatch(dict):
|
|
|
5222
5221
|
if resource_slice_count is not None:
|
|
5223
5222
|
pulumi.set(__self__, "resource_slice_count", resource_slice_count)
|
|
5224
5223
|
|
|
5225
|
-
@property
|
|
5224
|
+
@_builtins.property
|
|
5226
5225
|
@pulumi.getter
|
|
5227
|
-
def generation(self) -> Optional[
|
|
5226
|
+
def generation(self) -> Optional[_builtins.int]:
|
|
5228
5227
|
"""
|
|
5229
5228
|
Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.
|
|
5230
5229
|
|
|
@@ -5232,9 +5231,9 @@ class ResourcePoolPatch(dict):
|
|
|
5232
5231
|
"""
|
|
5233
5232
|
return pulumi.get(self, "generation")
|
|
5234
5233
|
|
|
5235
|
-
@property
|
|
5234
|
+
@_builtins.property
|
|
5236
5235
|
@pulumi.getter
|
|
5237
|
-
def name(self) -> Optional[
|
|
5236
|
+
def name(self) -> Optional[_builtins.str]:
|
|
5238
5237
|
"""
|
|
5239
5238
|
Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.
|
|
5240
5239
|
|
|
@@ -5242,9 +5241,9 @@ class ResourcePoolPatch(dict):
|
|
|
5242
5241
|
"""
|
|
5243
5242
|
return pulumi.get(self, "name")
|
|
5244
5243
|
|
|
5245
|
-
@property
|
|
5244
|
+
@_builtins.property
|
|
5246
5245
|
@pulumi.getter(name="resourceSliceCount")
|
|
5247
|
-
def resource_slice_count(self) -> Optional[
|
|
5246
|
+
def resource_slice_count(self) -> Optional[_builtins.int]:
|
|
5248
5247
|
"""
|
|
5249
5248
|
ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.
|
|
5250
5249
|
|
|
@@ -5287,8 +5286,8 @@ class ResourceSlice(dict):
|
|
|
5287
5286
|
|
|
5288
5287
|
def __init__(__self__, *,
|
|
5289
5288
|
spec: 'outputs.ResourceSliceSpec',
|
|
5290
|
-
api_version: Optional[
|
|
5291
|
-
kind: Optional[
|
|
5289
|
+
api_version: Optional[_builtins.str] = None,
|
|
5290
|
+
kind: Optional[_builtins.str] = None,
|
|
5292
5291
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
5293
5292
|
"""
|
|
5294
5293
|
ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.
|
|
@@ -5305,8 +5304,8 @@ class ResourceSlice(dict):
|
|
|
5305
5304
|
:param 'ResourceSliceSpecArgs' spec: Contains the information published by the driver.
|
|
5306
5305
|
|
|
5307
5306
|
Changing the spec automatically increments the metadata.generation number.
|
|
5308
|
-
:param
|
|
5309
|
-
:param
|
|
5307
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
5308
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
5310
5309
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata
|
|
5311
5310
|
"""
|
|
5312
5311
|
pulumi.set(__self__, "spec", spec)
|
|
@@ -5317,7 +5316,7 @@ class ResourceSlice(dict):
|
|
|
5317
5316
|
if metadata is not None:
|
|
5318
5317
|
pulumi.set(__self__, "metadata", metadata)
|
|
5319
5318
|
|
|
5320
|
-
@property
|
|
5319
|
+
@_builtins.property
|
|
5321
5320
|
@pulumi.getter
|
|
5322
5321
|
def spec(self) -> 'outputs.ResourceSliceSpec':
|
|
5323
5322
|
"""
|
|
@@ -5327,23 +5326,23 @@ class ResourceSlice(dict):
|
|
|
5327
5326
|
"""
|
|
5328
5327
|
return pulumi.get(self, "spec")
|
|
5329
5328
|
|
|
5330
|
-
@property
|
|
5329
|
+
@_builtins.property
|
|
5331
5330
|
@pulumi.getter(name="apiVersion")
|
|
5332
|
-
def api_version(self) -> Optional[
|
|
5331
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
5333
5332
|
"""
|
|
5334
5333
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
5335
5334
|
"""
|
|
5336
5335
|
return pulumi.get(self, "api_version")
|
|
5337
5336
|
|
|
5338
|
-
@property
|
|
5337
|
+
@_builtins.property
|
|
5339
5338
|
@pulumi.getter
|
|
5340
|
-
def kind(self) -> Optional[
|
|
5339
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
5341
5340
|
"""
|
|
5342
5341
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
5343
5342
|
"""
|
|
5344
5343
|
return pulumi.get(self, "kind")
|
|
5345
5344
|
|
|
5346
|
-
@property
|
|
5345
|
+
@_builtins.property
|
|
5347
5346
|
@pulumi.getter
|
|
5348
5347
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
5349
5348
|
"""
|
|
@@ -5383,27 +5382,27 @@ class ResourceSliceSpec(dict):
|
|
|
5383
5382
|
return super().get(key, default)
|
|
5384
5383
|
|
|
5385
5384
|
def __init__(__self__, *,
|
|
5386
|
-
driver:
|
|
5385
|
+
driver: _builtins.str,
|
|
5387
5386
|
pool: 'outputs.ResourcePool',
|
|
5388
|
-
all_nodes: Optional[
|
|
5387
|
+
all_nodes: Optional[_builtins.bool] = None,
|
|
5389
5388
|
devices: Optional[Sequence['outputs.Device']] = None,
|
|
5390
|
-
node_name: Optional[
|
|
5389
|
+
node_name: Optional[_builtins.str] = None,
|
|
5391
5390
|
node_selector: Optional['_core.v1.outputs.NodeSelector'] = None,
|
|
5392
|
-
per_device_node_selection: Optional[
|
|
5391
|
+
per_device_node_selection: Optional[_builtins.bool] = None,
|
|
5393
5392
|
shared_counters: Optional[Sequence['outputs.CounterSet']] = None):
|
|
5394
5393
|
"""
|
|
5395
5394
|
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
|
|
5396
|
-
:param
|
|
5395
|
+
:param _builtins.str driver: Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5397
5396
|
|
|
5398
5397
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
|
|
5399
5398
|
:param 'ResourcePoolArgs' pool: Pool describes the pool that this ResourceSlice belongs to.
|
|
5400
|
-
:param
|
|
5399
|
+
:param _builtins.bool all_nodes: AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5401
5400
|
|
|
5402
5401
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5403
5402
|
:param Sequence['DeviceArgs'] devices: Devices lists some or all of the devices in this pool.
|
|
5404
5403
|
|
|
5405
5404
|
Must not have more than 128 entries.
|
|
5406
|
-
:param
|
|
5405
|
+
:param _builtins.str node_name: NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5407
5406
|
|
|
5408
5407
|
This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
|
|
5409
5408
|
|
|
@@ -5413,7 +5412,7 @@ class ResourceSliceSpec(dict):
|
|
|
5413
5412
|
Must use exactly one term.
|
|
5414
5413
|
|
|
5415
5414
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5416
|
-
:param
|
|
5415
|
+
:param _builtins.bool per_device_node_selection: PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5417
5416
|
|
|
5418
5417
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5419
5418
|
:param Sequence['CounterSetArgs'] shared_counters: SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.
|
|
@@ -5437,9 +5436,9 @@ class ResourceSliceSpec(dict):
|
|
|
5437
5436
|
if shared_counters is not None:
|
|
5438
5437
|
pulumi.set(__self__, "shared_counters", shared_counters)
|
|
5439
5438
|
|
|
5440
|
-
@property
|
|
5439
|
+
@_builtins.property
|
|
5441
5440
|
@pulumi.getter
|
|
5442
|
-
def driver(self) ->
|
|
5441
|
+
def driver(self) -> _builtins.str:
|
|
5443
5442
|
"""
|
|
5444
5443
|
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5445
5444
|
|
|
@@ -5447,7 +5446,7 @@ class ResourceSliceSpec(dict):
|
|
|
5447
5446
|
"""
|
|
5448
5447
|
return pulumi.get(self, "driver")
|
|
5449
5448
|
|
|
5450
|
-
@property
|
|
5449
|
+
@_builtins.property
|
|
5451
5450
|
@pulumi.getter
|
|
5452
5451
|
def pool(self) -> 'outputs.ResourcePool':
|
|
5453
5452
|
"""
|
|
@@ -5455,9 +5454,9 @@ class ResourceSliceSpec(dict):
|
|
|
5455
5454
|
"""
|
|
5456
5455
|
return pulumi.get(self, "pool")
|
|
5457
5456
|
|
|
5458
|
-
@property
|
|
5457
|
+
@_builtins.property
|
|
5459
5458
|
@pulumi.getter(name="allNodes")
|
|
5460
|
-
def all_nodes(self) -> Optional[
|
|
5459
|
+
def all_nodes(self) -> Optional[_builtins.bool]:
|
|
5461
5460
|
"""
|
|
5462
5461
|
AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5463
5462
|
|
|
@@ -5465,7 +5464,7 @@ class ResourceSliceSpec(dict):
|
|
|
5465
5464
|
"""
|
|
5466
5465
|
return pulumi.get(self, "all_nodes")
|
|
5467
5466
|
|
|
5468
|
-
@property
|
|
5467
|
+
@_builtins.property
|
|
5469
5468
|
@pulumi.getter
|
|
5470
5469
|
def devices(self) -> Optional[Sequence['outputs.Device']]:
|
|
5471
5470
|
"""
|
|
@@ -5475,9 +5474,9 @@ class ResourceSliceSpec(dict):
|
|
|
5475
5474
|
"""
|
|
5476
5475
|
return pulumi.get(self, "devices")
|
|
5477
5476
|
|
|
5478
|
-
@property
|
|
5477
|
+
@_builtins.property
|
|
5479
5478
|
@pulumi.getter(name="nodeName")
|
|
5480
|
-
def node_name(self) -> Optional[
|
|
5479
|
+
def node_name(self) -> Optional[_builtins.str]:
|
|
5481
5480
|
"""
|
|
5482
5481
|
NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5483
5482
|
|
|
@@ -5487,7 +5486,7 @@ class ResourceSliceSpec(dict):
|
|
|
5487
5486
|
"""
|
|
5488
5487
|
return pulumi.get(self, "node_name")
|
|
5489
5488
|
|
|
5490
|
-
@property
|
|
5489
|
+
@_builtins.property
|
|
5491
5490
|
@pulumi.getter(name="nodeSelector")
|
|
5492
5491
|
def node_selector(self) -> Optional['_core.v1.outputs.NodeSelector']:
|
|
5493
5492
|
"""
|
|
@@ -5499,9 +5498,9 @@ class ResourceSliceSpec(dict):
|
|
|
5499
5498
|
"""
|
|
5500
5499
|
return pulumi.get(self, "node_selector")
|
|
5501
5500
|
|
|
5502
|
-
@property
|
|
5501
|
+
@_builtins.property
|
|
5503
5502
|
@pulumi.getter(name="perDeviceNodeSelection")
|
|
5504
|
-
def per_device_node_selection(self) -> Optional[
|
|
5503
|
+
def per_device_node_selection(self) -> Optional[_builtins.bool]:
|
|
5505
5504
|
"""
|
|
5506
5505
|
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5507
5506
|
|
|
@@ -5509,7 +5508,7 @@ class ResourceSliceSpec(dict):
|
|
|
5509
5508
|
"""
|
|
5510
5509
|
return pulumi.get(self, "per_device_node_selection")
|
|
5511
5510
|
|
|
5512
|
-
@property
|
|
5511
|
+
@_builtins.property
|
|
5513
5512
|
@pulumi.getter(name="sharedCounters")
|
|
5514
5513
|
def shared_counters(self) -> Optional[Sequence['outputs.CounterSet']]:
|
|
5515
5514
|
"""
|
|
@@ -5553,26 +5552,26 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5553
5552
|
return super().get(key, default)
|
|
5554
5553
|
|
|
5555
5554
|
def __init__(__self__, *,
|
|
5556
|
-
all_nodes: Optional[
|
|
5555
|
+
all_nodes: Optional[_builtins.bool] = None,
|
|
5557
5556
|
devices: Optional[Sequence['outputs.DevicePatch']] = None,
|
|
5558
|
-
driver: Optional[
|
|
5559
|
-
node_name: Optional[
|
|
5557
|
+
driver: Optional[_builtins.str] = None,
|
|
5558
|
+
node_name: Optional[_builtins.str] = None,
|
|
5560
5559
|
node_selector: Optional['_core.v1.outputs.NodeSelectorPatch'] = None,
|
|
5561
|
-
per_device_node_selection: Optional[
|
|
5560
|
+
per_device_node_selection: Optional[_builtins.bool] = None,
|
|
5562
5561
|
pool: Optional['outputs.ResourcePoolPatch'] = None,
|
|
5563
5562
|
shared_counters: Optional[Sequence['outputs.CounterSetPatch']] = None):
|
|
5564
5563
|
"""
|
|
5565
5564
|
ResourceSliceSpec contains the information published by the driver in one ResourceSlice.
|
|
5566
|
-
:param
|
|
5565
|
+
:param _builtins.bool all_nodes: AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5567
5566
|
|
|
5568
5567
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5569
5568
|
:param Sequence['DevicePatchArgs'] devices: Devices lists some or all of the devices in this pool.
|
|
5570
5569
|
|
|
5571
5570
|
Must not have more than 128 entries.
|
|
5572
|
-
:param
|
|
5571
|
+
:param _builtins.str driver: Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5573
5572
|
|
|
5574
5573
|
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.
|
|
5575
|
-
:param
|
|
5574
|
+
:param _builtins.str node_name: NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5576
5575
|
|
|
5577
5576
|
This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.
|
|
5578
5577
|
|
|
@@ -5582,7 +5581,7 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5582
5581
|
Must use exactly one term.
|
|
5583
5582
|
|
|
5584
5583
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5585
|
-
:param
|
|
5584
|
+
:param _builtins.bool per_device_node_selection: PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5586
5585
|
|
|
5587
5586
|
Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.
|
|
5588
5587
|
:param 'ResourcePoolPatchArgs' pool: Pool describes the pool that this ResourceSlice belongs to.
|
|
@@ -5609,9 +5608,9 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5609
5608
|
if shared_counters is not None:
|
|
5610
5609
|
pulumi.set(__self__, "shared_counters", shared_counters)
|
|
5611
5610
|
|
|
5612
|
-
@property
|
|
5611
|
+
@_builtins.property
|
|
5613
5612
|
@pulumi.getter(name="allNodes")
|
|
5614
|
-
def all_nodes(self) -> Optional[
|
|
5613
|
+
def all_nodes(self) -> Optional[_builtins.bool]:
|
|
5615
5614
|
"""
|
|
5616
5615
|
AllNodes indicates that all nodes have access to the resources in the pool.
|
|
5617
5616
|
|
|
@@ -5619,7 +5618,7 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5619
5618
|
"""
|
|
5620
5619
|
return pulumi.get(self, "all_nodes")
|
|
5621
5620
|
|
|
5622
|
-
@property
|
|
5621
|
+
@_builtins.property
|
|
5623
5622
|
@pulumi.getter
|
|
5624
5623
|
def devices(self) -> Optional[Sequence['outputs.DevicePatch']]:
|
|
5625
5624
|
"""
|
|
@@ -5629,9 +5628,9 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5629
5628
|
"""
|
|
5630
5629
|
return pulumi.get(self, "devices")
|
|
5631
5630
|
|
|
5632
|
-
@property
|
|
5631
|
+
@_builtins.property
|
|
5633
5632
|
@pulumi.getter
|
|
5634
|
-
def driver(self) -> Optional[
|
|
5633
|
+
def driver(self) -> Optional[_builtins.str]:
|
|
5635
5634
|
"""
|
|
5636
5635
|
Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
|
|
5637
5636
|
|
|
@@ -5639,9 +5638,9 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5639
5638
|
"""
|
|
5640
5639
|
return pulumi.get(self, "driver")
|
|
5641
5640
|
|
|
5642
|
-
@property
|
|
5641
|
+
@_builtins.property
|
|
5643
5642
|
@pulumi.getter(name="nodeName")
|
|
5644
|
-
def node_name(self) -> Optional[
|
|
5643
|
+
def node_name(self) -> Optional[_builtins.str]:
|
|
5645
5644
|
"""
|
|
5646
5645
|
NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.
|
|
5647
5646
|
|
|
@@ -5651,7 +5650,7 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5651
5650
|
"""
|
|
5652
5651
|
return pulumi.get(self, "node_name")
|
|
5653
5652
|
|
|
5654
|
-
@property
|
|
5653
|
+
@_builtins.property
|
|
5655
5654
|
@pulumi.getter(name="nodeSelector")
|
|
5656
5655
|
def node_selector(self) -> Optional['_core.v1.outputs.NodeSelectorPatch']:
|
|
5657
5656
|
"""
|
|
@@ -5663,9 +5662,9 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5663
5662
|
"""
|
|
5664
5663
|
return pulumi.get(self, "node_selector")
|
|
5665
5664
|
|
|
5666
|
-
@property
|
|
5665
|
+
@_builtins.property
|
|
5667
5666
|
@pulumi.getter(name="perDeviceNodeSelection")
|
|
5668
|
-
def per_device_node_selection(self) -> Optional[
|
|
5667
|
+
def per_device_node_selection(self) -> Optional[_builtins.bool]:
|
|
5669
5668
|
"""
|
|
5670
5669
|
PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.
|
|
5671
5670
|
|
|
@@ -5673,7 +5672,7 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5673
5672
|
"""
|
|
5674
5673
|
return pulumi.get(self, "per_device_node_selection")
|
|
5675
5674
|
|
|
5676
|
-
@property
|
|
5675
|
+
@_builtins.property
|
|
5677
5676
|
@pulumi.getter
|
|
5678
5677
|
def pool(self) -> Optional['outputs.ResourcePoolPatch']:
|
|
5679
5678
|
"""
|
|
@@ -5681,7 +5680,7 @@ class ResourceSliceSpecPatch(dict):
|
|
|
5681
5680
|
"""
|
|
5682
5681
|
return pulumi.get(self, "pool")
|
|
5683
5682
|
|
|
5684
|
-
@property
|
|
5683
|
+
@_builtins.property
|
|
5685
5684
|
@pulumi.getter(name="sharedCounters")
|
|
5686
5685
|
def shared_counters(self) -> Optional[Sequence['outputs.CounterSetPatch']]:
|
|
5687
5686
|
"""
|