Merge pull request #114542 from pacoxu/EphemeralContainers
cleanup: EphemeralContainers feature gate related codes Kubernetes-commit: c913e6ce62d23b19eebec9beda91d7599bf5099b
This commit is contained in:
commit
6c75d38fe1
8
go.mod
8
go.mod
|
|
@ -43,8 +43,8 @@ require (
|
|||
gopkg.in/natefinch/lumberjack.v2 v2.0.0
|
||||
gopkg.in/square/go-jose.v2 v2.2.2
|
||||
k8s.io/api v0.0.0-20230112183318-59fcd23597fd
|
||||
k8s.io/apimachinery v0.0.0-20230112182327-235f5123de4a
|
||||
k8s.io/client-go v0.0.0-20230116012449-228b004f4a92
|
||||
k8s.io/apimachinery v0.0.0-20230117181045-35ae53239086
|
||||
k8s.io/client-go v0.0.0-20230117201445-a13376f3fa39
|
||||
k8s.io/component-base v0.0.0-20230112192324-33f62c7b2818
|
||||
k8s.io/klog/v2 v2.80.1
|
||||
k8s.io/kms v0.0.0-20230117203143-407acb40b4f8
|
||||
|
|
@ -123,8 +123,8 @@ require (
|
|||
|
||||
replace (
|
||||
k8s.io/api => k8s.io/api v0.0.0-20230112183318-59fcd23597fd
|
||||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230112182327-235f5123de4a
|
||||
k8s.io/client-go => k8s.io/client-go v0.0.0-20230116012449-228b004f4a92
|
||||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230117181045-35ae53239086
|
||||
k8s.io/client-go => k8s.io/client-go v0.0.0-20230117201445-a13376f3fa39
|
||||
k8s.io/component-base => k8s.io/component-base v0.0.0-20230112192324-33f62c7b2818
|
||||
k8s.io/kms => k8s.io/kms v0.0.0-20230117203143-407acb40b4f8
|
||||
)
|
||||
|
|
|
|||
8
go.sum
8
go.sum
|
|
@ -992,10 +992,10 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
|
|||
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
k8s.io/api v0.0.0-20230112183318-59fcd23597fd h1:Y/vljv797SrqMUZ4KwQaIDcz+lecu074ACcke2d8D9s=
|
||||
k8s.io/api v0.0.0-20230112183318-59fcd23597fd/go.mod h1:K1fbar68K91an+8RbH9eJWJRnoXQ5rugf6J5wsGMMWg=
|
||||
k8s.io/apimachinery v0.0.0-20230112182327-235f5123de4a h1:ztM2zo2xo0w+WBKGJ/V/TnavQfbZnADVA5s4p3LGDpo=
|
||||
k8s.io/apimachinery v0.0.0-20230112182327-235f5123de4a/go.mod h1:Kq932aOItR+rI/aiAVDXxxdRFNf0eLnI0gZmXJ6hl3o=
|
||||
k8s.io/client-go v0.0.0-20230116012449-228b004f4a92 h1:ufPl+2CEizC47k/ptJxbryxNF+EpJPG3aDIO6qUkXFE=
|
||||
k8s.io/client-go v0.0.0-20230116012449-228b004f4a92/go.mod h1:yGx/VWWKjooWFIfibkKEt0Vf6gG9wDALmEzcgJv5jPs=
|
||||
k8s.io/apimachinery v0.0.0-20230117181045-35ae53239086 h1:7yhcU6Liv6A9zpgeLsSASfmgpBHz/4WT7WK0Y+szTsM=
|
||||
k8s.io/apimachinery v0.0.0-20230117181045-35ae53239086/go.mod h1:Kq932aOItR+rI/aiAVDXxxdRFNf0eLnI0gZmXJ6hl3o=
|
||||
k8s.io/client-go v0.0.0-20230117201445-a13376f3fa39 h1:w5ef2xl4yY5g1GNwVh062+37wHWluwhanH004+hxphg=
|
||||
k8s.io/client-go v0.0.0-20230117201445-a13376f3fa39/go.mod h1:q8YXsL0M5VV5aF6DprurfY/VjRi6ByqRrR22EmP4SUM=
|
||||
k8s.io/component-base v0.0.0-20230112192324-33f62c7b2818 h1:sZ5awJx2PpXaOwNSEu8Pq6zovP1+YG/nWZpagmpDRcs=
|
||||
k8s.io/component-base v0.0.0-20230112192324-33f62c7b2818/go.mod h1:6IeVfLNdhjJkJFQHYMuwk7dgkOLA3Pt+Y7j7Md1d+CA=
|
||||
k8s.io/klog/v2 v2.80.1 h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4=
|
||||
|
|
|
|||
|
|
@ -1458,7 +1458,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.EphemeralContainer": {
|
||||
"description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.",
|
||||
"description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added.",
|
||||
"properties": {
|
||||
"args": {
|
||||
"description": "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. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(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",
|
||||
|
|
@ -2436,7 +2436,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"ephemeralContainers": {
|
||||
"description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.",
|
||||
"description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainer"
|
||||
},
|
||||
|
|
@ -2618,7 +2618,7 @@
|
|||
"type": "array"
|
||||
},
|
||||
"ephemeralContainerStatuses": {
|
||||
"description": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.",
|
||||
"description": "Status for any ephemeral containers that have run in this pod.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue