|
4825 | 4825 | "type": "integer" |
4826 | 4826 | }, |
4827 | 4827 | "backoffLimitPerIndex": { |
4828 | | - "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", |
| 4828 | + "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.", |
4829 | 4829 | "format": "int32", |
4830 | 4830 | "type": "integer" |
4831 | 4831 | }, |
|
4847 | 4847 | "type": "boolean" |
4848 | 4848 | }, |
4849 | 4849 | "maxFailedIndexes": { |
4850 | | - "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", |
| 4850 | + "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.", |
4851 | 4851 | "format": "int32", |
4852 | 4852 | "type": "integer" |
4853 | 4853 | }, |
|
4923 | 4923 | "type": "integer" |
4924 | 4924 | }, |
4925 | 4925 | "failedIndexes": { |
4926 | | - "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", |
| 4926 | + "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.", |
4927 | 4927 | "type": "string" |
4928 | 4928 | }, |
4929 | 4929 | "ready": { |
|
5032 | 5032 | "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.", |
5033 | 5033 | "properties": { |
5034 | 5034 | "action": { |
5035 | | - "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", |
| 5035 | + "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", |
5036 | 5036 | "type": "string" |
5037 | 5037 | }, |
5038 | 5038 | "onExitCodes": { |
|
5599 | 5599 | ], |
5600 | 5600 | "type": "object" |
5601 | 5601 | }, |
| 5602 | + "io.k8s.api.coordination.v1beta1.LeaseCandidate": { |
| 5603 | + "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.", |
| 5604 | + "properties": { |
| 5605 | + "apiVersion": { |
| 5606 | + "description": "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", |
| 5607 | + "type": "string" |
| 5608 | + }, |
| 5609 | + "kind": { |
| 5610 | + "description": "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", |
| 5611 | + "type": "string", |
| 5612 | + "enum": [ |
| 5613 | + "LeaseCandidate" |
| 5614 | + ] |
| 5615 | + }, |
| 5616 | + "metadata": { |
| 5617 | + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", |
| 5618 | + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" |
| 5619 | + }, |
| 5620 | + "spec": { |
| 5621 | + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseCandidateSpec", |
| 5622 | + "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" |
| 5623 | + } |
| 5624 | + }, |
| 5625 | + "type": "object", |
| 5626 | + "x-kubernetes-group-version-kind": [ |
| 5627 | + { |
| 5628 | + "group": "coordination.k8s.io", |
| 5629 | + "kind": "LeaseCandidate", |
| 5630 | + "version": "v1beta1" |
| 5631 | + } |
| 5632 | + ] |
| 5633 | + }, |
| 5634 | + "io.k8s.api.coordination.v1beta1.LeaseCandidateList": { |
| 5635 | + "description": "LeaseCandidateList is a list of Lease objects.", |
| 5636 | + "properties": { |
| 5637 | + "apiVersion": { |
| 5638 | + "description": "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", |
| 5639 | + "type": "string" |
| 5640 | + }, |
| 5641 | + "items": { |
| 5642 | + "description": "items is a list of schema objects.", |
| 5643 | + "items": { |
| 5644 | + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseCandidate" |
| 5645 | + }, |
| 5646 | + "type": "array" |
| 5647 | + }, |
| 5648 | + "kind": { |
| 5649 | + "description": "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", |
| 5650 | + "type": "string", |
| 5651 | + "enum": [ |
| 5652 | + "LeaseCandidateList" |
| 5653 | + ] |
| 5654 | + }, |
| 5655 | + "metadata": { |
| 5656 | + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", |
| 5657 | + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" |
| 5658 | + } |
| 5659 | + }, |
| 5660 | + "required": [ |
| 5661 | + "items" |
| 5662 | + ], |
| 5663 | + "type": "object", |
| 5664 | + "x-kubernetes-group-version-kind": [ |
| 5665 | + { |
| 5666 | + "group": "coordination.k8s.io", |
| 5667 | + "kind": "LeaseCandidateList", |
| 5668 | + "version": "v1beta1" |
| 5669 | + } |
| 5670 | + ] |
| 5671 | + }, |
| 5672 | + "io.k8s.api.coordination.v1beta1.LeaseCandidateSpec": { |
| 5673 | + "description": "LeaseCandidateSpec is a specification of a Lease.", |
| 5674 | + "properties": { |
| 5675 | + "binaryVersion": { |
| 5676 | + "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.", |
| 5677 | + "type": "string" |
| 5678 | + }, |
| 5679 | + "emulationVersion": { |
| 5680 | + "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"", |
| 5681 | + "type": "string" |
| 5682 | + }, |
| 5683 | + "leaseName": { |
| 5684 | + "description": "LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.", |
| 5685 | + "type": "string" |
| 5686 | + }, |
| 5687 | + "pingTime": { |
| 5688 | + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", |
| 5689 | + "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime." |
| 5690 | + }, |
| 5691 | + "renewTime": { |
| 5692 | + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", |
| 5693 | + "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates." |
| 5694 | + }, |
| 5695 | + "strategy": { |
| 5696 | + "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.", |
| 5697 | + "type": "string" |
| 5698 | + } |
| 5699 | + }, |
| 5700 | + "required": [ |
| 5701 | + "leaseName", |
| 5702 | + "binaryVersion", |
| 5703 | + "strategy" |
| 5704 | + ], |
| 5705 | + "type": "object" |
| 5706 | + }, |
5602 | 5707 | "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { |
5603 | 5708 | "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", |
5604 | 5709 | "properties": { |
|
0 commit comments