"description":"NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.",
"description":"What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming",
"description":"What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming",
"type":"string"
"type":"string"
...
@@ -80580,6 +80584,15 @@
...
@@ -80580,6 +80584,15 @@
}
}
}
}
},
},
"io.k8s.api.core.v1.VolumeNodeAffinity":{
"description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
"properties":{
"required":{
"description":"Required specifies hard node constraints that must be met.",
"description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future."
"description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future."
},
"nodeAffinity":{
"$ref":"v1.VolumeNodeAffinity",
"description":"NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
}
}
}
}
},
},
...
@@ -21331,6 +21335,73 @@
...
@@ -21331,6 +21335,73 @@
}
}
}
}
},
},
"v1.VolumeNodeAffinity":{
"id":"v1.VolumeNodeAffinity",
"description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
"properties":{
"required":{
"$ref":"v1.NodeSelector",
"description":"Required specifies hard node constraints that must be met."
}
}
},
"v1.NodeSelector":{
"id":"v1.NodeSelector",
"description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
"required":[
"nodeSelectorTerms"
],
"properties":{
"nodeSelectorTerms":{
"type":"array",
"items":{
"$ref":"v1.NodeSelectorTerm"
},
"description":"Required. A list of node selector terms. The terms are ORed."
}
}
},
"v1.NodeSelectorTerm":{
"id":"v1.NodeSelectorTerm",
"description":"A null or empty node selector term matches no objects.",
"required":[
"matchExpressions"
],
"properties":{
"matchExpressions":{
"type":"array",
"items":{
"$ref":"v1.NodeSelectorRequirement"
},
"description":"Required. A list of node selector requirements. The requirements are ANDed."
}
}
},
"v1.NodeSelectorRequirement":{
"id":"v1.NodeSelectorRequirement",
"description":"A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"required":[
"key",
"operator"
],
"properties":{
"key":{
"type":"string",
"description":"The label key that the selector applies to."
},
"operator":{
"type":"string",
"description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."
},
"values":{
"type":"array",
"items":{
"type":"string"
},
"description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."
}
}
},
"v1.PersistentVolumeStatus":{
"v1.PersistentVolumeStatus":{
"id":"v1.PersistentVolumeStatus",
"id":"v1.PersistentVolumeStatus",
"description":"PersistentVolumeStatus is the current status of a persistent volume.",
"description":"PersistentVolumeStatus is the current status of a persistent volume.",
...
@@ -22869,63 +22940,6 @@
...
@@ -22869,63 +22940,6 @@
}
}
}
}
},
},
"v1.NodeSelector":{
"id":"v1.NodeSelector",
"description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
"required":[
"nodeSelectorTerms"
],
"properties":{
"nodeSelectorTerms":{
"type":"array",
"items":{
"$ref":"v1.NodeSelectorTerm"
},
"description":"Required. A list of node selector terms. The terms are ORed."
}
}
},
"v1.NodeSelectorTerm":{
"id":"v1.NodeSelectorTerm",
"description":"A null or empty node selector term matches no objects.",
"required":[
"matchExpressions"
],
"properties":{
"matchExpressions":{
"type":"array",
"items":{
"$ref":"v1.NodeSelectorRequirement"
},
"description":"Required. A list of node selector requirements. The requirements are ANDed."
}
}
},
"v1.NodeSelectorRequirement":{
"id":"v1.NodeSelectorRequirement",
"description":"A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"required":[
"key",
"operator"
],
"properties":{
"key":{
"type":"string",
"description":"The label key that the selector applies to."
},
"operator":{
"type":"string",
"description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."
},
"values":{
"type":"array",
"items":{
"type":"string"
},
"description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."
}
}
},
"v1.PreferredSchedulingTerm":{
"v1.PreferredSchedulingTerm":{
"id":"v1.PreferredSchedulingTerm",
"id":"v1.PreferredSchedulingTerm",
"description":"An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
"description":"An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
@@ -1292,6 +1292,7 @@ var map_PersistentVolumeSpec = map[string]string{
...
@@ -1292,6 +1292,7 @@ var map_PersistentVolumeSpec = map[string]string{
"storageClassName":"Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
"storageClassName":"Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
"mountOptions":"A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options",
"mountOptions":"A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options",
"volumeMode":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.",
"volumeMode":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.",
"nodeAffinity":"NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.",