@pulumi/kubernetes 3.18.1 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/core/v1/persistentVolume.d.ts +3 -3
- package/core/v1/persistentVolumeClaim.d.ts +3 -3
- package/core/v1/persistentVolumeClaimList.d.ts +2 -2
- package/core/v1/persistentVolumeList.d.ts +2 -2
- package/core/v1/serviceAccount.d.ts +2 -2
- package/discovery/v1/endpointSlice.d.ts +0 -10
- package/discovery/v1/endpointSlice.js.map +1 -1
- package/helm/v3/release.d.ts +2 -2
- package/networking/v1/networkPolicy.d.ts +4 -0
- package/networking/v1/networkPolicy.js +2 -0
- package/networking/v1/networkPolicy.js.map +1 -1
- package/node/v1/runtimeClass.d.ts +0 -2
- package/node/v1/runtimeClass.js.map +1 -1
- package/node/v1alpha1/runtimeClass.d.ts +1 -1
- package/node/v1alpha1/runtimeClass.js +1 -1
- package/node/v1beta1/runtimeClass.d.ts +2 -2
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/scheduling/v1/priorityClass.d.ts +2 -2
- package/storage/{v1alpha1 → v1}/csistorageCapacity.d.ts +5 -5
- package/storage/{v1alpha1 → v1}/csistorageCapacity.js +4 -4
- package/storage/v1/csistorageCapacity.js.map +1 -0
- package/storage/{v1alpha1 → v1}/csistorageCapacityList.d.ts +4 -4
- package/storage/{v1alpha1 → v1}/csistorageCapacityList.js +2 -2
- package/storage/v1/csistorageCapacityList.js.map +1 -0
- package/storage/v1/index.d.ts +2 -0
- package/storage/v1/index.js +8 -0
- package/storage/v1/index.js.map +1 -1
- package/storage/v1alpha1/index.d.ts +0 -2
- package/storage/v1alpha1/index.js +0 -8
- package/storage/v1alpha1/index.js.map +1 -1
- package/storage/v1beta1/csistorageCapacity.d.ts +3 -3
- package/storage/v1beta1/csistorageCapacity.js +2 -2
- package/storage/v1beta1/csistorageCapacity.js.map +1 -1
- package/types/input.d.ts +417 -625
- package/types/output.d.ts +416 -624
- package/yaml/yaml.d.ts +28 -26
- package/yaml/yaml.js +6 -6
- package/yaml/yaml.js.map +1 -1
- package/storage/v1alpha1/csistorageCapacity.js.map +0 -1
- package/storage/v1alpha1/csistorageCapacityList.js.map +0 -1
package/types/output.d.ts
CHANGED
|
@@ -1880,10 +1880,6 @@ export declare namespace apps {
|
|
|
1880
1880
|
rollingUpdate: outputs.apps.v1.RollingUpdateDaemonSet;
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
1883
|
-
*
|
|
1884
|
-
* Possible enum values:
|
|
1885
|
-
* - `"OnDelete"` Replace the old daemons only when it's killed
|
|
1886
|
-
* - `"RollingUpdate"` Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.
|
|
1887
1883
|
*/
|
|
1888
1884
|
type: string;
|
|
1889
1885
|
}
|
|
@@ -2047,10 +2043,6 @@ export declare namespace apps {
|
|
|
2047
2043
|
rollingUpdate: outputs.apps.v1.RollingUpdateDeployment;
|
|
2048
2044
|
/**
|
|
2049
2045
|
* Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
2050
|
-
*
|
|
2051
|
-
* Possible enum values:
|
|
2052
|
-
* - `"Recreate"` Kill all existing pods before creating new ones.
|
|
2053
|
-
* - `"RollingUpdate"` Replace the old ReplicaSets by new one using rolling update i.e gradually scale down the old ReplicaSets and scale up the new one.
|
|
2054
2046
|
*/
|
|
2055
2047
|
type: string;
|
|
2056
2048
|
}
|
|
@@ -2185,7 +2177,11 @@ export declare namespace apps {
|
|
|
2185
2177
|
*/
|
|
2186
2178
|
interface RollingUpdateStatefulSetStrategy {
|
|
2187
2179
|
/**
|
|
2188
|
-
*
|
|
2180
|
+
* The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2181
|
+
*/
|
|
2182
|
+
maxUnavailable: number | string;
|
|
2183
|
+
/**
|
|
2184
|
+
* Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2189
2185
|
*/
|
|
2190
2186
|
partition: number;
|
|
2191
2187
|
}
|
|
@@ -2282,10 +2278,6 @@ export declare namespace apps {
|
|
|
2282
2278
|
persistentVolumeClaimRetentionPolicy: outputs.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy;
|
|
2283
2279
|
/**
|
|
2284
2280
|
* podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
2285
|
-
*
|
|
2286
|
-
* Possible enum values:
|
|
2287
|
-
* - `"OrderedReady"` will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated. At most one pod will be changed at any time.
|
|
2288
|
-
* - `"Parallel"` will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.
|
|
2289
2281
|
*/
|
|
2290
2282
|
podManagementPolicy: string;
|
|
2291
2283
|
/**
|
|
@@ -2372,10 +2364,6 @@ export declare namespace apps {
|
|
|
2372
2364
|
rollingUpdate: outputs.apps.v1.RollingUpdateStatefulSetStrategy;
|
|
2373
2365
|
/**
|
|
2374
2366
|
* Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
2375
|
-
*
|
|
2376
|
-
* Possible enum values:
|
|
2377
|
-
* - `"OnDelete"` triggers the legacy behavior. Version tracking and ordered rolling restarts are disabled. Pods are recreated from the StatefulSetSpec when they are manually deleted. When a scale operation is performed with this strategy,specification version indicated by the StatefulSet's currentRevision.
|
|
2378
|
-
* - `"RollingUpdate"` indicates that update will be applied to all Pods in the StatefulSet with respect to the StatefulSet ordering constraints. When a scale operation is performed with this strategy, new Pods will be created from the specification version indicated by the StatefulSet's updateRevision.
|
|
2379
2367
|
*/
|
|
2380
2368
|
type: string;
|
|
2381
2369
|
}
|
|
@@ -5372,11 +5360,6 @@ export declare namespace batch {
|
|
|
5372
5360
|
interface CronJobSpec {
|
|
5373
5361
|
/**
|
|
5374
5362
|
* Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
5375
|
-
*
|
|
5376
|
-
* Possible enum values:
|
|
5377
|
-
* - `"Allow"` allows CronJobs to run concurrently.
|
|
5378
|
-
* - `"Forbid"` forbids concurrent runs, skipping next run if previous hasn't finished yet.
|
|
5379
|
-
* - `"Replace"` cancels currently running job and replaces it with a new one.
|
|
5380
5363
|
*/
|
|
5381
5364
|
concurrencyPolicy: string;
|
|
5382
5365
|
/**
|
|
@@ -5403,6 +5386,10 @@ export declare namespace batch {
|
|
|
5403
5386
|
* This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
5404
5387
|
*/
|
|
5405
5388
|
suspend: boolean;
|
|
5389
|
+
/**
|
|
5390
|
+
* The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will rely on the time zone of the kube-controller-manager process. ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate.
|
|
5391
|
+
*/
|
|
5392
|
+
timeZone: string;
|
|
5406
5393
|
}
|
|
5407
5394
|
/**
|
|
5408
5395
|
* CronJobStatus represents the current state of a cron job.
|
|
@@ -5492,11 +5479,6 @@ export declare namespace batch {
|
|
|
5492
5479
|
status: string;
|
|
5493
5480
|
/**
|
|
5494
5481
|
* Type of job condition, Complete or Failed.
|
|
5495
|
-
*
|
|
5496
|
-
* Possible enum values:
|
|
5497
|
-
* - `"Complete"` means the job has completed its execution.
|
|
5498
|
-
* - `"Failed"` means the job has failed its execution.
|
|
5499
|
-
* - `"Suspended"` means the job has been suspended.
|
|
5500
5482
|
*/
|
|
5501
5483
|
type: string;
|
|
5502
5484
|
}
|
|
@@ -5519,7 +5501,7 @@ export declare namespace batch {
|
|
|
5519
5501
|
*
|
|
5520
5502
|
* `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
|
|
5521
5503
|
*
|
|
5522
|
-
*
|
|
5504
|
+
* More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
5523
5505
|
*/
|
|
5524
5506
|
completionMode: string;
|
|
5525
5507
|
/**
|
|
@@ -5540,8 +5522,6 @@ export declare namespace batch {
|
|
|
5540
5522
|
selector: outputs.meta.v1.LabelSelector;
|
|
5541
5523
|
/**
|
|
5542
5524
|
* Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
5543
|
-
*
|
|
5544
|
-
* This field is beta-level, gated by SuspendJob feature flag (enabled by default).
|
|
5545
5525
|
*/
|
|
5546
5526
|
suspend: boolean;
|
|
5547
5527
|
/**
|
|
@@ -5580,7 +5560,7 @@ export declare namespace batch {
|
|
|
5580
5560
|
/**
|
|
5581
5561
|
* The number of pods which have a Ready condition.
|
|
5582
5562
|
*
|
|
5583
|
-
* This field is
|
|
5563
|
+
* This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
|
|
5584
5564
|
*/
|
|
5585
5565
|
ready: number;
|
|
5586
5566
|
/**
|
|
@@ -5686,6 +5666,10 @@ export declare namespace batch {
|
|
|
5686
5666
|
* This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
5687
5667
|
*/
|
|
5688
5668
|
suspend: boolean;
|
|
5669
|
+
/**
|
|
5670
|
+
* The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will rely on the time zone of the kube-controller-manager process. ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate.
|
|
5671
|
+
*/
|
|
5672
|
+
timeZone: string;
|
|
5689
5673
|
}
|
|
5690
5674
|
/**
|
|
5691
5675
|
* CronJobStatus represents the current state of a cron job.
|
|
@@ -5871,11 +5855,6 @@ export declare namespace certificates {
|
|
|
5871
5855
|
* Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.
|
|
5872
5856
|
*
|
|
5873
5857
|
* Only one condition of a given type is allowed.
|
|
5874
|
-
*
|
|
5875
|
-
* Possible enum values:
|
|
5876
|
-
* - `"Approved"` Approved indicates the request was approved and should be issued by the signer.
|
|
5877
|
-
* - `"Denied"` Denied indicates the request was denied and should not be issued by the signer.
|
|
5878
|
-
* - `"Failed"` Failed indicates the signer failed to issue the certificate.
|
|
5879
5858
|
*/
|
|
5880
5859
|
type: string;
|
|
5881
5860
|
}
|
|
@@ -5896,8 +5875,6 @@ export declare namespace certificates {
|
|
|
5896
5875
|
* 3. Signer whose configured minimum is longer than the requested duration
|
|
5897
5876
|
*
|
|
5898
5877
|
* The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
|
|
5899
|
-
*
|
|
5900
|
-
* As of v1.22, this field is beta and is controlled via the CSRDuration feature gate.
|
|
5901
5878
|
*/
|
|
5902
5879
|
expirationSeconds: number;
|
|
5903
5880
|
/**
|
|
@@ -6209,19 +6186,19 @@ export declare namespace core {
|
|
|
6209
6186
|
*/
|
|
6210
6187
|
interface AWSElasticBlockStoreVolumeSource {
|
|
6211
6188
|
/**
|
|
6212
|
-
*
|
|
6189
|
+
* fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
6213
6190
|
*/
|
|
6214
6191
|
fsType: string;
|
|
6215
6192
|
/**
|
|
6216
|
-
*
|
|
6193
|
+
* partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
|
|
6217
6194
|
*/
|
|
6218
6195
|
partition: number;
|
|
6219
6196
|
/**
|
|
6220
|
-
*
|
|
6197
|
+
* readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
6221
6198
|
*/
|
|
6222
6199
|
readOnly: boolean;
|
|
6223
6200
|
/**
|
|
6224
|
-
*
|
|
6201
|
+
* volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
6225
6202
|
*/
|
|
6226
6203
|
volumeID: string;
|
|
6227
6204
|
}
|
|
@@ -6260,27 +6237,27 @@ export declare namespace core {
|
|
|
6260
6237
|
*/
|
|
6261
6238
|
interface AzureDiskVolumeSource {
|
|
6262
6239
|
/**
|
|
6263
|
-
* Host Caching mode: None, Read Only, Read Write.
|
|
6240
|
+
* cachingMode is the Host Caching mode: None, Read Only, Read Write.
|
|
6264
6241
|
*/
|
|
6265
6242
|
cachingMode: string;
|
|
6266
6243
|
/**
|
|
6267
|
-
*
|
|
6244
|
+
* diskName is the Name of the data disk in the blob storage
|
|
6268
6245
|
*/
|
|
6269
6246
|
diskName: string;
|
|
6270
6247
|
/**
|
|
6271
|
-
*
|
|
6248
|
+
* diskURI is the URI of data disk in the blob storage
|
|
6272
6249
|
*/
|
|
6273
6250
|
diskURI: string;
|
|
6274
6251
|
/**
|
|
6275
|
-
* Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
6252
|
+
* fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
6276
6253
|
*/
|
|
6277
6254
|
fsType: string;
|
|
6278
6255
|
/**
|
|
6279
|
-
*
|
|
6256
|
+
* kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
|
|
6280
6257
|
*/
|
|
6281
6258
|
kind: string;
|
|
6282
6259
|
/**
|
|
6283
|
-
* Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
6260
|
+
* readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
6284
6261
|
*/
|
|
6285
6262
|
readOnly: boolean;
|
|
6286
6263
|
}
|
|
@@ -6289,19 +6266,19 @@ export declare namespace core {
|
|
|
6289
6266
|
*/
|
|
6290
6267
|
interface AzureFilePersistentVolumeSource {
|
|
6291
6268
|
/**
|
|
6292
|
-
*
|
|
6269
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
6293
6270
|
*/
|
|
6294
6271
|
readOnly: boolean;
|
|
6295
6272
|
/**
|
|
6296
|
-
* the name of secret that contains Azure Storage Account Name and Key
|
|
6273
|
+
* secretName is the name of secret that contains Azure Storage Account Name and Key
|
|
6297
6274
|
*/
|
|
6298
6275
|
secretName: string;
|
|
6299
6276
|
/**
|
|
6300
|
-
* the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
|
|
6277
|
+
* secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
|
|
6301
6278
|
*/
|
|
6302
6279
|
secretNamespace: string;
|
|
6303
6280
|
/**
|
|
6304
|
-
* Share Name
|
|
6281
|
+
* shareName is the azure Share Name
|
|
6305
6282
|
*/
|
|
6306
6283
|
shareName: string;
|
|
6307
6284
|
}
|
|
@@ -6310,15 +6287,15 @@ export declare namespace core {
|
|
|
6310
6287
|
*/
|
|
6311
6288
|
interface AzureFileVolumeSource {
|
|
6312
6289
|
/**
|
|
6313
|
-
*
|
|
6290
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
6314
6291
|
*/
|
|
6315
6292
|
readOnly: boolean;
|
|
6316
6293
|
/**
|
|
6317
|
-
* the
|
|
6294
|
+
* secretName is the name of secret that contains Azure Storage Account Name and Key
|
|
6318
6295
|
*/
|
|
6319
6296
|
secretName: string;
|
|
6320
6297
|
/**
|
|
6321
|
-
*
|
|
6298
|
+
* shareName is the azure share Name
|
|
6322
6299
|
*/
|
|
6323
6300
|
shareName: string;
|
|
6324
6301
|
}
|
|
@@ -6327,41 +6304,41 @@ export declare namespace core {
|
|
|
6327
6304
|
*/
|
|
6328
6305
|
interface CSIPersistentVolumeSource {
|
|
6329
6306
|
/**
|
|
6330
|
-
*
|
|
6307
|
+
* controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
|
|
6331
6308
|
*/
|
|
6332
6309
|
controllerExpandSecretRef: outputs.core.v1.SecretReference;
|
|
6333
6310
|
/**
|
|
6334
|
-
*
|
|
6311
|
+
* controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
|
|
6335
6312
|
*/
|
|
6336
6313
|
controllerPublishSecretRef: outputs.core.v1.SecretReference;
|
|
6337
6314
|
/**
|
|
6338
|
-
*
|
|
6315
|
+
* driver is the name of the driver to use for this volume. Required.
|
|
6339
6316
|
*/
|
|
6340
6317
|
driver: string;
|
|
6341
6318
|
/**
|
|
6342
|
-
*
|
|
6319
|
+
* fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
|
|
6343
6320
|
*/
|
|
6344
6321
|
fsType: string;
|
|
6345
6322
|
/**
|
|
6346
|
-
*
|
|
6323
|
+
* nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
|
|
6347
6324
|
*/
|
|
6348
6325
|
nodePublishSecretRef: outputs.core.v1.SecretReference;
|
|
6349
6326
|
/**
|
|
6350
|
-
*
|
|
6327
|
+
* nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
|
|
6351
6328
|
*/
|
|
6352
6329
|
nodeStageSecretRef: outputs.core.v1.SecretReference;
|
|
6353
6330
|
/**
|
|
6354
|
-
*
|
|
6331
|
+
* readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
|
|
6355
6332
|
*/
|
|
6356
6333
|
readOnly: boolean;
|
|
6357
6334
|
/**
|
|
6358
|
-
*
|
|
6335
|
+
* volumeAttributes of the volume to publish.
|
|
6359
6336
|
*/
|
|
6360
6337
|
volumeAttributes: {
|
|
6361
6338
|
[key: string]: string;
|
|
6362
6339
|
};
|
|
6363
6340
|
/**
|
|
6364
|
-
*
|
|
6341
|
+
* volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
|
|
6365
6342
|
*/
|
|
6366
6343
|
volumeHandle: string;
|
|
6367
6344
|
}
|
|
@@ -6370,23 +6347,23 @@ export declare namespace core {
|
|
|
6370
6347
|
*/
|
|
6371
6348
|
interface CSIVolumeSource {
|
|
6372
6349
|
/**
|
|
6373
|
-
*
|
|
6350
|
+
* driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
|
|
6374
6351
|
*/
|
|
6375
6352
|
driver: string;
|
|
6376
6353
|
/**
|
|
6377
|
-
*
|
|
6354
|
+
* fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
|
|
6378
6355
|
*/
|
|
6379
6356
|
fsType: string;
|
|
6380
6357
|
/**
|
|
6381
|
-
*
|
|
6358
|
+
* nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
|
|
6382
6359
|
*/
|
|
6383
6360
|
nodePublishSecretRef: outputs.core.v1.LocalObjectReference;
|
|
6384
6361
|
/**
|
|
6385
|
-
*
|
|
6362
|
+
* readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).
|
|
6386
6363
|
*/
|
|
6387
6364
|
readOnly: boolean;
|
|
6388
6365
|
/**
|
|
6389
|
-
*
|
|
6366
|
+
* volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.
|
|
6390
6367
|
*/
|
|
6391
6368
|
volumeAttributes: {
|
|
6392
6369
|
[key: string]: string;
|
|
@@ -6410,27 +6387,27 @@ export declare namespace core {
|
|
|
6410
6387
|
*/
|
|
6411
6388
|
interface CephFSPersistentVolumeSource {
|
|
6412
6389
|
/**
|
|
6413
|
-
* Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6390
|
+
* monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6414
6391
|
*/
|
|
6415
6392
|
monitors: string[];
|
|
6416
6393
|
/**
|
|
6417
|
-
* Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
|
6394
|
+
* path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
|
6418
6395
|
*/
|
|
6419
6396
|
path: string;
|
|
6420
6397
|
/**
|
|
6421
|
-
* Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6398
|
+
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6422
6399
|
*/
|
|
6423
6400
|
readOnly: boolean;
|
|
6424
6401
|
/**
|
|
6425
|
-
* Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6402
|
+
* secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6426
6403
|
*/
|
|
6427
6404
|
secretFile: string;
|
|
6428
6405
|
/**
|
|
6429
|
-
* Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6406
|
+
* secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6430
6407
|
*/
|
|
6431
6408
|
secretRef: outputs.core.v1.SecretReference;
|
|
6432
6409
|
/**
|
|
6433
|
-
* Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6410
|
+
* user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6434
6411
|
*/
|
|
6435
6412
|
user: string;
|
|
6436
6413
|
}
|
|
@@ -6439,27 +6416,27 @@ export declare namespace core {
|
|
|
6439
6416
|
*/
|
|
6440
6417
|
interface CephFSVolumeSource {
|
|
6441
6418
|
/**
|
|
6442
|
-
* Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6419
|
+
* monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6443
6420
|
*/
|
|
6444
6421
|
monitors: string[];
|
|
6445
6422
|
/**
|
|
6446
|
-
* Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
|
6423
|
+
* path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
|
6447
6424
|
*/
|
|
6448
6425
|
path: string;
|
|
6449
6426
|
/**
|
|
6450
|
-
* Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6427
|
+
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6451
6428
|
*/
|
|
6452
6429
|
readOnly: boolean;
|
|
6453
6430
|
/**
|
|
6454
|
-
* Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6431
|
+
* secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6455
6432
|
*/
|
|
6456
6433
|
secretFile: string;
|
|
6457
6434
|
/**
|
|
6458
|
-
* Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6435
|
+
* secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6459
6436
|
*/
|
|
6460
6437
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
6461
6438
|
/**
|
|
6462
|
-
*
|
|
6439
|
+
* user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6463
6440
|
*/
|
|
6464
6441
|
user: string;
|
|
6465
6442
|
}
|
|
@@ -6468,19 +6445,19 @@ export declare namespace core {
|
|
|
6468
6445
|
*/
|
|
6469
6446
|
interface CinderPersistentVolumeSource {
|
|
6470
6447
|
/**
|
|
6471
|
-
* Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6448
|
+
* fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6472
6449
|
*/
|
|
6473
6450
|
fsType: string;
|
|
6474
6451
|
/**
|
|
6475
|
-
* Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6452
|
+
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6476
6453
|
*/
|
|
6477
6454
|
readOnly: boolean;
|
|
6478
6455
|
/**
|
|
6479
|
-
* Optional: points to a secret object containing parameters used to connect to OpenStack.
|
|
6456
|
+
* secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.
|
|
6480
6457
|
*/
|
|
6481
6458
|
secretRef: outputs.core.v1.SecretReference;
|
|
6482
6459
|
/**
|
|
6483
|
-
*
|
|
6460
|
+
* volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6484
6461
|
*/
|
|
6485
6462
|
volumeID: string;
|
|
6486
6463
|
}
|
|
@@ -6489,19 +6466,19 @@ export declare namespace core {
|
|
|
6489
6466
|
*/
|
|
6490
6467
|
interface CinderVolumeSource {
|
|
6491
6468
|
/**
|
|
6492
|
-
*
|
|
6469
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6493
6470
|
*/
|
|
6494
6471
|
fsType: string;
|
|
6495
6472
|
/**
|
|
6496
|
-
*
|
|
6473
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6497
6474
|
*/
|
|
6498
6475
|
readOnly: boolean;
|
|
6499
6476
|
/**
|
|
6500
|
-
*
|
|
6477
|
+
* secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
|
|
6501
6478
|
*/
|
|
6502
6479
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
6503
6480
|
/**
|
|
6504
|
-
*
|
|
6481
|
+
* volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
6505
6482
|
*/
|
|
6506
6483
|
volumeID: string;
|
|
6507
6484
|
}
|
|
@@ -6611,7 +6588,7 @@ export declare namespace core {
|
|
|
6611
6588
|
*/
|
|
6612
6589
|
interface ConfigMapProjection {
|
|
6613
6590
|
/**
|
|
6614
|
-
*
|
|
6591
|
+
* items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
6615
6592
|
*/
|
|
6616
6593
|
items: outputs.core.v1.KeyToPath[];
|
|
6617
6594
|
/**
|
|
@@ -6619,7 +6596,7 @@ export declare namespace core {
|
|
|
6619
6596
|
*/
|
|
6620
6597
|
name: string;
|
|
6621
6598
|
/**
|
|
6622
|
-
*
|
|
6599
|
+
* optional specify whether the ConfigMap or its keys must be defined
|
|
6623
6600
|
*/
|
|
6624
6601
|
optional: boolean;
|
|
6625
6602
|
}
|
|
@@ -6630,11 +6607,11 @@ export declare namespace core {
|
|
|
6630
6607
|
*/
|
|
6631
6608
|
interface ConfigMapVolumeSource {
|
|
6632
6609
|
/**
|
|
6633
|
-
*
|
|
6610
|
+
* defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
6634
6611
|
*/
|
|
6635
6612
|
defaultMode: number;
|
|
6636
6613
|
/**
|
|
6637
|
-
*
|
|
6614
|
+
* items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
6638
6615
|
*/
|
|
6639
6616
|
items: outputs.core.v1.KeyToPath[];
|
|
6640
6617
|
/**
|
|
@@ -6642,7 +6619,7 @@ export declare namespace core {
|
|
|
6642
6619
|
*/
|
|
6643
6620
|
name: string;
|
|
6644
6621
|
/**
|
|
6645
|
-
*
|
|
6622
|
+
* optional specify whether the ConfigMap or its keys must be defined
|
|
6646
6623
|
*/
|
|
6647
6624
|
optional: boolean;
|
|
6648
6625
|
}
|
|
@@ -6651,11 +6628,11 @@ export declare namespace core {
|
|
|
6651
6628
|
*/
|
|
6652
6629
|
interface Container {
|
|
6653
6630
|
/**
|
|
6654
|
-
* Arguments to the entrypoint. The
|
|
6631
|
+
* Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
|
6655
6632
|
*/
|
|
6656
6633
|
args: string[];
|
|
6657
6634
|
/**
|
|
6658
|
-
* Entrypoint array. Not executed within a shell. The
|
|
6635
|
+
* Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
|
6659
6636
|
*/
|
|
6660
6637
|
command: string[];
|
|
6661
6638
|
/**
|
|
@@ -6667,16 +6644,11 @@ export declare namespace core {
|
|
|
6667
6644
|
*/
|
|
6668
6645
|
envFrom: outputs.core.v1.EnvFromSource[];
|
|
6669
6646
|
/**
|
|
6670
|
-
*
|
|
6647
|
+
* Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
6671
6648
|
*/
|
|
6672
6649
|
image: string;
|
|
6673
6650
|
/**
|
|
6674
6651
|
* Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
|
|
6675
|
-
*
|
|
6676
|
-
* Possible enum values:
|
|
6677
|
-
* - `"Always"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
|
|
6678
|
-
* - `"IfNotPresent"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
|
|
6679
|
-
* - `"Never"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
|
|
6680
6652
|
*/
|
|
6681
6653
|
imagePullPolicy: string;
|
|
6682
6654
|
/**
|
|
@@ -6725,10 +6697,6 @@ export declare namespace core {
|
|
|
6725
6697
|
terminationMessagePath: string;
|
|
6726
6698
|
/**
|
|
6727
6699
|
* Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
|
|
6728
|
-
*
|
|
6729
|
-
* Possible enum values:
|
|
6730
|
-
* - `"FallbackToLogsOnError"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.
|
|
6731
|
-
* - `"File"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.
|
|
6732
6700
|
*/
|
|
6733
6701
|
terminationMessagePolicy: string;
|
|
6734
6702
|
/**
|
|
@@ -6783,11 +6751,6 @@ export declare namespace core {
|
|
|
6783
6751
|
name: string;
|
|
6784
6752
|
/**
|
|
6785
6753
|
* Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".
|
|
6786
|
-
*
|
|
6787
|
-
* Possible enum values:
|
|
6788
|
-
* - `"SCTP"` is the SCTP protocol.
|
|
6789
|
-
* - `"TCP"` is the TCP protocol.
|
|
6790
|
-
* - `"UDP"` is the UDP protocol.
|
|
6791
6754
|
*/
|
|
6792
6755
|
protocol: string;
|
|
6793
6756
|
}
|
|
@@ -6822,7 +6785,7 @@ export declare namespace core {
|
|
|
6822
6785
|
*/
|
|
6823
6786
|
interface ContainerStateTerminated {
|
|
6824
6787
|
/**
|
|
6825
|
-
* Container's ID in the format '
|
|
6788
|
+
* Container's ID in the format '<type>://<container_id>'
|
|
6826
6789
|
*/
|
|
6827
6790
|
containerID: string;
|
|
6828
6791
|
/**
|
|
@@ -6868,7 +6831,7 @@ export declare namespace core {
|
|
|
6868
6831
|
*/
|
|
6869
6832
|
interface ContainerStatus {
|
|
6870
6833
|
/**
|
|
6871
|
-
* Container's ID in the format '
|
|
6834
|
+
* Container's ID in the format '<type>://<container_id>'.
|
|
6872
6835
|
*/
|
|
6873
6836
|
containerID: string;
|
|
6874
6837
|
/**
|
|
@@ -6961,11 +6924,11 @@ export declare namespace core {
|
|
|
6961
6924
|
*/
|
|
6962
6925
|
interface EmptyDirVolumeSource {
|
|
6963
6926
|
/**
|
|
6964
|
-
*
|
|
6927
|
+
* medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
|
6965
6928
|
*/
|
|
6966
6929
|
medium: string;
|
|
6967
6930
|
/**
|
|
6968
|
-
*
|
|
6931
|
+
* sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
|
|
6969
6932
|
*/
|
|
6970
6933
|
sizeLimit: string;
|
|
6971
6934
|
}
|
|
@@ -6995,7 +6958,7 @@ export declare namespace core {
|
|
|
6995
6958
|
*/
|
|
6996
6959
|
interface EndpointPort {
|
|
6997
6960
|
/**
|
|
6998
|
-
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and
|
|
6961
|
+
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
|
|
6999
6962
|
*/
|
|
7000
6963
|
appProtocol: string;
|
|
7001
6964
|
/**
|
|
@@ -7008,11 +6971,6 @@ export declare namespace core {
|
|
|
7008
6971
|
port: number;
|
|
7009
6972
|
/**
|
|
7010
6973
|
* The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
|
|
7011
|
-
*
|
|
7012
|
-
* Possible enum values:
|
|
7013
|
-
* - `"SCTP"` is the SCTP protocol.
|
|
7014
|
-
* - `"TCP"` is the TCP protocol.
|
|
7015
|
-
* - `"UDP"` is the UDP protocol.
|
|
7016
6974
|
*/
|
|
7017
6975
|
protocol: string;
|
|
7018
6976
|
}
|
|
@@ -7136,11 +7094,11 @@ export declare namespace core {
|
|
|
7136
7094
|
*/
|
|
7137
7095
|
interface EphemeralContainer {
|
|
7138
7096
|
/**
|
|
7139
|
-
* Arguments to the entrypoint. The
|
|
7097
|
+
* Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
|
7140
7098
|
*/
|
|
7141
7099
|
args: string[];
|
|
7142
7100
|
/**
|
|
7143
|
-
* Entrypoint array. Not executed within a shell. The
|
|
7101
|
+
* Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
|
7144
7102
|
*/
|
|
7145
7103
|
command: string[];
|
|
7146
7104
|
/**
|
|
@@ -7152,16 +7110,11 @@ export declare namespace core {
|
|
|
7152
7110
|
*/
|
|
7153
7111
|
envFrom: outputs.core.v1.EnvFromSource[];
|
|
7154
7112
|
/**
|
|
7155
|
-
*
|
|
7113
|
+
* Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
|
|
7156
7114
|
*/
|
|
7157
7115
|
image: string;
|
|
7158
7116
|
/**
|
|
7159
7117
|
* Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
|
|
7160
|
-
*
|
|
7161
|
-
* Possible enum values:
|
|
7162
|
-
* - `"Always"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
|
|
7163
|
-
* - `"IfNotPresent"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
|
|
7164
|
-
* - `"Never"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
|
|
7165
7118
|
*/
|
|
7166
7119
|
imagePullPolicy: string;
|
|
7167
7120
|
/**
|
|
@@ -7216,10 +7169,6 @@ export declare namespace core {
|
|
|
7216
7169
|
terminationMessagePath: string;
|
|
7217
7170
|
/**
|
|
7218
7171
|
* Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
|
|
7219
|
-
*
|
|
7220
|
-
* Possible enum values:
|
|
7221
|
-
* - `"FallbackToLogsOnError"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.
|
|
7222
|
-
* - `"File"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.
|
|
7223
7172
|
*/
|
|
7224
7173
|
terminationMessagePolicy: string;
|
|
7225
7174
|
/**
|
|
@@ -7375,23 +7324,23 @@ export declare namespace core {
|
|
|
7375
7324
|
*/
|
|
7376
7325
|
interface FCVolumeSource {
|
|
7377
7326
|
/**
|
|
7378
|
-
*
|
|
7327
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
7379
7328
|
*/
|
|
7380
7329
|
fsType: string;
|
|
7381
7330
|
/**
|
|
7382
|
-
* Optional: FC target lun number
|
|
7331
|
+
* lun is Optional: FC target lun number
|
|
7383
7332
|
*/
|
|
7384
7333
|
lun: number;
|
|
7385
7334
|
/**
|
|
7386
|
-
* Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
7335
|
+
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
7387
7336
|
*/
|
|
7388
7337
|
readOnly: boolean;
|
|
7389
7338
|
/**
|
|
7390
|
-
* Optional: FC target worldwide names (WWNs)
|
|
7339
|
+
* targetWWNs is Optional: FC target worldwide names (WWNs)
|
|
7391
7340
|
*/
|
|
7392
7341
|
targetWWNs: string[];
|
|
7393
7342
|
/**
|
|
7394
|
-
* Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
|
7343
|
+
* wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
|
7395
7344
|
*/
|
|
7396
7345
|
wwids: string[];
|
|
7397
7346
|
}
|
|
@@ -7400,25 +7349,25 @@ export declare namespace core {
|
|
|
7400
7349
|
*/
|
|
7401
7350
|
interface FlexPersistentVolumeSource {
|
|
7402
7351
|
/**
|
|
7403
|
-
*
|
|
7352
|
+
* driver is the name of the driver to use for this volume.
|
|
7404
7353
|
*/
|
|
7405
7354
|
driver: string;
|
|
7406
7355
|
/**
|
|
7407
|
-
* Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
|
|
7356
|
+
* fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
|
|
7408
7357
|
*/
|
|
7409
7358
|
fsType: string;
|
|
7410
7359
|
/**
|
|
7411
|
-
* Optional:
|
|
7360
|
+
* options is Optional: this field holds extra command options if any.
|
|
7412
7361
|
*/
|
|
7413
7362
|
options: {
|
|
7414
7363
|
[key: string]: string;
|
|
7415
7364
|
};
|
|
7416
7365
|
/**
|
|
7417
|
-
* Optional:
|
|
7366
|
+
* readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
7418
7367
|
*/
|
|
7419
7368
|
readOnly: boolean;
|
|
7420
7369
|
/**
|
|
7421
|
-
* Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
|
|
7370
|
+
* secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
|
|
7422
7371
|
*/
|
|
7423
7372
|
secretRef: outputs.core.v1.SecretReference;
|
|
7424
7373
|
}
|
|
@@ -7427,25 +7376,25 @@ export declare namespace core {
|
|
|
7427
7376
|
*/
|
|
7428
7377
|
interface FlexVolumeSource {
|
|
7429
7378
|
/**
|
|
7430
|
-
*
|
|
7379
|
+
* driver is the name of the driver to use for this volume.
|
|
7431
7380
|
*/
|
|
7432
7381
|
driver: string;
|
|
7433
7382
|
/**
|
|
7434
|
-
*
|
|
7383
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
|
|
7435
7384
|
*/
|
|
7436
7385
|
fsType: string;
|
|
7437
7386
|
/**
|
|
7438
|
-
* Optional:
|
|
7387
|
+
* options is Optional: this field holds extra command options if any.
|
|
7439
7388
|
*/
|
|
7440
7389
|
options: {
|
|
7441
7390
|
[key: string]: string;
|
|
7442
7391
|
};
|
|
7443
7392
|
/**
|
|
7444
|
-
* Optional:
|
|
7393
|
+
* readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
7445
7394
|
*/
|
|
7446
7395
|
readOnly: boolean;
|
|
7447
7396
|
/**
|
|
7448
|
-
* Optional:
|
|
7397
|
+
* secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
|
|
7449
7398
|
*/
|
|
7450
7399
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
7451
7400
|
}
|
|
@@ -7454,11 +7403,11 @@ export declare namespace core {
|
|
|
7454
7403
|
*/
|
|
7455
7404
|
interface FlockerVolumeSource {
|
|
7456
7405
|
/**
|
|
7457
|
-
* Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
|
|
7406
|
+
* datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
|
|
7458
7407
|
*/
|
|
7459
7408
|
datasetName: string;
|
|
7460
7409
|
/**
|
|
7461
|
-
* UUID of the dataset. This is unique identifier of a Flocker dataset
|
|
7410
|
+
* datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
|
|
7462
7411
|
*/
|
|
7463
7412
|
datasetUUID: string;
|
|
7464
7413
|
}
|
|
@@ -7469,19 +7418,19 @@ export declare namespace core {
|
|
|
7469
7418
|
*/
|
|
7470
7419
|
interface GCEPersistentDiskVolumeSource {
|
|
7471
7420
|
/**
|
|
7472
|
-
*
|
|
7421
|
+
* fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
7473
7422
|
*/
|
|
7474
7423
|
fsType: string;
|
|
7475
7424
|
/**
|
|
7476
|
-
*
|
|
7425
|
+
* partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
7477
7426
|
*/
|
|
7478
7427
|
partition: number;
|
|
7479
7428
|
/**
|
|
7480
|
-
*
|
|
7429
|
+
* pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
7481
7430
|
*/
|
|
7482
7431
|
pdName: string;
|
|
7483
7432
|
/**
|
|
7484
|
-
*
|
|
7433
|
+
* readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
7485
7434
|
*/
|
|
7486
7435
|
readOnly: boolean;
|
|
7487
7436
|
}
|
|
@@ -7504,15 +7453,15 @@ export declare namespace core {
|
|
|
7504
7453
|
*/
|
|
7505
7454
|
interface GitRepoVolumeSource {
|
|
7506
7455
|
/**
|
|
7507
|
-
*
|
|
7456
|
+
* directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
|
|
7508
7457
|
*/
|
|
7509
7458
|
directory: string;
|
|
7510
7459
|
/**
|
|
7511
|
-
*
|
|
7460
|
+
* repository is the URL
|
|
7512
7461
|
*/
|
|
7513
7462
|
repository: string;
|
|
7514
7463
|
/**
|
|
7515
|
-
*
|
|
7464
|
+
* revision is the commit hash for the specified revision.
|
|
7516
7465
|
*/
|
|
7517
7466
|
revision: string;
|
|
7518
7467
|
}
|
|
@@ -7521,19 +7470,19 @@ export declare namespace core {
|
|
|
7521
7470
|
*/
|
|
7522
7471
|
interface GlusterfsPersistentVolumeSource {
|
|
7523
7472
|
/**
|
|
7524
|
-
*
|
|
7473
|
+
* endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7525
7474
|
*/
|
|
7526
7475
|
endpoints: string;
|
|
7527
7476
|
/**
|
|
7528
|
-
*
|
|
7477
|
+
* endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7529
7478
|
*/
|
|
7530
7479
|
endpointsNamespace: string;
|
|
7531
7480
|
/**
|
|
7532
|
-
*
|
|
7481
|
+
* path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7533
7482
|
*/
|
|
7534
7483
|
path: string;
|
|
7535
7484
|
/**
|
|
7536
|
-
*
|
|
7485
|
+
* readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7537
7486
|
*/
|
|
7538
7487
|
readOnly: boolean;
|
|
7539
7488
|
}
|
|
@@ -7542,15 +7491,15 @@ export declare namespace core {
|
|
|
7542
7491
|
*/
|
|
7543
7492
|
interface GlusterfsVolumeSource {
|
|
7544
7493
|
/**
|
|
7545
|
-
*
|
|
7494
|
+
* endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7546
7495
|
*/
|
|
7547
7496
|
endpoints: string;
|
|
7548
7497
|
/**
|
|
7549
|
-
*
|
|
7498
|
+
* path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7550
7499
|
*/
|
|
7551
7500
|
path: string;
|
|
7552
7501
|
/**
|
|
7553
|
-
*
|
|
7502
|
+
* readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
7554
7503
|
*/
|
|
7555
7504
|
readOnly: boolean;
|
|
7556
7505
|
}
|
|
@@ -7576,10 +7525,6 @@ export declare namespace core {
|
|
|
7576
7525
|
port: number | string;
|
|
7577
7526
|
/**
|
|
7578
7527
|
* Scheme to use for connecting to the host. Defaults to HTTP.
|
|
7579
|
-
*
|
|
7580
|
-
* Possible enum values:
|
|
7581
|
-
* - `"HTTP"` means that the scheme used will be http://
|
|
7582
|
-
* - `"HTTPS"` means that the scheme used will be https://
|
|
7583
7528
|
*/
|
|
7584
7529
|
scheme: string;
|
|
7585
7530
|
}
|
|
@@ -7614,11 +7559,11 @@ export declare namespace core {
|
|
|
7614
7559
|
*/
|
|
7615
7560
|
interface HostPathVolumeSource {
|
|
7616
7561
|
/**
|
|
7617
|
-
*
|
|
7562
|
+
* path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
7618
7563
|
*/
|
|
7619
7564
|
path: string;
|
|
7620
7565
|
/**
|
|
7621
|
-
*
|
|
7566
|
+
* type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
7622
7567
|
*/
|
|
7623
7568
|
type: string;
|
|
7624
7569
|
}
|
|
@@ -7627,47 +7572,47 @@ export declare namespace core {
|
|
|
7627
7572
|
*/
|
|
7628
7573
|
interface ISCSIPersistentVolumeSource {
|
|
7629
7574
|
/**
|
|
7630
|
-
* whether support iSCSI Discovery CHAP authentication
|
|
7575
|
+
* chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
|
|
7631
7576
|
*/
|
|
7632
7577
|
chapAuthDiscovery: boolean;
|
|
7633
7578
|
/**
|
|
7634
|
-
* whether support iSCSI Session CHAP authentication
|
|
7579
|
+
* chapAuthSession defines whether support iSCSI Session CHAP authentication
|
|
7635
7580
|
*/
|
|
7636
7581
|
chapAuthSession: boolean;
|
|
7637
7582
|
/**
|
|
7638
|
-
*
|
|
7583
|
+
* fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
|
|
7639
7584
|
*/
|
|
7640
7585
|
fsType: string;
|
|
7641
7586
|
/**
|
|
7642
|
-
*
|
|
7587
|
+
* initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
|
|
7643
7588
|
*/
|
|
7644
7589
|
initiatorName: string;
|
|
7645
7590
|
/**
|
|
7646
|
-
* Target iSCSI Qualified Name.
|
|
7591
|
+
* iqn is Target iSCSI Qualified Name.
|
|
7647
7592
|
*/
|
|
7648
7593
|
iqn: string;
|
|
7649
7594
|
/**
|
|
7650
|
-
*
|
|
7595
|
+
* iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
|
|
7651
7596
|
*/
|
|
7652
7597
|
iscsiInterface: string;
|
|
7653
7598
|
/**
|
|
7654
|
-
* iSCSI Target Lun number.
|
|
7599
|
+
* lun is iSCSI Target Lun number.
|
|
7655
7600
|
*/
|
|
7656
7601
|
lun: number;
|
|
7657
7602
|
/**
|
|
7658
|
-
* iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7603
|
+
* portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7659
7604
|
*/
|
|
7660
7605
|
portals: string[];
|
|
7661
7606
|
/**
|
|
7662
|
-
*
|
|
7607
|
+
* readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
|
|
7663
7608
|
*/
|
|
7664
7609
|
readOnly: boolean;
|
|
7665
7610
|
/**
|
|
7666
|
-
* CHAP Secret for iSCSI target and initiator authentication
|
|
7611
|
+
* secretRef is the CHAP Secret for iSCSI target and initiator authentication
|
|
7667
7612
|
*/
|
|
7668
7613
|
secretRef: outputs.core.v1.SecretReference;
|
|
7669
7614
|
/**
|
|
7670
|
-
* iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7615
|
+
* targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7671
7616
|
*/
|
|
7672
7617
|
targetPortal: string;
|
|
7673
7618
|
}
|
|
@@ -7676,47 +7621,47 @@ export declare namespace core {
|
|
|
7676
7621
|
*/
|
|
7677
7622
|
interface ISCSIVolumeSource {
|
|
7678
7623
|
/**
|
|
7679
|
-
* whether support iSCSI Discovery CHAP authentication
|
|
7624
|
+
* chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
|
|
7680
7625
|
*/
|
|
7681
7626
|
chapAuthDiscovery: boolean;
|
|
7682
7627
|
/**
|
|
7683
|
-
* whether support iSCSI Session CHAP authentication
|
|
7628
|
+
* chapAuthSession defines whether support iSCSI Session CHAP authentication
|
|
7684
7629
|
*/
|
|
7685
7630
|
chapAuthSession: boolean;
|
|
7686
7631
|
/**
|
|
7687
|
-
*
|
|
7632
|
+
* fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
|
|
7688
7633
|
*/
|
|
7689
7634
|
fsType: string;
|
|
7690
7635
|
/**
|
|
7691
|
-
*
|
|
7636
|
+
* initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
|
|
7692
7637
|
*/
|
|
7693
7638
|
initiatorName: string;
|
|
7694
7639
|
/**
|
|
7695
|
-
*
|
|
7640
|
+
* iqn is the target iSCSI Qualified Name.
|
|
7696
7641
|
*/
|
|
7697
7642
|
iqn: string;
|
|
7698
7643
|
/**
|
|
7699
|
-
*
|
|
7644
|
+
* iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
|
|
7700
7645
|
*/
|
|
7701
7646
|
iscsiInterface: string;
|
|
7702
7647
|
/**
|
|
7703
|
-
* iSCSI Target Lun number.
|
|
7648
|
+
* lun represents iSCSI Target Lun number.
|
|
7704
7649
|
*/
|
|
7705
7650
|
lun: number;
|
|
7706
7651
|
/**
|
|
7707
|
-
* iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7652
|
+
* portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7708
7653
|
*/
|
|
7709
7654
|
portals: string[];
|
|
7710
7655
|
/**
|
|
7711
|
-
*
|
|
7656
|
+
* readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
|
|
7712
7657
|
*/
|
|
7713
7658
|
readOnly: boolean;
|
|
7714
7659
|
/**
|
|
7715
|
-
* CHAP Secret for iSCSI target and initiator authentication
|
|
7660
|
+
* secretRef is the CHAP Secret for iSCSI target and initiator authentication
|
|
7716
7661
|
*/
|
|
7717
7662
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
7718
7663
|
/**
|
|
7719
|
-
* iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7664
|
+
* targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
|
|
7720
7665
|
*/
|
|
7721
7666
|
targetPortal: string;
|
|
7722
7667
|
}
|
|
@@ -7725,15 +7670,15 @@ export declare namespace core {
|
|
|
7725
7670
|
*/
|
|
7726
7671
|
interface KeyToPath {
|
|
7727
7672
|
/**
|
|
7728
|
-
*
|
|
7673
|
+
* key is the key to project.
|
|
7729
7674
|
*/
|
|
7730
7675
|
key: string;
|
|
7731
7676
|
/**
|
|
7732
|
-
* Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
7677
|
+
* mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
7733
7678
|
*/
|
|
7734
7679
|
mode: number;
|
|
7735
7680
|
/**
|
|
7736
|
-
*
|
|
7681
|
+
* path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
|
|
7737
7682
|
*/
|
|
7738
7683
|
path: string;
|
|
7739
7684
|
}
|
|
@@ -7824,11 +7769,6 @@ export declare namespace core {
|
|
|
7824
7769
|
};
|
|
7825
7770
|
/**
|
|
7826
7771
|
* Type of resource that this limit applies to.
|
|
7827
|
-
*
|
|
7828
|
-
* Possible enum values:
|
|
7829
|
-
* - `"Container"` Limit that applies to all containers in a namespace
|
|
7830
|
-
* - `"PersistentVolumeClaim"` Limit that applies to all persistent volume claims in a namespace
|
|
7831
|
-
* - `"Pod"` Limit that applies to all pods in a namespace
|
|
7832
7772
|
*/
|
|
7833
7773
|
type: string;
|
|
7834
7774
|
}
|
|
@@ -7881,11 +7821,11 @@ export declare namespace core {
|
|
|
7881
7821
|
*/
|
|
7882
7822
|
interface LocalVolumeSource {
|
|
7883
7823
|
/**
|
|
7884
|
-
*
|
|
7824
|
+
* fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
|
|
7885
7825
|
*/
|
|
7886
7826
|
fsType: string;
|
|
7887
7827
|
/**
|
|
7888
|
-
*
|
|
7828
|
+
* path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
|
|
7889
7829
|
*/
|
|
7890
7830
|
path: string;
|
|
7891
7831
|
}
|
|
@@ -7894,15 +7834,15 @@ export declare namespace core {
|
|
|
7894
7834
|
*/
|
|
7895
7835
|
interface NFSVolumeSource {
|
|
7896
7836
|
/**
|
|
7897
|
-
*
|
|
7837
|
+
* path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
7898
7838
|
*/
|
|
7899
7839
|
path: string;
|
|
7900
7840
|
/**
|
|
7901
|
-
*
|
|
7841
|
+
* readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
7902
7842
|
*/
|
|
7903
7843
|
readOnly: boolean;
|
|
7904
7844
|
/**
|
|
7905
|
-
*
|
|
7845
|
+
* server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
7906
7846
|
*/
|
|
7907
7847
|
server: string;
|
|
7908
7848
|
}
|
|
@@ -7944,13 +7884,6 @@ export declare namespace core {
|
|
|
7944
7884
|
status: string;
|
|
7945
7885
|
/**
|
|
7946
7886
|
* Type of namespace controller condition.
|
|
7947
|
-
*
|
|
7948
|
-
* Possible enum values:
|
|
7949
|
-
* - `"NamespaceContentRemaining"` contains information about resources remaining in a namespace.
|
|
7950
|
-
* - `"NamespaceDeletionContentFailure"` contains information about namespace deleter errors during deletion of resources.
|
|
7951
|
-
* - `"NamespaceDeletionDiscoveryFailure"` contains information about namespace deleter errors during resource discovery.
|
|
7952
|
-
* - `"NamespaceDeletionGroupVersionParsingFailure"` contains information about namespace deleter errors parsing GV for legacy types.
|
|
7953
|
-
* - `"NamespaceFinalizersRemaining"` contains information about which finalizers are on resources remaining in a namespace.
|
|
7954
7887
|
*/
|
|
7955
7888
|
type: string;
|
|
7956
7889
|
}
|
|
@@ -7973,10 +7906,6 @@ export declare namespace core {
|
|
|
7973
7906
|
conditions: outputs.core.v1.NamespaceCondition[];
|
|
7974
7907
|
/**
|
|
7975
7908
|
* Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
|
|
7976
|
-
*
|
|
7977
|
-
* Possible enum values:
|
|
7978
|
-
* - `"Active"` means the namespace is available for use in the system
|
|
7979
|
-
* - `"Terminating"` means the namespace is undergoing graceful termination
|
|
7980
7909
|
*/
|
|
7981
7910
|
phase: string;
|
|
7982
7911
|
}
|
|
@@ -8015,13 +7944,6 @@ export declare namespace core {
|
|
|
8015
7944
|
address: string;
|
|
8016
7945
|
/**
|
|
8017
7946
|
* Node address type, one of Hostname, ExternalIP or InternalIP.
|
|
8018
|
-
*
|
|
8019
|
-
* Possible enum values:
|
|
8020
|
-
* - `"ExternalDNS"` identifies a DNS name which resolves to an IP address which has the characteristics of a NodeExternalIP. The IP it resolves to may or may not be a listed NodeExternalIP address.
|
|
8021
|
-
* - `"ExternalIP"` identifies an IP address which is, in some way, intended to be more usable from outside the cluster then an internal IP, though no specific semantics are defined. It may be a globally routable IP, though it is not required to be. External IPs may be assigned directly to an interface on the node, like a NodeInternalIP, or alternatively, packets sent to the external IP may be NAT'ed to an internal node IP rather than being delivered directly (making the IP less efficient for node-to-node traffic than a NodeInternalIP).
|
|
8022
|
-
* - `"Hostname"` identifies a name of the node. Although every node can be assumed to have a NodeAddress of this type, its exact syntax and semantics are not defined, and are not consistent between different clusters.
|
|
8023
|
-
* - `"InternalDNS"` identifies a DNS name which resolves to an IP address which has the characteristics of a NodeInternalIP. The IP it resolves to may or may not be a listed NodeInternalIP address.
|
|
8024
|
-
* - `"InternalIP"` identifies an IP address which is assigned to one of the node's network interfaces. Every node should have at least one address of this type. An internal IP is normally expected to be reachable from every other node, but may not be visible to hosts outside the cluster. By default it is assumed that kube-apiserver can reach node internal IPs, though it is possible to configure clusters where this is not the case. NodeInternalIP is the default type of node IP, and does not necessarily imply that the IP is ONLY reachable internally. If a node has multiple internal IPs, no specific semantics are assigned to the additional IPs.
|
|
8025
7947
|
*/
|
|
8026
7948
|
type: string;
|
|
8027
7949
|
}
|
|
@@ -8064,13 +7986,6 @@ export declare namespace core {
|
|
|
8064
7986
|
status: string;
|
|
8065
7987
|
/**
|
|
8066
7988
|
* Type of node condition.
|
|
8067
|
-
*
|
|
8068
|
-
* Possible enum values:
|
|
8069
|
-
* - `"DiskPressure"` means the kubelet is under pressure due to insufficient available disk.
|
|
8070
|
-
* - `"MemoryPressure"` means the kubelet is under pressure due to insufficient available memory.
|
|
8071
|
-
* - `"NetworkUnavailable"` means that network for the node is not correctly configured.
|
|
8072
|
-
* - `"PIDPressure"` means the kubelet is under pressure due to insufficient available PID.
|
|
8073
|
-
* - `"Ready"` means kubelet is healthy and ready to accept pods.
|
|
8074
7989
|
*/
|
|
8075
7990
|
type: string;
|
|
8076
7991
|
}
|
|
@@ -8132,14 +8047,6 @@ export declare namespace core {
|
|
|
8132
8047
|
key: string;
|
|
8133
8048
|
/**
|
|
8134
8049
|
* Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
|
|
8135
|
-
*
|
|
8136
|
-
* Possible enum values:
|
|
8137
|
-
* - `"DoesNotExist"`
|
|
8138
|
-
* - `"Exists"`
|
|
8139
|
-
* - `"Gt"`
|
|
8140
|
-
* - `"In"`
|
|
8141
|
-
* - `"Lt"`
|
|
8142
|
-
* - `"NotIn"`
|
|
8143
8050
|
*/
|
|
8144
8051
|
operator: string;
|
|
8145
8052
|
/**
|
|
@@ -8165,7 +8072,7 @@ export declare namespace core {
|
|
|
8165
8072
|
*/
|
|
8166
8073
|
interface NodeSpec {
|
|
8167
8074
|
/**
|
|
8168
|
-
* Deprecated
|
|
8075
|
+
* Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed from Kubelets as of 1.24 and will be fully removed in 1.26.
|
|
8169
8076
|
*/
|
|
8170
8077
|
configSource: outputs.core.v1.NodeConfigSource;
|
|
8171
8078
|
/**
|
|
@@ -8235,11 +8142,6 @@ export declare namespace core {
|
|
|
8235
8142
|
nodeInfo: outputs.core.v1.NodeSystemInfo;
|
|
8236
8143
|
/**
|
|
8237
8144
|
* NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.
|
|
8238
|
-
*
|
|
8239
|
-
* Possible enum values:
|
|
8240
|
-
* - `"Pending"` means the node has been created/added by the system, but not configured.
|
|
8241
|
-
* - `"Running"` means the node has been configured and has Kubernetes components running.
|
|
8242
|
-
* - `"Terminated"` means the node has been removed from the cluster.
|
|
8243
8145
|
*/
|
|
8244
8146
|
phase: string;
|
|
8245
8147
|
/**
|
|
@@ -8264,7 +8166,7 @@ export declare namespace core {
|
|
|
8264
8166
|
*/
|
|
8265
8167
|
bootID: string;
|
|
8266
8168
|
/**
|
|
8267
|
-
* ContainerRuntime Version reported by the node through runtime remote API (e.g.
|
|
8169
|
+
* ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).
|
|
8268
8170
|
*/
|
|
8269
8171
|
containerRuntimeVersion: string;
|
|
8270
8172
|
/**
|
|
@@ -8359,11 +8261,11 @@ export declare namespace core {
|
|
|
8359
8261
|
*/
|
|
8360
8262
|
metadata: outputs.meta.v1.ObjectMeta;
|
|
8361
8263
|
/**
|
|
8362
|
-
*
|
|
8264
|
+
* spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
|
|
8363
8265
|
*/
|
|
8364
8266
|
spec: outputs.core.v1.PersistentVolumeSpec;
|
|
8365
8267
|
/**
|
|
8366
|
-
*
|
|
8268
|
+
* status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
|
|
8367
8269
|
*/
|
|
8368
8270
|
status: outputs.core.v1.PersistentVolumeStatus;
|
|
8369
8271
|
}
|
|
@@ -8384,11 +8286,11 @@ export declare namespace core {
|
|
|
8384
8286
|
*/
|
|
8385
8287
|
metadata: outputs.meta.v1.ObjectMeta;
|
|
8386
8288
|
/**
|
|
8387
|
-
*
|
|
8289
|
+
* spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
|
8388
8290
|
*/
|
|
8389
8291
|
spec: outputs.core.v1.PersistentVolumeClaimSpec;
|
|
8390
8292
|
/**
|
|
8391
|
-
*
|
|
8293
|
+
* status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
|
8392
8294
|
*/
|
|
8393
8295
|
status: outputs.core.v1.PersistentVolumeClaimStatus;
|
|
8394
8296
|
}
|
|
@@ -8397,30 +8299,22 @@ export declare namespace core {
|
|
|
8397
8299
|
*/
|
|
8398
8300
|
interface PersistentVolumeClaimCondition {
|
|
8399
8301
|
/**
|
|
8400
|
-
*
|
|
8302
|
+
* lastProbeTime is the time we probed the condition.
|
|
8401
8303
|
*/
|
|
8402
8304
|
lastProbeTime: string;
|
|
8403
8305
|
/**
|
|
8404
|
-
*
|
|
8306
|
+
* lastTransitionTime is the time the condition transitioned from one status to another.
|
|
8405
8307
|
*/
|
|
8406
8308
|
lastTransitionTime: string;
|
|
8407
8309
|
/**
|
|
8408
|
-
*
|
|
8310
|
+
* message is the human-readable message indicating details about last transition.
|
|
8409
8311
|
*/
|
|
8410
8312
|
message: string;
|
|
8411
8313
|
/**
|
|
8412
|
-
*
|
|
8314
|
+
* reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "ResizeStarted" that means the underlying persistent volume is being resized.
|
|
8413
8315
|
*/
|
|
8414
8316
|
reason: string;
|
|
8415
8317
|
status: string;
|
|
8416
|
-
/**
|
|
8417
|
-
*
|
|
8418
|
-
*
|
|
8419
|
-
*
|
|
8420
|
-
* Possible enum values:
|
|
8421
|
-
* - `"FileSystemResizePending"` - controller resize is finished and a file system resize is pending on node
|
|
8422
|
-
* - `"Resizing"` - a user trigger resize of pvc has been started
|
|
8423
|
-
*/
|
|
8424
8318
|
type: string;
|
|
8425
8319
|
}
|
|
8426
8320
|
/**
|
|
@@ -8428,32 +8322,32 @@ export declare namespace core {
|
|
|
8428
8322
|
*/
|
|
8429
8323
|
interface PersistentVolumeClaimSpec {
|
|
8430
8324
|
/**
|
|
8431
|
-
*
|
|
8325
|
+
* accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
|
|
8432
8326
|
*/
|
|
8433
8327
|
accessModes: string[];
|
|
8434
8328
|
/**
|
|
8435
|
-
*
|
|
8329
|
+
* dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.
|
|
8436
8330
|
*/
|
|
8437
8331
|
dataSource: outputs.core.v1.TypedLocalObjectReference;
|
|
8438
8332
|
/**
|
|
8439
|
-
*
|
|
8333
|
+
* dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef
|
|
8440
8334
|
* allows any non-core object, as well as PersistentVolumeClaim objects.
|
|
8441
8335
|
* * While DataSource ignores disallowed values (dropping them), DataSourceRef
|
|
8442
8336
|
* preserves all values, and generates an error if a disallowed value is
|
|
8443
8337
|
* specified.
|
|
8444
|
-
* (
|
|
8338
|
+
* (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
|
8445
8339
|
*/
|
|
8446
8340
|
dataSourceRef: outputs.core.v1.TypedLocalObjectReference;
|
|
8447
8341
|
/**
|
|
8448
|
-
*
|
|
8342
|
+
* resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
|
8449
8343
|
*/
|
|
8450
8344
|
resources: outputs.core.v1.ResourceRequirements;
|
|
8451
8345
|
/**
|
|
8452
|
-
*
|
|
8346
|
+
* selector is a label query over volumes to consider for binding.
|
|
8453
8347
|
*/
|
|
8454
8348
|
selector: outputs.meta.v1.LabelSelector;
|
|
8455
8349
|
/**
|
|
8456
|
-
*
|
|
8350
|
+
* storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
|
|
8457
8351
|
*/
|
|
8458
8352
|
storageClassName: string;
|
|
8459
8353
|
/**
|
|
@@ -8461,7 +8355,7 @@ export declare namespace core {
|
|
|
8461
8355
|
*/
|
|
8462
8356
|
volumeMode: string;
|
|
8463
8357
|
/**
|
|
8464
|
-
*
|
|
8358
|
+
* volumeName is the binding reference to the PersistentVolume backing this claim.
|
|
8465
8359
|
*/
|
|
8466
8360
|
volumeName: string;
|
|
8467
8361
|
}
|
|
@@ -8470,36 +8364,31 @@ export declare namespace core {
|
|
|
8470
8364
|
*/
|
|
8471
8365
|
interface PersistentVolumeClaimStatus {
|
|
8472
8366
|
/**
|
|
8473
|
-
*
|
|
8367
|
+
* accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
|
|
8474
8368
|
*/
|
|
8475
8369
|
accessModes: string[];
|
|
8476
8370
|
/**
|
|
8477
|
-
*
|
|
8371
|
+
* allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
|
|
8478
8372
|
*/
|
|
8479
8373
|
allocatedResources: {
|
|
8480
8374
|
[key: string]: string;
|
|
8481
8375
|
};
|
|
8482
8376
|
/**
|
|
8483
|
-
*
|
|
8377
|
+
* capacity represents the actual resources of the underlying volume.
|
|
8484
8378
|
*/
|
|
8485
8379
|
capacity: {
|
|
8486
8380
|
[key: string]: string;
|
|
8487
8381
|
};
|
|
8488
8382
|
/**
|
|
8489
|
-
*
|
|
8383
|
+
* conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
|
|
8490
8384
|
*/
|
|
8491
8385
|
conditions: outputs.core.v1.PersistentVolumeClaimCondition[];
|
|
8492
8386
|
/**
|
|
8493
|
-
*
|
|
8494
|
-
*
|
|
8495
|
-
* Possible enum values:
|
|
8496
|
-
* - `"Bound"` used for PersistentVolumeClaims that are bound
|
|
8497
|
-
* - `"Lost"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.
|
|
8498
|
-
* - `"Pending"` used for PersistentVolumeClaims that are not yet bound
|
|
8387
|
+
* phase represents the current phase of PersistentVolumeClaim.
|
|
8499
8388
|
*/
|
|
8500
8389
|
phase: string;
|
|
8501
8390
|
/**
|
|
8502
|
-
*
|
|
8391
|
+
* resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
|
|
8503
8392
|
*/
|
|
8504
8393
|
resizeStatus: string;
|
|
8505
8394
|
}
|
|
@@ -8521,11 +8410,11 @@ export declare namespace core {
|
|
|
8521
8410
|
*/
|
|
8522
8411
|
interface PersistentVolumeClaimVolumeSource {
|
|
8523
8412
|
/**
|
|
8524
|
-
*
|
|
8413
|
+
* claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
|
8525
8414
|
*/
|
|
8526
8415
|
claimName: string;
|
|
8527
8416
|
/**
|
|
8528
|
-
* Will force the ReadOnly setting in VolumeMounts. Default false.
|
|
8417
|
+
* readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
|
|
8529
8418
|
*/
|
|
8530
8419
|
readOnly: boolean;
|
|
8531
8420
|
}
|
|
@@ -8534,122 +8423,117 @@ export declare namespace core {
|
|
|
8534
8423
|
*/
|
|
8535
8424
|
interface PersistentVolumeSpec {
|
|
8536
8425
|
/**
|
|
8537
|
-
*
|
|
8426
|
+
* accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
|
|
8538
8427
|
*/
|
|
8539
8428
|
accessModes: string[];
|
|
8540
8429
|
/**
|
|
8541
|
-
*
|
|
8430
|
+
* awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
8542
8431
|
*/
|
|
8543
8432
|
awsElasticBlockStore: outputs.core.v1.AWSElasticBlockStoreVolumeSource;
|
|
8544
8433
|
/**
|
|
8545
|
-
*
|
|
8434
|
+
* azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
|
8546
8435
|
*/
|
|
8547
8436
|
azureDisk: outputs.core.v1.AzureDiskVolumeSource;
|
|
8548
8437
|
/**
|
|
8549
|
-
*
|
|
8438
|
+
* azureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
|
8550
8439
|
*/
|
|
8551
8440
|
azureFile: outputs.core.v1.AzureFilePersistentVolumeSource;
|
|
8552
8441
|
/**
|
|
8553
|
-
*
|
|
8442
|
+
* capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
|
|
8554
8443
|
*/
|
|
8555
8444
|
capacity: {
|
|
8556
8445
|
[key: string]: string;
|
|
8557
8446
|
};
|
|
8558
8447
|
/**
|
|
8559
|
-
*
|
|
8448
|
+
* cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
|
8560
8449
|
*/
|
|
8561
8450
|
cephfs: outputs.core.v1.CephFSPersistentVolumeSource;
|
|
8562
8451
|
/**
|
|
8563
|
-
*
|
|
8452
|
+
* cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
8564
8453
|
*/
|
|
8565
8454
|
cinder: outputs.core.v1.CinderPersistentVolumeSource;
|
|
8566
8455
|
/**
|
|
8567
|
-
*
|
|
8456
|
+
* claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
|
|
8568
8457
|
*/
|
|
8569
8458
|
claimRef: outputs.core.v1.ObjectReference;
|
|
8570
8459
|
/**
|
|
8571
|
-
*
|
|
8460
|
+
* csi represents storage that is handled by an external CSI driver (Beta feature).
|
|
8572
8461
|
*/
|
|
8573
8462
|
csi: outputs.core.v1.CSIPersistentVolumeSource;
|
|
8574
8463
|
/**
|
|
8575
|
-
*
|
|
8464
|
+
* fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
|
8576
8465
|
*/
|
|
8577
8466
|
fc: outputs.core.v1.FCVolumeSource;
|
|
8578
8467
|
/**
|
|
8579
|
-
*
|
|
8468
|
+
* flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
|
|
8580
8469
|
*/
|
|
8581
8470
|
flexVolume: outputs.core.v1.FlexPersistentVolumeSource;
|
|
8582
8471
|
/**
|
|
8583
|
-
*
|
|
8472
|
+
* flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running
|
|
8584
8473
|
*/
|
|
8585
8474
|
flocker: outputs.core.v1.FlockerVolumeSource;
|
|
8586
8475
|
/**
|
|
8587
|
-
*
|
|
8476
|
+
* gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
8588
8477
|
*/
|
|
8589
8478
|
gcePersistentDisk: outputs.core.v1.GCEPersistentDiskVolumeSource;
|
|
8590
8479
|
/**
|
|
8591
|
-
*
|
|
8480
|
+
* glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
|
8592
8481
|
*/
|
|
8593
8482
|
glusterfs: outputs.core.v1.GlusterfsPersistentVolumeSource;
|
|
8594
8483
|
/**
|
|
8595
|
-
*
|
|
8484
|
+
* hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
8596
8485
|
*/
|
|
8597
8486
|
hostPath: outputs.core.v1.HostPathVolumeSource;
|
|
8598
8487
|
/**
|
|
8599
|
-
*
|
|
8488
|
+
* iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.
|
|
8600
8489
|
*/
|
|
8601
8490
|
iscsi: outputs.core.v1.ISCSIPersistentVolumeSource;
|
|
8602
8491
|
/**
|
|
8603
|
-
*
|
|
8492
|
+
* local represents directly-attached storage with node affinity
|
|
8604
8493
|
*/
|
|
8605
8494
|
local: outputs.core.v1.LocalVolumeSource;
|
|
8606
8495
|
/**
|
|
8607
|
-
*
|
|
8496
|
+
* mountOptions is the 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
|
|
8608
8497
|
*/
|
|
8609
8498
|
mountOptions: string[];
|
|
8610
8499
|
/**
|
|
8611
|
-
*
|
|
8500
|
+
* nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
8612
8501
|
*/
|
|
8613
8502
|
nfs: outputs.core.v1.NFSVolumeSource;
|
|
8614
8503
|
/**
|
|
8615
|
-
*
|
|
8504
|
+
* nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.
|
|
8616
8505
|
*/
|
|
8617
8506
|
nodeAffinity: outputs.core.v1.VolumeNodeAffinity;
|
|
8618
8507
|
/**
|
|
8619
|
-
*
|
|
8620
|
-
*
|
|
8621
|
-
* Possible enum values:
|
|
8622
|
-
* - `"Delete"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.
|
|
8623
|
-
* - `"Recycle"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.
|
|
8624
|
-
* - `"Retain"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.
|
|
8508
|
+
* persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
|
|
8625
8509
|
*/
|
|
8626
8510
|
persistentVolumeReclaimPolicy: string;
|
|
8627
8511
|
/**
|
|
8628
|
-
*
|
|
8512
|
+
* photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
|
8629
8513
|
*/
|
|
8630
8514
|
photonPersistentDisk: outputs.core.v1.PhotonPersistentDiskVolumeSource;
|
|
8631
8515
|
/**
|
|
8632
|
-
*
|
|
8516
|
+
* portworxVolume represents a portworx volume attached and mounted on kubelets host machine
|
|
8633
8517
|
*/
|
|
8634
8518
|
portworxVolume: outputs.core.v1.PortworxVolumeSource;
|
|
8635
8519
|
/**
|
|
8636
|
-
*
|
|
8520
|
+
* quobyte represents a Quobyte mount on the host that shares a pod's lifetime
|
|
8637
8521
|
*/
|
|
8638
8522
|
quobyte: outputs.core.v1.QuobyteVolumeSource;
|
|
8639
8523
|
/**
|
|
8640
|
-
*
|
|
8524
|
+
* rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
|
|
8641
8525
|
*/
|
|
8642
8526
|
rbd: outputs.core.v1.RBDPersistentVolumeSource;
|
|
8643
8527
|
/**
|
|
8644
|
-
*
|
|
8528
|
+
* scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
|
8645
8529
|
*/
|
|
8646
8530
|
scaleIO: outputs.core.v1.ScaleIOPersistentVolumeSource;
|
|
8647
8531
|
/**
|
|
8648
|
-
*
|
|
8532
|
+
* storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
|
|
8649
8533
|
*/
|
|
8650
8534
|
storageClassName: string;
|
|
8651
8535
|
/**
|
|
8652
|
-
*
|
|
8536
|
+
* storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md
|
|
8653
8537
|
*/
|
|
8654
8538
|
storageos: outputs.core.v1.StorageOSPersistentVolumeSource;
|
|
8655
8539
|
/**
|
|
@@ -8657,7 +8541,7 @@ export declare namespace core {
|
|
|
8657
8541
|
*/
|
|
8658
8542
|
volumeMode: string;
|
|
8659
8543
|
/**
|
|
8660
|
-
*
|
|
8544
|
+
* vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
|
8661
8545
|
*/
|
|
8662
8546
|
vsphereVolume: outputs.core.v1.VsphereVirtualDiskVolumeSource;
|
|
8663
8547
|
}
|
|
@@ -8666,22 +8550,15 @@ export declare namespace core {
|
|
|
8666
8550
|
*/
|
|
8667
8551
|
interface PersistentVolumeStatus {
|
|
8668
8552
|
/**
|
|
8669
|
-
*
|
|
8553
|
+
* message is a human-readable message indicating details about why the volume is in this state.
|
|
8670
8554
|
*/
|
|
8671
8555
|
message: string;
|
|
8672
8556
|
/**
|
|
8673
|
-
*
|
|
8674
|
-
*
|
|
8675
|
-
* Possible enum values:
|
|
8676
|
-
* - `"Available"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims
|
|
8677
|
-
* - `"Bound"` used for PersistentVolumes that are bound
|
|
8678
|
-
* - `"Failed"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim
|
|
8679
|
-
* - `"Pending"` used for PersistentVolumes that are not available
|
|
8680
|
-
* - `"Released"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource
|
|
8557
|
+
* phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
|
|
8681
8558
|
*/
|
|
8682
8559
|
phase: string;
|
|
8683
8560
|
/**
|
|
8684
|
-
*
|
|
8561
|
+
* reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
|
|
8685
8562
|
*/
|
|
8686
8563
|
reason: string;
|
|
8687
8564
|
}
|
|
@@ -8690,11 +8567,11 @@ export declare namespace core {
|
|
|
8690
8567
|
*/
|
|
8691
8568
|
interface PhotonPersistentDiskVolumeSource {
|
|
8692
8569
|
/**
|
|
8693
|
-
*
|
|
8570
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
8694
8571
|
*/
|
|
8695
8572
|
fsType: string;
|
|
8696
8573
|
/**
|
|
8697
|
-
* ID that identifies Photon Controller persistent disk
|
|
8574
|
+
* pdID is the ID that identifies Photon Controller persistent disk
|
|
8698
8575
|
*/
|
|
8699
8576
|
pdID: string;
|
|
8700
8577
|
}
|
|
@@ -8760,11 +8637,11 @@ export declare namespace core {
|
|
|
8760
8637
|
*/
|
|
8761
8638
|
labelSelector: outputs.meta.v1.LabelSelector;
|
|
8762
8639
|
/**
|
|
8763
|
-
* A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
|
|
8640
|
+
* A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
|
|
8764
8641
|
*/
|
|
8765
8642
|
namespaceSelector: outputs.meta.v1.LabelSelector;
|
|
8766
8643
|
/**
|
|
8767
|
-
* namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace"
|
|
8644
|
+
* namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
|
|
8768
8645
|
*/
|
|
8769
8646
|
namespaces: string[];
|
|
8770
8647
|
/**
|
|
@@ -8811,12 +8688,6 @@ export declare namespace core {
|
|
|
8811
8688
|
status: string;
|
|
8812
8689
|
/**
|
|
8813
8690
|
* Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
|
|
8814
|
-
*
|
|
8815
|
-
* Possible enum values:
|
|
8816
|
-
* - `"ContainersReady"` indicates whether all containers in the pod are ready.
|
|
8817
|
-
* - `"Initialized"` means that all init containers in the pod have started successfully.
|
|
8818
|
-
* - `"PodScheduled"` represents status of the scheduling process for this pod.
|
|
8819
|
-
* - `"Ready"` means the pod is able to service requests and should be added to the load balancing pools of all matching services.
|
|
8820
8691
|
*/
|
|
8821
8692
|
type: string;
|
|
8822
8693
|
}
|
|
@@ -8872,12 +8743,6 @@ export declare namespace core {
|
|
|
8872
8743
|
interface PodReadinessGate {
|
|
8873
8744
|
/**
|
|
8874
8745
|
* ConditionType refers to a condition in the pod's condition list with matching type.
|
|
8875
|
-
*
|
|
8876
|
-
* Possible enum values:
|
|
8877
|
-
* - `"ContainersReady"` indicates whether all containers in the pod are ready.
|
|
8878
|
-
* - `"Initialized"` means that all init containers in the pod have started successfully.
|
|
8879
|
-
* - `"PodScheduled"` represents status of the scheduling process for this pod.
|
|
8880
|
-
* - `"Ready"` means the pod is able to service requests and should be added to the load balancing pools of all matching services.
|
|
8881
8746
|
*/
|
|
8882
8747
|
conditionType: string;
|
|
8883
8748
|
}
|
|
@@ -8956,12 +8821,6 @@ export declare namespace core {
|
|
|
8956
8821
|
dnsConfig: outputs.core.v1.PodDNSConfig;
|
|
8957
8822
|
/**
|
|
8958
8823
|
* Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.
|
|
8959
|
-
*
|
|
8960
|
-
* Possible enum values:
|
|
8961
|
-
* - `"ClusterFirst"` indicates that the pod should use cluster DNS first unless hostNetwork is true, if it is available, then fall back on the default (as determined by kubelet) DNS settings.
|
|
8962
|
-
* - `"ClusterFirstWithHostNet"` indicates that the pod should use cluster DNS first, if it is available, then fall back on the default (as determined by kubelet) DNS settings.
|
|
8963
|
-
* - `"Default"` indicates that the pod should use the default (as determined by kubelet) DNS settings.
|
|
8964
|
-
* - `"None"` indicates that the pod should use empty DNS settings. DNS parameters such as nameservers and search paths should be defined via DNSConfig.
|
|
8965
8824
|
*/
|
|
8966
8825
|
dnsPolicy: string;
|
|
8967
8826
|
/**
|
|
@@ -8993,7 +8852,7 @@ export declare namespace core {
|
|
|
8993
8852
|
*/
|
|
8994
8853
|
hostname: string;
|
|
8995
8854
|
/**
|
|
8996
|
-
* ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use.
|
|
8855
|
+
* ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
|
|
8997
8856
|
*/
|
|
8998
8857
|
imagePullSecrets: outputs.core.v1.LocalObjectReference[];
|
|
8999
8858
|
/**
|
|
@@ -9015,17 +8874,17 @@ export declare namespace core {
|
|
|
9015
8874
|
*
|
|
9016
8875
|
* If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
9017
8876
|
*
|
|
9018
|
-
* If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup This is
|
|
8877
|
+
* If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup This is a beta field and requires the IdentifyPodOS feature
|
|
9019
8878
|
*/
|
|
9020
8879
|
os: outputs.core.v1.PodOS;
|
|
9021
8880
|
/**
|
|
9022
|
-
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
|
8881
|
+
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
|
9023
8882
|
*/
|
|
9024
8883
|
overhead: {
|
|
9025
8884
|
[key: string]: string;
|
|
9026
8885
|
};
|
|
9027
8886
|
/**
|
|
9028
|
-
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
|
|
8887
|
+
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
|
|
9029
8888
|
*/
|
|
9030
8889
|
preemptionPolicy: string;
|
|
9031
8890
|
/**
|
|
@@ -9042,15 +8901,10 @@ export declare namespace core {
|
|
|
9042
8901
|
readinessGates: outputs.core.v1.PodReadinessGate[];
|
|
9043
8902
|
/**
|
|
9044
8903
|
* Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
|
|
9045
|
-
*
|
|
9046
|
-
* Possible enum values:
|
|
9047
|
-
* - `"Always"`
|
|
9048
|
-
* - `"Never"`
|
|
9049
|
-
* - `"OnFailure"`
|
|
9050
8904
|
*/
|
|
9051
8905
|
restartPolicy: string;
|
|
9052
8906
|
/**
|
|
9053
|
-
* RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
|
|
8907
|
+
* RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
|
|
9054
8908
|
*/
|
|
9055
8909
|
runtimeClassName: string;
|
|
9056
8910
|
/**
|
|
@@ -9107,7 +8961,7 @@ export declare namespace core {
|
|
|
9107
8961
|
*/
|
|
9108
8962
|
conditions: outputs.core.v1.PodCondition[];
|
|
9109
8963
|
/**
|
|
9110
|
-
* The list has one entry per container in the manifest.
|
|
8964
|
+
* The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
|
|
9111
8965
|
*/
|
|
9112
8966
|
containerStatuses: outputs.core.v1.ContainerStatus[];
|
|
9113
8967
|
/**
|
|
@@ -9136,13 +8990,6 @@ export declare namespace core {
|
|
|
9136
8990
|
* Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.
|
|
9137
8991
|
*
|
|
9138
8992
|
* More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
|
|
9139
|
-
*
|
|
9140
|
-
* Possible enum values:
|
|
9141
|
-
* - `"Failed"` means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system).
|
|
9142
|
-
* - `"Pending"` means the pod has been accepted by the system, but one or more of the containers has not been started. This includes time before being bound to a node, as well as time spent pulling images onto the host.
|
|
9143
|
-
* - `"Running"` means the pod has been bound to a node and all of the containers have been started. At least one container is still running or is in the process of being restarted.
|
|
9144
|
-
* - `"Succeeded"` means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers.
|
|
9145
|
-
* - `"Unknown"` means that for some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. Deprecated: It isn't being set since 2015 (74da3b14b0c0f658b3bb8d2def5094686d0e9095)
|
|
9146
8993
|
*/
|
|
9147
8994
|
phase: string;
|
|
9148
8995
|
/**
|
|
@@ -9155,11 +9002,6 @@ export declare namespace core {
|
|
|
9155
9002
|
podIPs: outputs.core.v1.PodIP[];
|
|
9156
9003
|
/**
|
|
9157
9004
|
* The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md
|
|
9158
|
-
*
|
|
9159
|
-
* Possible enum values:
|
|
9160
|
-
* - `"BestEffort"` is the BestEffort qos class.
|
|
9161
|
-
* - `"Burstable"` is the Burstable qos class.
|
|
9162
|
-
* - `"Guaranteed"` is the Guaranteed qos class.
|
|
9163
9005
|
*/
|
|
9164
9006
|
qosClass: string;
|
|
9165
9007
|
/**
|
|
@@ -9219,11 +9061,6 @@ export declare namespace core {
|
|
|
9219
9061
|
port: number;
|
|
9220
9062
|
/**
|
|
9221
9063
|
* Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"
|
|
9222
|
-
*
|
|
9223
|
-
* Possible enum values:
|
|
9224
|
-
* - `"SCTP"` is the SCTP protocol.
|
|
9225
|
-
* - `"TCP"` is the TCP protocol.
|
|
9226
|
-
* - `"UDP"` is the UDP protocol.
|
|
9227
9064
|
*/
|
|
9228
9065
|
protocol: string;
|
|
9229
9066
|
}
|
|
@@ -9232,15 +9069,15 @@ export declare namespace core {
|
|
|
9232
9069
|
*/
|
|
9233
9070
|
interface PortworxVolumeSource {
|
|
9234
9071
|
/**
|
|
9235
|
-
*
|
|
9072
|
+
* fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
|
|
9236
9073
|
*/
|
|
9237
9074
|
fsType: string;
|
|
9238
9075
|
/**
|
|
9239
|
-
*
|
|
9076
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
9240
9077
|
*/
|
|
9241
9078
|
readOnly: boolean;
|
|
9242
9079
|
/**
|
|
9243
|
-
*
|
|
9080
|
+
* volumeID uniquely identifies a Portworx volume
|
|
9244
9081
|
*/
|
|
9245
9082
|
volumeID: string;
|
|
9246
9083
|
}
|
|
@@ -9270,7 +9107,7 @@ export declare namespace core {
|
|
|
9270
9107
|
*/
|
|
9271
9108
|
failureThreshold: number;
|
|
9272
9109
|
/**
|
|
9273
|
-
* GRPC specifies an action involving a GRPC port. This is
|
|
9110
|
+
* GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate.
|
|
9274
9111
|
*/
|
|
9275
9112
|
grpc: outputs.core.v1.GRPCAction;
|
|
9276
9113
|
/**
|
|
@@ -9307,11 +9144,11 @@ export declare namespace core {
|
|
|
9307
9144
|
*/
|
|
9308
9145
|
interface ProjectedVolumeSource {
|
|
9309
9146
|
/**
|
|
9310
|
-
*
|
|
9147
|
+
* defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
9311
9148
|
*/
|
|
9312
9149
|
defaultMode: number;
|
|
9313
9150
|
/**
|
|
9314
|
-
* list of volume projections
|
|
9151
|
+
* sources is the list of volume projections
|
|
9315
9152
|
*/
|
|
9316
9153
|
sources: outputs.core.v1.VolumeProjection[];
|
|
9317
9154
|
}
|
|
@@ -9320,27 +9157,27 @@ export declare namespace core {
|
|
|
9320
9157
|
*/
|
|
9321
9158
|
interface QuobyteVolumeSource {
|
|
9322
9159
|
/**
|
|
9323
|
-
*
|
|
9160
|
+
* group to map volume access to Default is no group
|
|
9324
9161
|
*/
|
|
9325
9162
|
group: string;
|
|
9326
9163
|
/**
|
|
9327
|
-
*
|
|
9164
|
+
* readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
|
|
9328
9165
|
*/
|
|
9329
9166
|
readOnly: boolean;
|
|
9330
9167
|
/**
|
|
9331
|
-
*
|
|
9168
|
+
* registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
|
|
9332
9169
|
*/
|
|
9333
9170
|
registry: string;
|
|
9334
9171
|
/**
|
|
9335
|
-
*
|
|
9172
|
+
* tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
|
|
9336
9173
|
*/
|
|
9337
9174
|
tenant: string;
|
|
9338
9175
|
/**
|
|
9339
|
-
*
|
|
9176
|
+
* user to map volume access to Defaults to serivceaccount user
|
|
9340
9177
|
*/
|
|
9341
9178
|
user: string;
|
|
9342
9179
|
/**
|
|
9343
|
-
*
|
|
9180
|
+
* volume is a string that references an already created Quobyte volume by name.
|
|
9344
9181
|
*/
|
|
9345
9182
|
volume: string;
|
|
9346
9183
|
}
|
|
@@ -9349,35 +9186,35 @@ export declare namespace core {
|
|
|
9349
9186
|
*/
|
|
9350
9187
|
interface RBDPersistentVolumeSource {
|
|
9351
9188
|
/**
|
|
9352
|
-
*
|
|
9189
|
+
* fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
|
|
9353
9190
|
*/
|
|
9354
9191
|
fsType: string;
|
|
9355
9192
|
/**
|
|
9356
|
-
*
|
|
9193
|
+
* image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9357
9194
|
*/
|
|
9358
9195
|
image: string;
|
|
9359
9196
|
/**
|
|
9360
|
-
*
|
|
9197
|
+
* keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9361
9198
|
*/
|
|
9362
9199
|
keyring: string;
|
|
9363
9200
|
/**
|
|
9364
|
-
*
|
|
9201
|
+
* monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9365
9202
|
*/
|
|
9366
9203
|
monitors: string[];
|
|
9367
9204
|
/**
|
|
9368
|
-
*
|
|
9205
|
+
* pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9369
9206
|
*/
|
|
9370
9207
|
pool: string;
|
|
9371
9208
|
/**
|
|
9372
|
-
*
|
|
9209
|
+
* readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9373
9210
|
*/
|
|
9374
9211
|
readOnly: boolean;
|
|
9375
9212
|
/**
|
|
9376
|
-
*
|
|
9213
|
+
* secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9377
9214
|
*/
|
|
9378
9215
|
secretRef: outputs.core.v1.SecretReference;
|
|
9379
9216
|
/**
|
|
9380
|
-
*
|
|
9217
|
+
* user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9381
9218
|
*/
|
|
9382
9219
|
user: string;
|
|
9383
9220
|
}
|
|
@@ -9386,35 +9223,35 @@ export declare namespace core {
|
|
|
9386
9223
|
*/
|
|
9387
9224
|
interface RBDVolumeSource {
|
|
9388
9225
|
/**
|
|
9389
|
-
*
|
|
9226
|
+
* fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
|
|
9390
9227
|
*/
|
|
9391
9228
|
fsType: string;
|
|
9392
9229
|
/**
|
|
9393
|
-
*
|
|
9230
|
+
* image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9394
9231
|
*/
|
|
9395
9232
|
image: string;
|
|
9396
9233
|
/**
|
|
9397
|
-
*
|
|
9234
|
+
* keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9398
9235
|
*/
|
|
9399
9236
|
keyring: string;
|
|
9400
9237
|
/**
|
|
9401
|
-
*
|
|
9238
|
+
* monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9402
9239
|
*/
|
|
9403
9240
|
monitors: string[];
|
|
9404
9241
|
/**
|
|
9405
|
-
*
|
|
9242
|
+
* pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9406
9243
|
*/
|
|
9407
9244
|
pool: string;
|
|
9408
9245
|
/**
|
|
9409
|
-
*
|
|
9246
|
+
* readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9410
9247
|
*/
|
|
9411
9248
|
readOnly: boolean;
|
|
9412
9249
|
/**
|
|
9413
|
-
*
|
|
9250
|
+
* secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9414
9251
|
*/
|
|
9415
9252
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
9416
9253
|
/**
|
|
9417
|
-
*
|
|
9254
|
+
* user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
|
|
9418
9255
|
*/
|
|
9419
9256
|
user: string;
|
|
9420
9257
|
}
|
|
@@ -9641,43 +9478,43 @@ export declare namespace core {
|
|
|
9641
9478
|
*/
|
|
9642
9479
|
interface ScaleIOPersistentVolumeSource {
|
|
9643
9480
|
/**
|
|
9644
|
-
*
|
|
9481
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"
|
|
9645
9482
|
*/
|
|
9646
9483
|
fsType: string;
|
|
9647
9484
|
/**
|
|
9648
|
-
*
|
|
9485
|
+
* gateway is the host address of the ScaleIO API Gateway.
|
|
9649
9486
|
*/
|
|
9650
9487
|
gateway: string;
|
|
9651
9488
|
/**
|
|
9652
|
-
*
|
|
9489
|
+
* protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
|
|
9653
9490
|
*/
|
|
9654
9491
|
protectionDomain: string;
|
|
9655
9492
|
/**
|
|
9656
|
-
*
|
|
9493
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
9657
9494
|
*/
|
|
9658
9495
|
readOnly: boolean;
|
|
9659
9496
|
/**
|
|
9660
|
-
*
|
|
9497
|
+
* secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
|
|
9661
9498
|
*/
|
|
9662
9499
|
secretRef: outputs.core.v1.SecretReference;
|
|
9663
9500
|
/**
|
|
9664
|
-
*
|
|
9501
|
+
* sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
|
|
9665
9502
|
*/
|
|
9666
9503
|
sslEnabled: boolean;
|
|
9667
9504
|
/**
|
|
9668
|
-
*
|
|
9505
|
+
* storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
|
|
9669
9506
|
*/
|
|
9670
9507
|
storageMode: string;
|
|
9671
9508
|
/**
|
|
9672
|
-
*
|
|
9509
|
+
* storagePool is the ScaleIO Storage Pool associated with the protection domain.
|
|
9673
9510
|
*/
|
|
9674
9511
|
storagePool: string;
|
|
9675
9512
|
/**
|
|
9676
|
-
*
|
|
9513
|
+
* system is the name of the storage system as configured in ScaleIO.
|
|
9677
9514
|
*/
|
|
9678
9515
|
system: string;
|
|
9679
9516
|
/**
|
|
9680
|
-
*
|
|
9517
|
+
* volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
|
|
9681
9518
|
*/
|
|
9682
9519
|
volumeName: string;
|
|
9683
9520
|
}
|
|
@@ -9686,43 +9523,43 @@ export declare namespace core {
|
|
|
9686
9523
|
*/
|
|
9687
9524
|
interface ScaleIOVolumeSource {
|
|
9688
9525
|
/**
|
|
9689
|
-
*
|
|
9526
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
|
|
9690
9527
|
*/
|
|
9691
9528
|
fsType: string;
|
|
9692
9529
|
/**
|
|
9693
|
-
*
|
|
9530
|
+
* gateway is the host address of the ScaleIO API Gateway.
|
|
9694
9531
|
*/
|
|
9695
9532
|
gateway: string;
|
|
9696
9533
|
/**
|
|
9697
|
-
*
|
|
9534
|
+
* protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
|
|
9698
9535
|
*/
|
|
9699
9536
|
protectionDomain: string;
|
|
9700
9537
|
/**
|
|
9701
|
-
* Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
9538
|
+
* readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
9702
9539
|
*/
|
|
9703
9540
|
readOnly: boolean;
|
|
9704
9541
|
/**
|
|
9705
|
-
*
|
|
9542
|
+
* secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
|
|
9706
9543
|
*/
|
|
9707
9544
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
9708
9545
|
/**
|
|
9709
|
-
* Flag
|
|
9546
|
+
* sslEnabled Flag enable/disable SSL communication with Gateway, default false
|
|
9710
9547
|
*/
|
|
9711
9548
|
sslEnabled: boolean;
|
|
9712
9549
|
/**
|
|
9713
|
-
*
|
|
9550
|
+
* storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
|
|
9714
9551
|
*/
|
|
9715
9552
|
storageMode: string;
|
|
9716
9553
|
/**
|
|
9717
|
-
*
|
|
9554
|
+
* storagePool is the ScaleIO Storage Pool associated with the protection domain.
|
|
9718
9555
|
*/
|
|
9719
9556
|
storagePool: string;
|
|
9720
9557
|
/**
|
|
9721
|
-
*
|
|
9558
|
+
* system is the name of the storage system as configured in ScaleIO.
|
|
9722
9559
|
*/
|
|
9723
9560
|
system: string;
|
|
9724
9561
|
/**
|
|
9725
|
-
*
|
|
9562
|
+
* volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
|
|
9726
9563
|
*/
|
|
9727
9564
|
volumeName: string;
|
|
9728
9565
|
}
|
|
@@ -9741,24 +9578,10 @@ export declare namespace core {
|
|
|
9741
9578
|
interface ScopedResourceSelectorRequirement {
|
|
9742
9579
|
/**
|
|
9743
9580
|
* Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
|
|
9744
|
-
*
|
|
9745
|
-
* Possible enum values:
|
|
9746
|
-
* - `"DoesNotExist"`
|
|
9747
|
-
* - `"Exists"`
|
|
9748
|
-
* - `"In"`
|
|
9749
|
-
* - `"NotIn"`
|
|
9750
9581
|
*/
|
|
9751
9582
|
operator: string;
|
|
9752
9583
|
/**
|
|
9753
9584
|
* The name of the scope that the selector applies to.
|
|
9754
|
-
*
|
|
9755
|
-
* Possible enum values:
|
|
9756
|
-
* - `"BestEffort"` Match all pod objects that have best effort quality of service
|
|
9757
|
-
* - `"CrossNamespacePodAffinity"` Match all pod objects that have cross-namespace pod (anti)affinity mentioned. This is a beta feature enabled by the PodAffinityNamespaceSelector feature flag.
|
|
9758
|
-
* - `"NotBestEffort"` Match all pod objects that do not have best effort quality of service
|
|
9759
|
-
* - `"NotTerminating"` Match all pod objects where spec.activeDeadlineSeconds is nil
|
|
9760
|
-
* - `"PriorityClass"` Match all pod objects that have priority class mentioned
|
|
9761
|
-
* - `"Terminating"` Match all pod objects where spec.activeDeadlineSeconds >=0
|
|
9762
9585
|
*/
|
|
9763
9586
|
scopeName: string;
|
|
9764
9587
|
/**
|
|
@@ -9778,11 +9601,6 @@ export declare namespace core {
|
|
|
9778
9601
|
* type indicates which kind of seccomp profile will be applied. Valid options are:
|
|
9779
9602
|
*
|
|
9780
9603
|
* Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.
|
|
9781
|
-
*
|
|
9782
|
-
* Possible enum values:
|
|
9783
|
-
* - `"Localhost"` indicates a profile defined in a file on the node should be used. The file's location relative to <kubelet-root-dir>/seccomp.
|
|
9784
|
-
* - `"RuntimeDefault"` represents the default container runtime seccomp profile.
|
|
9785
|
-
* - `"Unconfined"` indicates no seccomp profile is applied (A.K.A. unconfined).
|
|
9786
9604
|
*/
|
|
9787
9605
|
type: string;
|
|
9788
9606
|
}
|
|
@@ -9872,7 +9690,7 @@ export declare namespace core {
|
|
|
9872
9690
|
*/
|
|
9873
9691
|
interface SecretProjection {
|
|
9874
9692
|
/**
|
|
9875
|
-
*
|
|
9693
|
+
* items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
9876
9694
|
*/
|
|
9877
9695
|
items: outputs.core.v1.KeyToPath[];
|
|
9878
9696
|
/**
|
|
@@ -9880,7 +9698,7 @@ export declare namespace core {
|
|
|
9880
9698
|
*/
|
|
9881
9699
|
name: string;
|
|
9882
9700
|
/**
|
|
9883
|
-
*
|
|
9701
|
+
* optional field specify whether the Secret or its key must be defined
|
|
9884
9702
|
*/
|
|
9885
9703
|
optional: boolean;
|
|
9886
9704
|
}
|
|
@@ -9889,11 +9707,11 @@ export declare namespace core {
|
|
|
9889
9707
|
*/
|
|
9890
9708
|
interface SecretReference {
|
|
9891
9709
|
/**
|
|
9892
|
-
*
|
|
9710
|
+
* name is unique within a namespace to reference a secret resource.
|
|
9893
9711
|
*/
|
|
9894
9712
|
name: string;
|
|
9895
9713
|
/**
|
|
9896
|
-
*
|
|
9714
|
+
* namespace defines the space within which the secret name must be unique.
|
|
9897
9715
|
*/
|
|
9898
9716
|
namespace: string;
|
|
9899
9717
|
}
|
|
@@ -9904,19 +9722,19 @@ export declare namespace core {
|
|
|
9904
9722
|
*/
|
|
9905
9723
|
interface SecretVolumeSource {
|
|
9906
9724
|
/**
|
|
9907
|
-
* Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
9725
|
+
* defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
9908
9726
|
*/
|
|
9909
9727
|
defaultMode: number;
|
|
9910
9728
|
/**
|
|
9911
|
-
* If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
9729
|
+
* items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
9912
9730
|
*/
|
|
9913
9731
|
items: outputs.core.v1.KeyToPath[];
|
|
9914
9732
|
/**
|
|
9915
|
-
*
|
|
9733
|
+
* optional field specify whether the Secret or its keys must be defined
|
|
9916
9734
|
*/
|
|
9917
9735
|
optional: boolean;
|
|
9918
9736
|
/**
|
|
9919
|
-
*
|
|
9737
|
+
* secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
|
9920
9738
|
*/
|
|
9921
9739
|
secretName: string;
|
|
9922
9740
|
}
|
|
@@ -10044,7 +9862,7 @@ export declare namespace core {
|
|
|
10044
9862
|
*/
|
|
10045
9863
|
metadata: outputs.meta.v1.ObjectMeta;
|
|
10046
9864
|
/**
|
|
10047
|
-
* Secrets is
|
|
9865
|
+
* Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
|
|
10048
9866
|
*/
|
|
10049
9867
|
secrets: outputs.core.v1.ObjectReference[];
|
|
10050
9868
|
}
|
|
@@ -10053,15 +9871,15 @@ export declare namespace core {
|
|
|
10053
9871
|
*/
|
|
10054
9872
|
interface ServiceAccountTokenProjection {
|
|
10055
9873
|
/**
|
|
10056
|
-
*
|
|
9874
|
+
* audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
|
|
10057
9875
|
*/
|
|
10058
9876
|
audience: string;
|
|
10059
9877
|
/**
|
|
10060
|
-
*
|
|
9878
|
+
* expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
|
|
10061
9879
|
*/
|
|
10062
9880
|
expirationSeconds: number;
|
|
10063
9881
|
/**
|
|
10064
|
-
*
|
|
9882
|
+
* path is the path relative to the mount point of the file to project the token into.
|
|
10065
9883
|
*/
|
|
10066
9884
|
path: string;
|
|
10067
9885
|
}
|
|
@@ -10070,7 +9888,7 @@ export declare namespace core {
|
|
|
10070
9888
|
*/
|
|
10071
9889
|
interface ServicePort {
|
|
10072
9890
|
/**
|
|
10073
|
-
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and
|
|
9891
|
+
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
|
|
10074
9892
|
*/
|
|
10075
9893
|
appProtocol: string;
|
|
10076
9894
|
/**
|
|
@@ -10087,11 +9905,6 @@ export declare namespace core {
|
|
|
10087
9905
|
port: number;
|
|
10088
9906
|
/**
|
|
10089
9907
|
* The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.
|
|
10090
|
-
*
|
|
10091
|
-
* Possible enum values:
|
|
10092
|
-
* - `"SCTP"` is the SCTP protocol.
|
|
10093
|
-
* - `"TCP"` is the TCP protocol.
|
|
10094
|
-
* - `"UDP"` is the UDP protocol.
|
|
10095
9908
|
*/
|
|
10096
9909
|
protocol: string;
|
|
10097
9910
|
/**
|
|
@@ -10104,7 +9917,7 @@ export declare namespace core {
|
|
|
10104
9917
|
*/
|
|
10105
9918
|
interface ServiceSpec {
|
|
10106
9919
|
/**
|
|
10107
|
-
* allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.
|
|
9920
|
+
* allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.
|
|
10108
9921
|
*/
|
|
10109
9922
|
allocateLoadBalancerNodePorts: boolean;
|
|
10110
9923
|
/**
|
|
@@ -10127,10 +9940,6 @@ export declare namespace core {
|
|
|
10127
9940
|
externalName: string;
|
|
10128
9941
|
/**
|
|
10129
9942
|
* externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. "Local" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. "Cluster" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.
|
|
10130
|
-
*
|
|
10131
|
-
* Possible enum values:
|
|
10132
|
-
* - `"Cluster"` specifies node-global (legacy) behavior.
|
|
10133
|
-
* - `"Local"` specifies node-local endpoints behavior.
|
|
10134
9943
|
*/
|
|
10135
9944
|
externalTrafficPolicy: string;
|
|
10136
9945
|
/**
|
|
@@ -10160,7 +9969,7 @@ export declare namespace core {
|
|
|
10160
9969
|
*/
|
|
10161
9970
|
loadBalancerClass: string;
|
|
10162
9971
|
/**
|
|
10163
|
-
* Only applies to Service Type: LoadBalancer
|
|
9972
|
+
* Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations, and it cannot support dual-stack. As of Kubernetes v1.24, users are encouraged to use implementation-specific annotations when available. This field may be removed in a future API version.
|
|
10164
9973
|
*/
|
|
10165
9974
|
loadBalancerIP: string;
|
|
10166
9975
|
/**
|
|
@@ -10183,10 +9992,6 @@ export declare namespace core {
|
|
|
10183
9992
|
};
|
|
10184
9993
|
/**
|
|
10185
9994
|
* Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
|
|
10186
|
-
*
|
|
10187
|
-
* Possible enum values:
|
|
10188
|
-
* - `"ClientIP"` is the Client IP based.
|
|
10189
|
-
* - `"None"` - no session affinity.
|
|
10190
9995
|
*/
|
|
10191
9996
|
sessionAffinity: string;
|
|
10192
9997
|
/**
|
|
@@ -10199,12 +10004,6 @@ export declare namespace core {
|
|
|
10199
10004
|
topologyKeys: string[];
|
|
10200
10005
|
/**
|
|
10201
10006
|
* type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
|
|
10202
|
-
*
|
|
10203
|
-
* Possible enum values:
|
|
10204
|
-
* - `"ClusterIP"` means a service will only be accessible inside the cluster, via the cluster IP.
|
|
10205
|
-
* - `"ExternalName"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.
|
|
10206
|
-
* - `"LoadBalancer"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.
|
|
10207
|
-
* - `"NodePort"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.
|
|
10208
10007
|
*/
|
|
10209
10008
|
type: string | enums.core.v1.ServiceSpecType;
|
|
10210
10009
|
}
|
|
@@ -10235,23 +10034,23 @@ export declare namespace core {
|
|
|
10235
10034
|
*/
|
|
10236
10035
|
interface StorageOSPersistentVolumeSource {
|
|
10237
10036
|
/**
|
|
10238
|
-
*
|
|
10037
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
10239
10038
|
*/
|
|
10240
10039
|
fsType: string;
|
|
10241
10040
|
/**
|
|
10242
|
-
*
|
|
10041
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
10243
10042
|
*/
|
|
10244
10043
|
readOnly: boolean;
|
|
10245
10044
|
/**
|
|
10246
|
-
*
|
|
10045
|
+
* secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
|
|
10247
10046
|
*/
|
|
10248
10047
|
secretRef: outputs.core.v1.ObjectReference;
|
|
10249
10048
|
/**
|
|
10250
|
-
*
|
|
10049
|
+
* volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
|
|
10251
10050
|
*/
|
|
10252
10051
|
volumeName: string;
|
|
10253
10052
|
/**
|
|
10254
|
-
*
|
|
10053
|
+
* volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
|
|
10255
10054
|
*/
|
|
10256
10055
|
volumeNamespace: string;
|
|
10257
10056
|
}
|
|
@@ -10260,23 +10059,23 @@ export declare namespace core {
|
|
|
10260
10059
|
*/
|
|
10261
10060
|
interface StorageOSVolumeSource {
|
|
10262
10061
|
/**
|
|
10263
|
-
*
|
|
10062
|
+
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
10264
10063
|
*/
|
|
10265
10064
|
fsType: string;
|
|
10266
10065
|
/**
|
|
10267
|
-
*
|
|
10066
|
+
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
10268
10067
|
*/
|
|
10269
10068
|
readOnly: boolean;
|
|
10270
10069
|
/**
|
|
10271
|
-
*
|
|
10070
|
+
* secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
|
|
10272
10071
|
*/
|
|
10273
10072
|
secretRef: outputs.core.v1.LocalObjectReference;
|
|
10274
10073
|
/**
|
|
10275
|
-
*
|
|
10074
|
+
* volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
|
|
10276
10075
|
*/
|
|
10277
10076
|
volumeName: string;
|
|
10278
10077
|
/**
|
|
10279
|
-
*
|
|
10078
|
+
* volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
|
|
10280
10079
|
*/
|
|
10281
10080
|
volumeNamespace: string;
|
|
10282
10081
|
}
|
|
@@ -10312,11 +10111,6 @@ export declare namespace core {
|
|
|
10312
10111
|
interface Taint {
|
|
10313
10112
|
/**
|
|
10314
10113
|
* Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
|
|
10315
|
-
*
|
|
10316
|
-
* Possible enum values:
|
|
10317
|
-
* - `"NoExecute"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.
|
|
10318
|
-
* - `"NoSchedule"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.
|
|
10319
|
-
* - `"PreferNoSchedule"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.
|
|
10320
10114
|
*/
|
|
10321
10115
|
effect: string;
|
|
10322
10116
|
/**
|
|
@@ -10338,11 +10132,6 @@ export declare namespace core {
|
|
|
10338
10132
|
interface Toleration {
|
|
10339
10133
|
/**
|
|
10340
10134
|
* Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
|
|
10341
|
-
*
|
|
10342
|
-
* Possible enum values:
|
|
10343
|
-
* - `"NoExecute"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.
|
|
10344
|
-
* - `"NoSchedule"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.
|
|
10345
|
-
* - `"PreferNoSchedule"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.
|
|
10346
10135
|
*/
|
|
10347
10136
|
effect: string;
|
|
10348
10137
|
/**
|
|
@@ -10351,10 +10140,6 @@ export declare namespace core {
|
|
|
10351
10140
|
key: string;
|
|
10352
10141
|
/**
|
|
10353
10142
|
* 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 pod can tolerate all taints of a particular category.
|
|
10354
|
-
*
|
|
10355
|
-
* Possible enum values:
|
|
10356
|
-
* - `"Equal"`
|
|
10357
|
-
* - `"Exists"`
|
|
10358
10143
|
*/
|
|
10359
10144
|
operator: string;
|
|
10360
10145
|
/**
|
|
@@ -10397,11 +10182,19 @@ export declare namespace core {
|
|
|
10397
10182
|
*/
|
|
10398
10183
|
labelSelector: outputs.meta.v1.LabelSelector;
|
|
10399
10184
|
/**
|
|
10400
|
-
* MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as
|
|
10185
|
+
* MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.
|
|
10401
10186
|
*/
|
|
10402
10187
|
maxSkew: number;
|
|
10403
10188
|
/**
|
|
10404
|
-
*
|
|
10189
|
+
* MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
|
|
10190
|
+
*
|
|
10191
|
+
* For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.
|
|
10192
|
+
*
|
|
10193
|
+
* This is an alpha field and requires enabling MinDomainsInPodTopologySpread feature gate.
|
|
10194
|
+
*/
|
|
10195
|
+
minDomains: number;
|
|
10196
|
+
/**
|
|
10197
|
+
* TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes match the node selector. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It's a required field.
|
|
10405
10198
|
*/
|
|
10406
10199
|
topologyKey: string;
|
|
10407
10200
|
/**
|
|
@@ -10409,10 +10202,6 @@ export declare namespace core {
|
|
|
10409
10202
|
* but giving higher precedence to topologies that would help reduce the
|
|
10410
10203
|
* skew.
|
|
10411
10204
|
* A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.
|
|
10412
|
-
*
|
|
10413
|
-
* Possible enum values:
|
|
10414
|
-
* - `"DoNotSchedule"` instructs the scheduler not to schedule the pod when constraints are not satisfied.
|
|
10415
|
-
* - `"ScheduleAnyway"` instructs the scheduler to schedule the pod even if constraints are not satisfied.
|
|
10416
10205
|
*/
|
|
10417
10206
|
whenUnsatisfiable: string;
|
|
10418
10207
|
}
|
|
@@ -10438,43 +10227,43 @@ export declare namespace core {
|
|
|
10438
10227
|
*/
|
|
10439
10228
|
interface Volume {
|
|
10440
10229
|
/**
|
|
10441
|
-
*
|
|
10230
|
+
* awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
10442
10231
|
*/
|
|
10443
10232
|
awsElasticBlockStore: outputs.core.v1.AWSElasticBlockStoreVolumeSource;
|
|
10444
10233
|
/**
|
|
10445
|
-
*
|
|
10234
|
+
* azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
|
10446
10235
|
*/
|
|
10447
10236
|
azureDisk: outputs.core.v1.AzureDiskVolumeSource;
|
|
10448
10237
|
/**
|
|
10449
|
-
*
|
|
10238
|
+
* azureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
|
10450
10239
|
*/
|
|
10451
10240
|
azureFile: outputs.core.v1.AzureFileVolumeSource;
|
|
10452
10241
|
/**
|
|
10453
|
-
*
|
|
10242
|
+
* cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
|
10454
10243
|
*/
|
|
10455
10244
|
cephfs: outputs.core.v1.CephFSVolumeSource;
|
|
10456
10245
|
/**
|
|
10457
|
-
*
|
|
10246
|
+
* cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
10458
10247
|
*/
|
|
10459
10248
|
cinder: outputs.core.v1.CinderVolumeSource;
|
|
10460
10249
|
/**
|
|
10461
|
-
*
|
|
10250
|
+
* configMap represents a configMap that should populate this volume
|
|
10462
10251
|
*/
|
|
10463
10252
|
configMap: outputs.core.v1.ConfigMapVolumeSource;
|
|
10464
10253
|
/**
|
|
10465
|
-
*
|
|
10254
|
+
* csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
|
|
10466
10255
|
*/
|
|
10467
10256
|
csi: outputs.core.v1.CSIVolumeSource;
|
|
10468
10257
|
/**
|
|
10469
|
-
*
|
|
10258
|
+
* downwardAPI represents downward API about the pod that should populate this volume
|
|
10470
10259
|
*/
|
|
10471
10260
|
downwardAPI: outputs.core.v1.DownwardAPIVolumeSource;
|
|
10472
10261
|
/**
|
|
10473
|
-
*
|
|
10262
|
+
* emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
|
10474
10263
|
*/
|
|
10475
10264
|
emptyDir: outputs.core.v1.EmptyDirVolumeSource;
|
|
10476
10265
|
/**
|
|
10477
|
-
*
|
|
10266
|
+
* ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.
|
|
10478
10267
|
*
|
|
10479
10268
|
* Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity
|
|
10480
10269
|
* tracking are needed,
|
|
@@ -10491,83 +10280,83 @@ export declare namespace core {
|
|
|
10491
10280
|
*/
|
|
10492
10281
|
ephemeral: outputs.core.v1.EphemeralVolumeSource;
|
|
10493
10282
|
/**
|
|
10494
|
-
*
|
|
10283
|
+
* fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
|
10495
10284
|
*/
|
|
10496
10285
|
fc: outputs.core.v1.FCVolumeSource;
|
|
10497
10286
|
/**
|
|
10498
|
-
*
|
|
10287
|
+
* flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
|
|
10499
10288
|
*/
|
|
10500
10289
|
flexVolume: outputs.core.v1.FlexVolumeSource;
|
|
10501
10290
|
/**
|
|
10502
|
-
*
|
|
10291
|
+
* flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
|
|
10503
10292
|
*/
|
|
10504
10293
|
flocker: outputs.core.v1.FlockerVolumeSource;
|
|
10505
10294
|
/**
|
|
10506
|
-
*
|
|
10295
|
+
* gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
10507
10296
|
*/
|
|
10508
10297
|
gcePersistentDisk: outputs.core.v1.GCEPersistentDiskVolumeSource;
|
|
10509
10298
|
/**
|
|
10510
|
-
*
|
|
10299
|
+
* gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
|
|
10511
10300
|
*/
|
|
10512
10301
|
gitRepo: outputs.core.v1.GitRepoVolumeSource;
|
|
10513
10302
|
/**
|
|
10514
|
-
*
|
|
10303
|
+
* glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
|
10515
10304
|
*/
|
|
10516
10305
|
glusterfs: outputs.core.v1.GlusterfsVolumeSource;
|
|
10517
10306
|
/**
|
|
10518
|
-
*
|
|
10307
|
+
* hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
10519
10308
|
*/
|
|
10520
10309
|
hostPath: outputs.core.v1.HostPathVolumeSource;
|
|
10521
10310
|
/**
|
|
10522
|
-
*
|
|
10311
|
+
* iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
|
|
10523
10312
|
*/
|
|
10524
10313
|
iscsi: outputs.core.v1.ISCSIVolumeSource;
|
|
10525
10314
|
/**
|
|
10526
|
-
*
|
|
10315
|
+
* name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
10527
10316
|
*/
|
|
10528
10317
|
name: string;
|
|
10529
10318
|
/**
|
|
10530
|
-
*
|
|
10319
|
+
* nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
10531
10320
|
*/
|
|
10532
10321
|
nfs: outputs.core.v1.NFSVolumeSource;
|
|
10533
10322
|
/**
|
|
10534
|
-
*
|
|
10323
|
+
* persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
|
10535
10324
|
*/
|
|
10536
10325
|
persistentVolumeClaim: outputs.core.v1.PersistentVolumeClaimVolumeSource;
|
|
10537
10326
|
/**
|
|
10538
|
-
*
|
|
10327
|
+
* photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
|
10539
10328
|
*/
|
|
10540
10329
|
photonPersistentDisk: outputs.core.v1.PhotonPersistentDiskVolumeSource;
|
|
10541
10330
|
/**
|
|
10542
|
-
*
|
|
10331
|
+
* portworxVolume represents a portworx volume attached and mounted on kubelets host machine
|
|
10543
10332
|
*/
|
|
10544
10333
|
portworxVolume: outputs.core.v1.PortworxVolumeSource;
|
|
10545
10334
|
/**
|
|
10546
|
-
*
|
|
10335
|
+
* projected items for all in one resources secrets, configmaps, and downward API
|
|
10547
10336
|
*/
|
|
10548
10337
|
projected: outputs.core.v1.ProjectedVolumeSource;
|
|
10549
10338
|
/**
|
|
10550
|
-
*
|
|
10339
|
+
* quobyte represents a Quobyte mount on the host that shares a pod's lifetime
|
|
10551
10340
|
*/
|
|
10552
10341
|
quobyte: outputs.core.v1.QuobyteVolumeSource;
|
|
10553
10342
|
/**
|
|
10554
|
-
*
|
|
10343
|
+
* rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
|
|
10555
10344
|
*/
|
|
10556
10345
|
rbd: outputs.core.v1.RBDVolumeSource;
|
|
10557
10346
|
/**
|
|
10558
|
-
*
|
|
10347
|
+
* scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
|
10559
10348
|
*/
|
|
10560
10349
|
scaleIO: outputs.core.v1.ScaleIOVolumeSource;
|
|
10561
10350
|
/**
|
|
10562
|
-
*
|
|
10351
|
+
* secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
|
10563
10352
|
*/
|
|
10564
10353
|
secret: outputs.core.v1.SecretVolumeSource;
|
|
10565
10354
|
/**
|
|
10566
|
-
*
|
|
10355
|
+
* storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
|
|
10567
10356
|
*/
|
|
10568
10357
|
storageos: outputs.core.v1.StorageOSVolumeSource;
|
|
10569
10358
|
/**
|
|
10570
|
-
*
|
|
10359
|
+
* vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
|
10571
10360
|
*/
|
|
10572
10361
|
vsphereVolume: outputs.core.v1.VsphereVirtualDiskVolumeSource;
|
|
10573
10362
|
}
|
|
@@ -10618,7 +10407,7 @@ export declare namespace core {
|
|
|
10618
10407
|
*/
|
|
10619
10408
|
interface VolumeNodeAffinity {
|
|
10620
10409
|
/**
|
|
10621
|
-
*
|
|
10410
|
+
* required specifies hard node constraints that must be met.
|
|
10622
10411
|
*/
|
|
10623
10412
|
required: outputs.core.v1.NodeSelector;
|
|
10624
10413
|
}
|
|
@@ -10627,19 +10416,19 @@ export declare namespace core {
|
|
|
10627
10416
|
*/
|
|
10628
10417
|
interface VolumeProjection {
|
|
10629
10418
|
/**
|
|
10630
|
-
* information about the configMap data to project
|
|
10419
|
+
* configMap information about the configMap data to project
|
|
10631
10420
|
*/
|
|
10632
10421
|
configMap: outputs.core.v1.ConfigMapProjection;
|
|
10633
10422
|
/**
|
|
10634
|
-
* information about the downwardAPI data to project
|
|
10423
|
+
* downwardAPI information about the downwardAPI data to project
|
|
10635
10424
|
*/
|
|
10636
10425
|
downwardAPI: outputs.core.v1.DownwardAPIProjection;
|
|
10637
10426
|
/**
|
|
10638
|
-
* information about the secret data to project
|
|
10427
|
+
* secret information about the secret data to project
|
|
10639
10428
|
*/
|
|
10640
10429
|
secret: outputs.core.v1.SecretProjection;
|
|
10641
10430
|
/**
|
|
10642
|
-
* information about the serviceAccountToken data to project
|
|
10431
|
+
* serviceAccountToken is information about the serviceAccountToken data to project
|
|
10643
10432
|
*/
|
|
10644
10433
|
serviceAccountToken: outputs.core.v1.ServiceAccountTokenProjection;
|
|
10645
10434
|
}
|
|
@@ -10648,19 +10437,19 @@ export declare namespace core {
|
|
|
10648
10437
|
*/
|
|
10649
10438
|
interface VsphereVirtualDiskVolumeSource {
|
|
10650
10439
|
/**
|
|
10651
|
-
*
|
|
10440
|
+
* fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
10652
10441
|
*/
|
|
10653
10442
|
fsType: string;
|
|
10654
10443
|
/**
|
|
10655
|
-
*
|
|
10444
|
+
* storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
|
|
10656
10445
|
*/
|
|
10657
10446
|
storagePolicyID: string;
|
|
10658
10447
|
/**
|
|
10659
|
-
*
|
|
10448
|
+
* storagePolicyName is the storage Policy Based Management (SPBM) profile name.
|
|
10660
10449
|
*/
|
|
10661
10450
|
storagePolicyName: string;
|
|
10662
10451
|
/**
|
|
10663
|
-
*
|
|
10452
|
+
* volumePath is the path that identifies vSphere volume vmdk
|
|
10664
10453
|
*/
|
|
10665
10454
|
volumePath: string;
|
|
10666
10455
|
}
|
|
@@ -10707,7 +10496,7 @@ export declare namespace discovery {
|
|
|
10707
10496
|
*/
|
|
10708
10497
|
interface Endpoint {
|
|
10709
10498
|
/**
|
|
10710
|
-
* addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
|
|
10499
|
+
* addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267
|
|
10711
10500
|
*/
|
|
10712
10501
|
addresses: string[];
|
|
10713
10502
|
/**
|
|
@@ -10772,7 +10561,7 @@ export declare namespace discovery {
|
|
|
10772
10561
|
*/
|
|
10773
10562
|
interface EndpointPort {
|
|
10774
10563
|
/**
|
|
10775
|
-
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and
|
|
10564
|
+
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
|
|
10776
10565
|
*/
|
|
10777
10566
|
appProtocol: string;
|
|
10778
10567
|
/**
|
|
@@ -10794,11 +10583,6 @@ export declare namespace discovery {
|
|
|
10794
10583
|
interface EndpointSlice {
|
|
10795
10584
|
/**
|
|
10796
10585
|
* addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
|
|
10797
|
-
*
|
|
10798
|
-
* Possible enum values:
|
|
10799
|
-
* - `"FQDN"` represents a FQDN.
|
|
10800
|
-
* - `"IPv4"` represents an IPv4 Address.
|
|
10801
|
-
* - `"IPv6"` represents an IPv6 Address.
|
|
10802
10586
|
*/
|
|
10803
10587
|
addressType: string;
|
|
10804
10588
|
/**
|
|
@@ -10838,7 +10622,7 @@ export declare namespace discovery {
|
|
|
10838
10622
|
*/
|
|
10839
10623
|
interface Endpoint {
|
|
10840
10624
|
/**
|
|
10841
|
-
* addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
|
|
10625
|
+
* addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267
|
|
10842
10626
|
*/
|
|
10843
10627
|
addresses: string[];
|
|
10844
10628
|
/**
|
|
@@ -10906,7 +10690,7 @@ export declare namespace discovery {
|
|
|
10906
10690
|
*/
|
|
10907
10691
|
interface EndpointPort {
|
|
10908
10692
|
/**
|
|
10909
|
-
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and
|
|
10693
|
+
* The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
|
|
10910
10694
|
*/
|
|
10911
10695
|
appProtocol: string;
|
|
10912
10696
|
/**
|
|
@@ -13246,9 +13030,7 @@ export declare namespace meta {
|
|
|
13246
13030
|
*/
|
|
13247
13031
|
resourceVersion: string;
|
|
13248
13032
|
/**
|
|
13249
|
-
* selfLink is a
|
|
13250
|
-
*
|
|
13251
|
-
* DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
|
|
13033
|
+
* Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
|
|
13252
13034
|
*/
|
|
13253
13035
|
selfLink: string;
|
|
13254
13036
|
}
|
|
@@ -13281,7 +13063,7 @@ export declare namespace meta {
|
|
|
13281
13063
|
*/
|
|
13282
13064
|
subresource: string;
|
|
13283
13065
|
/**
|
|
13284
|
-
* Time is timestamp of when
|
|
13066
|
+
* Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.
|
|
13285
13067
|
*/
|
|
13286
13068
|
time: string;
|
|
13287
13069
|
}
|
|
@@ -13296,7 +13078,9 @@ export declare namespace meta {
|
|
|
13296
13078
|
[key: string]: string;
|
|
13297
13079
|
};
|
|
13298
13080
|
/**
|
|
13299
|
-
*
|
|
13081
|
+
* Deprecated: ClusterName is a legacy field that was always cleared by the system and never used; it will be removed completely in 1.25.
|
|
13082
|
+
*
|
|
13083
|
+
* The name in the go struct is changed to help clients detect accidental use.
|
|
13300
13084
|
*/
|
|
13301
13085
|
clusterName: string;
|
|
13302
13086
|
/**
|
|
@@ -13322,7 +13106,7 @@ export declare namespace meta {
|
|
|
13322
13106
|
/**
|
|
13323
13107
|
* GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
|
|
13324
13108
|
*
|
|
13325
|
-
* If this field is specified and the generated name exists, the server will
|
|
13109
|
+
* If this field is specified and the generated name exists, the server will return a 409.
|
|
13326
13110
|
*
|
|
13327
13111
|
* Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
|
|
13328
13112
|
*/
|
|
@@ -13362,9 +13146,7 @@ export declare namespace meta {
|
|
|
13362
13146
|
*/
|
|
13363
13147
|
resourceVersion: string;
|
|
13364
13148
|
/**
|
|
13365
|
-
*
|
|
13366
|
-
*
|
|
13367
|
-
* DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
|
|
13149
|
+
* Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
|
|
13368
13150
|
*/
|
|
13369
13151
|
selfLink: string;
|
|
13370
13152
|
/**
|
|
@@ -13383,7 +13165,7 @@ export declare namespace meta {
|
|
|
13383
13165
|
*/
|
|
13384
13166
|
apiVersion: string;
|
|
13385
13167
|
/**
|
|
13386
|
-
* If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
|
13168
|
+
* If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
|
13387
13169
|
*/
|
|
13388
13170
|
blockOwnerDeletion: boolean;
|
|
13389
13171
|
/**
|
|
@@ -13710,6 +13492,10 @@ export declare namespace networking {
|
|
|
13710
13492
|
* Specification of the desired behavior for this NetworkPolicy.
|
|
13711
13493
|
*/
|
|
13712
13494
|
spec: outputs.networking.v1.NetworkPolicySpec;
|
|
13495
|
+
/**
|
|
13496
|
+
* Status is the current state of the NetworkPolicy. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
13497
|
+
*/
|
|
13498
|
+
status: outputs.networking.v1.NetworkPolicyStatus;
|
|
13713
13499
|
}
|
|
13714
13500
|
/**
|
|
13715
13501
|
* NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
|
|
@@ -13796,6 +13582,15 @@ export declare namespace networking {
|
|
|
13796
13582
|
*/
|
|
13797
13583
|
policyTypes: string[];
|
|
13798
13584
|
}
|
|
13585
|
+
/**
|
|
13586
|
+
* NetworkPolicyStatus describe the current state of the NetworkPolicy.
|
|
13587
|
+
*/
|
|
13588
|
+
interface NetworkPolicyStatus {
|
|
13589
|
+
/**
|
|
13590
|
+
* Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state
|
|
13591
|
+
*/
|
|
13592
|
+
conditions: outputs.meta.v1.Condition[];
|
|
13593
|
+
}
|
|
13799
13594
|
/**
|
|
13800
13595
|
* ServiceBackendPort is the service port being referenced.
|
|
13801
13596
|
*/
|
|
@@ -14033,7 +13828,6 @@ export declare namespace node {
|
|
|
14033
13828
|
/**
|
|
14034
13829
|
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see
|
|
14035
13830
|
* https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/
|
|
14036
|
-
* This field is in beta starting v1.18 and is only honored by servers that enable the PodOverhead feature.
|
|
14037
13831
|
*/
|
|
14038
13832
|
overhead: outputs.node.v1.Overhead;
|
|
14039
13833
|
/**
|
|
@@ -14070,7 +13864,7 @@ export declare namespace node {
|
|
|
14070
13864
|
};
|
|
14071
13865
|
}
|
|
14072
13866
|
/**
|
|
14073
|
-
* RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/
|
|
13867
|
+
* RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md
|
|
14074
13868
|
*/
|
|
14075
13869
|
interface RuntimeClass {
|
|
14076
13870
|
/**
|
|
@@ -14095,11 +13889,11 @@ export declare namespace node {
|
|
|
14095
13889
|
*/
|
|
14096
13890
|
interface RuntimeClassSpec {
|
|
14097
13891
|
/**
|
|
14098
|
-
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/
|
|
13892
|
+
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature.
|
|
14099
13893
|
*/
|
|
14100
13894
|
overhead: outputs.node.v1alpha1.Overhead;
|
|
14101
13895
|
/**
|
|
14102
|
-
* RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must
|
|
13896
|
+
* RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable.
|
|
14103
13897
|
*/
|
|
14104
13898
|
runtimeHandler: string;
|
|
14105
13899
|
/**
|
|
@@ -14156,7 +13950,7 @@ export declare namespace node {
|
|
|
14156
13950
|
*/
|
|
14157
13951
|
metadata: outputs.meta.v1.ObjectMeta;
|
|
14158
13952
|
/**
|
|
14159
|
-
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
|
13953
|
+
* Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
|
14160
13954
|
*/
|
|
14161
13955
|
overhead: outputs.node.v1beta1.Overhead;
|
|
14162
13956
|
/**
|
|
@@ -15163,7 +14957,7 @@ export declare namespace scheduling {
|
|
|
15163
14957
|
*/
|
|
15164
14958
|
metadata: outputs.meta.v1.ObjectMeta;
|
|
15165
14959
|
/**
|
|
15166
|
-
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
|
|
14960
|
+
* PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
|
|
15167
14961
|
*/
|
|
15168
14962
|
preemptionPolicy: string;
|
|
15169
14963
|
/**
|
|
@@ -15351,8 +15145,6 @@ export declare namespace storage {
|
|
|
15351
15145
|
* Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
|
|
15352
15146
|
*
|
|
15353
15147
|
* This field was immutable in Kubernetes <= 1.22 and now is mutable.
|
|
15354
|
-
*
|
|
15355
|
-
* This is a beta field and only available when the CSIStorageCapacity feature is enabled. The default is false.
|
|
15356
15148
|
*/
|
|
15357
15149
|
storageCapacity: boolean;
|
|
15358
15150
|
/**
|
|
@@ -15425,6 +15217,55 @@ export declare namespace storage {
|
|
|
15425
15217
|
*/
|
|
15426
15218
|
drivers: outputs.storage.v1.CSINodeDriver[];
|
|
15427
15219
|
}
|
|
15220
|
+
/**
|
|
15221
|
+
* CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.
|
|
15222
|
+
*
|
|
15223
|
+
* For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
|
|
15224
|
+
*
|
|
15225
|
+
* The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero
|
|
15226
|
+
*
|
|
15227
|
+
* The producer of these objects can decide which approach is more suitable.
|
|
15228
|
+
*
|
|
15229
|
+
* They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
|
|
15230
|
+
*/
|
|
15231
|
+
interface CSIStorageCapacity {
|
|
15232
|
+
/**
|
|
15233
|
+
* 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
|
|
15234
|
+
*/
|
|
15235
|
+
apiVersion: "storage.k8s.io/v1";
|
|
15236
|
+
/**
|
|
15237
|
+
* Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
15238
|
+
*
|
|
15239
|
+
* The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
15240
|
+
*/
|
|
15241
|
+
capacity: string;
|
|
15242
|
+
/**
|
|
15243
|
+
* 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
|
|
15244
|
+
*/
|
|
15245
|
+
kind: "CSIStorageCapacity";
|
|
15246
|
+
/**
|
|
15247
|
+
* MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
15248
|
+
*
|
|
15249
|
+
* This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
|
|
15250
|
+
*/
|
|
15251
|
+
maximumVolumeSize: string;
|
|
15252
|
+
/**
|
|
15253
|
+
* Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
|
|
15254
|
+
*
|
|
15255
|
+
* Objects are namespaced.
|
|
15256
|
+
*
|
|
15257
|
+
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
15258
|
+
*/
|
|
15259
|
+
metadata: outputs.meta.v1.ObjectMeta;
|
|
15260
|
+
/**
|
|
15261
|
+
* NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
|
|
15262
|
+
*/
|
|
15263
|
+
nodeTopology: outputs.meta.v1.LabelSelector;
|
|
15264
|
+
/**
|
|
15265
|
+
* The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
15266
|
+
*/
|
|
15267
|
+
storageClassName: string;
|
|
15268
|
+
}
|
|
15428
15269
|
/**
|
|
15429
15270
|
* StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
|
|
15430
15271
|
*
|
|
@@ -15591,55 +15432,6 @@ export declare namespace storage {
|
|
|
15591
15432
|
}
|
|
15592
15433
|
}
|
|
15593
15434
|
namespace v1alpha1 {
|
|
15594
|
-
/**
|
|
15595
|
-
* CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.
|
|
15596
|
-
*
|
|
15597
|
-
* For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
|
|
15598
|
-
*
|
|
15599
|
-
* The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero
|
|
15600
|
-
*
|
|
15601
|
-
* The producer of these objects can decide which approach is more suitable.
|
|
15602
|
-
*
|
|
15603
|
-
* They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.
|
|
15604
|
-
*/
|
|
15605
|
-
interface CSIStorageCapacity {
|
|
15606
|
-
/**
|
|
15607
|
-
* 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
|
|
15608
|
-
*/
|
|
15609
|
-
apiVersion: "storage.k8s.io/v1alpha1";
|
|
15610
|
-
/**
|
|
15611
|
-
* Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
15612
|
-
*
|
|
15613
|
-
* The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.
|
|
15614
|
-
*/
|
|
15615
|
-
capacity: string;
|
|
15616
|
-
/**
|
|
15617
|
-
* 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
|
|
15618
|
-
*/
|
|
15619
|
-
kind: "CSIStorageCapacity";
|
|
15620
|
-
/**
|
|
15621
|
-
* MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
15622
|
-
*
|
|
15623
|
-
* This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
|
|
15624
|
-
*/
|
|
15625
|
-
maximumVolumeSize: string;
|
|
15626
|
-
/**
|
|
15627
|
-
* Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
|
|
15628
|
-
*
|
|
15629
|
-
* Objects are namespaced.
|
|
15630
|
-
*
|
|
15631
|
-
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
15632
|
-
*/
|
|
15633
|
-
metadata: outputs.meta.v1.ObjectMeta;
|
|
15634
|
-
/**
|
|
15635
|
-
* NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
|
|
15636
|
-
*/
|
|
15637
|
-
nodeTopology: outputs.meta.v1.LabelSelector;
|
|
15638
|
-
/**
|
|
15639
|
-
* The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
15640
|
-
*/
|
|
15641
|
-
storageClassName: string;
|
|
15642
|
-
}
|
|
15643
15435
|
/**
|
|
15644
15436
|
* VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.
|
|
15645
15437
|
*
|
|
@@ -15872,7 +15664,7 @@ export declare namespace storage {
|
|
|
15872
15664
|
*
|
|
15873
15665
|
* The producer of these objects can decide which approach is more suitable.
|
|
15874
15666
|
*
|
|
15875
|
-
* They are consumed by the kube-scheduler
|
|
15667
|
+
* They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
|
|
15876
15668
|
*/
|
|
15877
15669
|
interface CSIStorageCapacity {
|
|
15878
15670
|
/**
|
|
@@ -15882,7 +15674,7 @@ export declare namespace storage {
|
|
|
15882
15674
|
/**
|
|
15883
15675
|
* Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
|
|
15884
15676
|
*
|
|
15885
|
-
* The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable
|
|
15677
|
+
* The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
15886
15678
|
*/
|
|
15887
15679
|
capacity: string;
|
|
15888
15680
|
/**
|