mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Promote feature PodShareProcessNamespace to GA
This commit is contained in:
parent
f430a47b60
commit
ea1af57eab
@ -2812,7 +2812,6 @@ type PodSecurityContext struct {
|
|||||||
// in the same pod, and the first process in each container will not be assigned PID 1.
|
// in the same pod, and the first process in each container will not be assigned PID 1.
|
||||||
// HostPID and ShareProcessNamespace cannot both be set.
|
// HostPID and ShareProcessNamespace cannot both be set.
|
||||||
// Optional: Default to false.
|
// Optional: Default to false.
|
||||||
// This field is beta-level and may be disabled with the PodShareProcessNamespace feature.
|
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
// +optional
|
// +optional
|
||||||
ShareProcessNamespace *bool
|
ShareProcessNamespace *bool
|
||||||
|
@ -112,7 +112,9 @@ const (
|
|||||||
EphemeralContainers featuregate.Feature = "EphemeralContainers"
|
EphemeralContainers featuregate.Feature = "EphemeralContainers"
|
||||||
|
|
||||||
// owner: @verb
|
// owner: @verb
|
||||||
|
// alpha: v1.10
|
||||||
// beta: v1.12
|
// beta: v1.12
|
||||||
|
// GA: v1.17
|
||||||
//
|
//
|
||||||
// Allows all containers in a pod to share a process namespace.
|
// Allows all containers in a pod to share a process namespace.
|
||||||
PodShareProcessNamespace featuregate.Feature = "PodShareProcessNamespace"
|
PodShareProcessNamespace featuregate.Feature = "PodShareProcessNamespace"
|
||||||
@ -519,7 +521,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
LocalStorageCapacityIsolation: {Default: true, PreRelease: featuregate.Beta},
|
LocalStorageCapacityIsolation: {Default: true, PreRelease: featuregate.Beta},
|
||||||
Sysctls: {Default: true, PreRelease: featuregate.Beta},
|
Sysctls: {Default: true, PreRelease: featuregate.Beta},
|
||||||
EphemeralContainers: {Default: false, PreRelease: featuregate.Alpha},
|
EphemeralContainers: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
PodShareProcessNamespace: {Default: true, PreRelease: featuregate.Beta},
|
PodShareProcessNamespace: {Default: true, PreRelease: featuregate.GA}, // remove in 1.19
|
||||||
PodPriority: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.18
|
PodPriority: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.18
|
||||||
TaintNodesByCondition: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.18
|
TaintNodesByCondition: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.18
|
||||||
QOSReserved: {Default: false, PreRelease: featuregate.Alpha},
|
QOSReserved: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
@ -2940,7 +2940,6 @@ type PodSpec struct {
|
|||||||
// in the same pod, and the first process in each container will not be assigned PID 1.
|
// in the same pod, and the first process in each container will not be assigned PID 1.
|
||||||
// HostPID and ShareProcessNamespace cannot both be set.
|
// HostPID and ShareProcessNamespace cannot both be set.
|
||||||
// Optional: Default to false.
|
// Optional: Default to false.
|
||||||
// This field is beta-level and may be disabled with the PodShareProcessNamespace feature.
|
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
// +optional
|
// +optional
|
||||||
ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" protobuf:"varint,27,opt,name=shareProcessNamespace"`
|
ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" protobuf:"varint,27,opt,name=shareProcessNamespace"`
|
||||||
|
Loading…
Reference in New Issue
Block a user