Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency kubernetes to v27 #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jasper-Ben
Copy link
Member

This PR contains the following updates:

Package Update Change
kubernetes major ~=25.3.0 -> ~=27.2.0

Release Notes

kubernetes-client/python (kubernetes)

v27.2.0

Compare Source

Kubernetes API Version: v1.27.2

API Change
  • Added error handling for seccomp localhost configurations that do not properly set a localhostProfile (kubernetes/kubernetes#117020, @​cji) [SIG API Machinery and Node]

  • Fixed an issue where kubelet does not set case-insensitive headers for http probes. (#​117182, @​dddddai) (kubernetes/kubernetes#117324, @​dddddai) [SIG API Machinery, Apps and Node]

  • Revised the comment about the feature-gate level for PodFailurePolicy from alpha to beta (kubernetes/kubernetes#117815, @​kerthcet) [SIG Apps]

  • A fix in the resource.k8s.io/v1alpha1/ResourceClaim API avoids harmless (?) ".status.reservedFor: element 0: associative list without keys has an element that's a map type" errors in the apiserver. Validation now rejects the incorrect reuse of the same UID in different entries. (kubernetes/kubernetes#115354, @​pohly)

  • A terminating pod on a node that is not caused by preemption no longer prevents kube-scheduler from preempting pods on that node

  • API: resource.k8s.io/v1alpha1.PodScheduling was renamed to resource.k8s.io/v1alpha2.PodSchedulingContext. (kubernetes/kubernetes#116556, @​pohly) [SIG API Machinery, Apps, Auth, CLI, Node, Scheduling and Testing]

  • Added CEL runtime cost calculation into ValidatingAdmissionPolicy, matching the evaluation cost
    restrictions that already apply to CustomResourceDefinition.
    If rule evaluation uses more compute than the limit, the API server aborts the evaluation and the
    admission check that was being performed is aborted; the failurePolicy for the ValidatingAdmissionPolicy
    determines the outcome. (kubernetes/kubernetes#115747, @​cici37)

  • Added auditAnnotations to ValidatingAdmissionPolicy, enabling CEL to be used to add audit annotations to request audit events.
    Added validationActions to ValidatingAdmissionPolicyBinding, enabling validation failures to be handled by any combination of the warn, audit and deny enforcement actions. (kubernetes/kubernetes#115973, @​jpbetz)

  • Added messageExpression field to ValidationRule. (kubernetes/kubernetes#115969, @​DangerOnTheRanger)

  • Added messageExpression to ValidatingAdmissionPolicy, to set custom failure message via CEL expression. (kubernetes/kubernetes#116397, @​jiahuif) [SIG API Machinery]

  • Added a new IPAddress object kind

    • Added a new ClusterIP allocator. The new allocator removes previous Service CIDR block size limitations for IPv4, and limits IPv6 size to a /64 (kubernetes/kubernetes#115075, @​aojea) [SIG API Machinery, Apps, Auth, CLI, Cluster Lifecycle, Network and Testing]
  • Added a new alpha API: ClusterTrustBundle (certificates.k8s.io/v1alpha1).
    A ClusterTrustBundle may be used to distribute X.509 trust anchors to workloads within the cluster. (kubernetes/kubernetes#113218, @​ahmedtd) [SIG API Machinery, Auth and Testing]

  • Added authorization check support to the CEL expressions of ValidatingAdmissionPolicy via a authorizer
    variable with expressions. The new variable provides a builder that allows expressions such authorizer.group('').resource('pods').check('create').allowed(). (kubernetes/kubernetes#116054, @​jpbetz) [SIG API Machinery and Testing]

  • Added matchConditions field to ValidatingAdmissionPolicy and enabled support for CEL based custom match criteria. (kubernetes/kubernetes#116350, @​maxsmythe)

  • Added new option to the InterPodAffinity scheduler plugin to ignore existing
    podspreferred inter-pod affinities if the incoming pod has no preferred inter-pod affinities. This option can be used as an optimization for higher scheduling throughput (at the cost of an occasional pod being scheduled non-optimally/violating existing pods preferred inter-pod affinities). To enable this scheduler option, set theInterPodAffinityscheduler plugin argignorePreferredTermsOfExistingPods: true` (kubernetes/kubernetes#114393, @​danielvegamyhre)

  • Added the MatchConditions field to ValidatingWebhookConfiguration and MutatingWebhookConfiguration for the v1beta and v1 apis.

    The AdmissionWebhookMatchConditions featuregate is now in Alpha (kubernetes/kubernetes#116261, @​ivelichkovich) [SIG API Machinery and Testing]

  • Added validation to ensure that if service.kubernetes.io/topology-aware-hints and service.kubernetes.io/topology-mode annotations are both set, they are set to the same value.Also Added deprecation warning if service.kubernetes.io/topology-aware-hints annotation is used. (kubernetes/kubernetes#116612, @​robscott)

  • Added warnings about workload resources (Pods, ReplicaSets, Deployments, Jobs, CronJobs, or ReplicationControllers) whose names are not valid DNS labels. (kubernetes/kubernetes#114412, @​thockin)

  • Adds feature gate NodeLogQuery which provides cluster administrators with a streaming view of logs using kubectl without them having to implement a client side reader or logging into the node. (kubernetes/kubernetes#96120, @​LorbusChris)

  • Api: validation of a PodSpec now rejects invalid ResourceClaim and ResourceClaimTemplate names. For a pod, the name generated for the ResourceClaim when using a template also must be valid. (kubernetes/kubernetes#116576, @​pohly)

  • Bump default API QPS limits for Kubelet. (kubernetes/kubernetes#116121, @​wojtek-t)

  • Enabled the StatefulSetStartOrdinal feature gate in beta (kubernetes/kubernetes#115260, @​pwschuurman)

  • Enabled usage of kube-proxy, kube-scheduler and kubelet HTTP APIs for changing the logging
    verbosity at runtime for JSON output. (kubernetes/kubernetes#114609, @​pohly)

  • Encryption of API Server at rest configuration now allows the use of wildcards in the list of resources. For example, . can be used to encrypt all resources, including all current and future custom resources. (kubernetes/kubernetes#115149, @​nilekhc)

  • Extended the kubelet's PodResources API to include resources allocated in ResourceClaims via DynamicResourceAllocation. Additionally, added a new Get() method to query a specific pod for its resources. (kubernetes/kubernetes#115847, @​moshe010) [SIG Node]

  • Forbid to set matchLabelKeys when labelSelector is not set in topologySpreadConstraints (kubernetes/kubernetes#116535, @​denkensk)

  • GCE does not support LoadBalancer Services with ports with different protocols (TCP and UDP) (kubernetes/kubernetes#115966, @​aojea) [SIG Apps and Cloud Provider]

  • GRPC probes are now a GA feature. GRPCContainerProbe feature gate was locked to default value and will be removed in v1.29. If you were setting this feature gate explicitly, please remove it now. (kubernetes/kubernetes#116233, @​SergeyKanzhelev)

  • Graduated Kubelet Topology Manager to GA. (kubernetes/kubernetes#116093, @​swatisehgal)

  • Graduated KubeletTracing to beta, which means that the feature gate is now enabled by default. (kubernetes/kubernetes#115750, @​saschagrunert)

  • Graduated seccomp profile defaulting to GA.

    Set the kubelet --seccomp-default flag or seccompDefault kubelet configuration field to true to make pods on that node default to using the RuntimeDefault seccomp profile.

    Enabling seccomp for your workload can have a negative performance impact depending on the kernel and container runtime version in use.

    Guidance for identifying and mitigating those issues is outlined in the Kubernetes seccomp tutorial. (kubernetes/kubernetes#115719, @​saschagrunert) [SIG API Machinery, Node, Storage and Testing]

  • Graduated the container resource metrics feature on HPA to beta. (kubernetes/kubernetes#116046, @​sanposhiho)

  • Implemented API streaming for the watch-cache

    When sendInitialEvents ListOption is set together with watch=true, it begins the watch stream with synthetic init events followed by a synthetic "Bookmark" after which the server continues streaming events. (kubernetes/kubernetes#110960, @​p0lyn0mial)

  • Introduced API for streaming.

    Added SendInitialEvents field to the ListOptions. When the new option is set together with watch=true, it begins the watch stream with synthetic init events followed by a synthetic "Bookmark" after which the server continues streaming events. (kubernetes/kubernetes#115402, @​p0lyn0mial)

  • Introduced a breaking change to the resource.k8s.io API in its AllocationResult struct. This change allows a kubelet plugin for the DynamicResourceAllocation feature to service allocations from multiple resource driver controllers. (kubernetes/kubernetes#116332, @​klueska)

  • Introduces new alpha functionality to the reflector, allowing user to enable API streaming.

    To activate this feature, users can set the ENABLE_CLIENT_GO_WATCH_LIST_ALPHA environmental variable.
    It is important to note that the server must support streaming for this feature to function properly.
    If streaming is not supported by the server, the reflector will revert to the previous method
    of obtaining data through LIST/WATCH semantics. (kubernetes/kubernetes#110772, @​p0lyn0mial) [SIG API Machinery]

  • K8s.io/client-go/tools/record.EventBroadcaster: after Shutdown() is called, the broadcaster now gives up immediately after a failure to write an event to a sink. Previously it tried multiple times for 12 seconds in a goroutine. (kubernetes/kubernetes#115514, @​pohly) [SIG API Machinery]

  • K8s.io/component-base/logs: usage of the pflag values in a normal Go flag set led to panics when printing the help message (kubernetes/kubernetes#114680, @​pohly) [SIG Instrumentation]

  • Kubeadm: explicitly set priority for static pods with priorityClassName: system-node-critical (kubernetes/kubernetes#114338, @​champtar) [SIG Cluster Lifecycle]

  • Kubelet: a "maxParallelImagePulls" field can now be specified in the kubelet configuration file to control how many image pulls the kubelet can perform in parallel. (kubernetes/kubernetes#115220, @​ruiwen-zhao) [SIG API Machinery, Node and Scalability]

  • Kubelet: changed MemoryThrottlingFactor default value to 0.9 and formulas to calculate memory.high (kubernetes/kubernetes#115371, @​pacoxu)

  • Kubernetes components that perform leader election now only support using Leases for this. (kubernetes/kubernetes#114055, @​aimuz)

  • Migrated the DaemonSet controller (within kube-controller-manager) to use contextual logging (kubernetes/kubernetes#113622, @​249043822)

  • New service.kubernetes.io/topology-mode annotation has been introduced as a replacement for the service.kubernetes.io/topology-aware-hints annotation.

    • service.kubernetes.io/topology-aware-hints annotation has been deprecated.
    • kube-proxy now accepts any value that is not "disabled" for these annotations, enabling custom implementation-specific and/or future built-in heuristics to be used. (kubernetes/kubernetes#116522, @​robscott) [SIG Apps, Network and Testing]
  • Pods owned by a Job now uses the labels batch.kubernetes.io/job-name and batch.kubernetes.io/controller-uid.
    The legacy labels job-name and controller-uid are still added for compatibility. (kubernetes/kubernetes#114930, @​kannon92)

  • Promoted CronJobTimeZone feature to GA (kubernetes/kubernetes#115904, @​soltysh)

  • Promoted SelfSubjectReview to Beta (kubernetes/kubernetes#116274, @​nabokihms) [SIG API Machinery, Auth, CLI and Testing]

  • Relaxed API validation to allow pod node selector to be mutable for gated pods (additions only, no deletions or mutations). (kubernetes/kubernetes#116161, @​danielvegamyhre)

  • Remove kubernetes.io/grpc standard appProtocol (kubernetes/kubernetes#116866, @​LiorLieberman) [SIG API Machinery and Apps]

  • Remove deprecated --enable-taint-manager and --pod-eviction-timeout CLI (kubernetes/kubernetes#115840, @​atosatto)

  • Removed support for the v1alpha1 kubeletplugin API of DynamicResourceManagement. All plugins must be updated to v1alpha2 in order to function properly. (kubernetes/kubernetes#116558, @​klueska)

  • The API server now re-uses data encryption keys while the kms v2 plugin key ID is stable. Data encryption keys are still randomly generated on server start but an atomic counter is used to prevent nonce collisions. (kubernetes/kubernetes#116155, @​enj)

  • The PodDisruptionBudget spec.unhealthyPodEvictionPolicy field has graduated to beta and is enabled by default. On servers with the feature enabled, this field may be set to AlwaysAllow to always allow unhealthy pods covered by the PodDisruptionBudget to be evicted. (kubernetes/kubernetes#115363, @​ravisantoshgudimetla) [SIG Apps, Auth and Node]

  • The DownwardAPIHugePages kubelet feature graduated to stable / GA. (kubernetes/kubernetes#115721, @​saschagrunert) [SIG Apps and Node]

  • The following feature gates for volume expansion GA features have now been removed and must no longer be referenced in --feature-gates flags: ExpandCSIVolumes, ExpandInUsePersistentVolumes, ExpandPersistentVolumes (kubernetes/kubernetes#113942, @​mengjiao-liu)

  • The list-type of the alpha resourceClaims field introduced to Pods in 1.26.0 was modified from set to map, resolving an incompatibility with use of this schema in CustomResourceDefinitions and with server-side apply. (kubernetes/kubernetes#114585, @​JoelSpeed)

  • Updated API reference for Requests, specifying they must not exceed limits (kubernetes/kubernetes#115434, @​ehashman)

  • Updated KMSv2 to beta (kubernetes/kubernetes#115123, @​aramase)

  • Updated: Redefine AppProtocol field description and add new standard values (kubernetes/kubernetes#115433, @​LiorLieberman) [SIG API Machinery, Apps and Network]

  • /metrics/slis is now available for control plane components allowing you to scrape health check metrics. (kubernetes/kubernetes#114997, @​Richabanker)

  • APIServerTracing feature gate is now enabled by default. Tracing in the API
    Server is still disabled by default, and requires a config file to enable. (kubernetes/kubernetes#116144, @​dashpole)

  • NodeResourceFit and NodeResourcesBalancedAllocation implement the PreScore
    extension point for a more performant calculation. (kubernetes/kubernetes#115655, @​tangwz)

  • PodSchedulingReadiness is graduated to beta. (kubernetes/kubernetes#115815, @​Huang-Wei)

  • PodSpec.Container.Resources became mutable for CPU and memory resource types.

    • PodSpec.Container.ResizePolicy (new object) gives users control over how their containers are resized.
    • PodStatus.Resize status describes the state of a requested Pod resize.
    • PodStatus.ResourcesAllocated describes node resources allocated to Pod.
    • PodStatus.Resources describes node resources applied to running containers by CRI.
    • UpdateContainerResources CRI API now supports both Linux and Windows. (kubernetes/kubernetes#102884, @​vinaykul)
  • SELinuxMountReadWriteOncePod graduated to Beta. (kubernetes/kubernetes#116425, @​jsafrane)

  • StatefulSetAutoDeletePVC feature gate promoted to beta. (kubernetes/kubernetes#116501, @​mattcary)

  • StatefulSet names must be DNS labels, rather than subdomains. Any StatefulSet
    which took advantage of subdomain validation (by having dots in the name) can't
    possibly have worked, because we eventually set pod.spec.hostname from the StatefulSetName,
    and that is validated as a DNS label. (kubernetes/kubernetes#114172, @​thockin)

  • ValidatingAdmissionPolicy now provides a status field that contains results of type checking the validation expression.
    The type checking is fully informational, and the behavior of the policy is unchanged. (kubernetes/kubernetes#115668, @​jiahuif)

  • cacheSize field in EncryptionConfiguration is not supported for KMSv2 provider (kubernetes/kubernetes#113121, @​aramase)

  • k8s.io/component-base/logs now also supports adding command line flags to a flag.FlagSet. (kubernetes/kubernetes#114731, @​pohly)

  • kubelet: migrated --container-runtime-endpoint and --image-service-endpoint
    to kubelet config (kubernetes/kubernetes#112136, @​pacoxu)

  • resource.k8s.io/v1alpha1 was replaced with resource.k8s.io/v1alpha2. Before
    upgrading a cluster, all objects in resource.k8s.io/v1alpha1 (ResourceClaim, ResourceClaimTemplate,
    ResourceClass, PodScheduling) must be deleted. The changes are internal, so
    YAML files which create pods and resource claims don't need changes except for
    the newer apiVersion. (kubernetes/kubernetes#116299, @​pohly)

  • volumes: resource.claims is now cleared for PVC specs during create or update of a pod spec with inline PVC template or of a PVC because it has no effect. (kubernetes/kubernetes#115928, @​pohly)

  • Added a new alpha API: ClusterTrustBundle (certificates.k8s.io/v1alpha1).
    A ClusterTrustBundle may be used to distribute X.509 trust anchors to workloads within the cluster. (kubernetes/kubernetes#113218, @​ahmedtd) [SIG API Machinery, Auth and Testing]

  • Remove kubernetes.io/grpc standard appProtocol (kubernetes/kubernetes#116866, @​LiorLieberman) [SIG API Machinery and Apps]

  • API: resource.k8s.io/v1alpha1.PodScheduling was renamed to resource.k8s.io/v1alpha2.PodSchedulingContext. (kubernetes/kubernetes#116556, @​pohly) [SIG API Machinery, Apps, Auth, CLI, Node, Scheduling and Testing]

  • APIServerTracing feature gate is now enabled by default. Tracing in the API Server is still disabled by default, and requires a config file to enable. (kubernetes/kubernetes#116144, @​dashpole) [SIG API Machinery and Testing]

  • Added CEL runtime cost calculation into ValidatingAdmissionPolicy, matching the evaluation cost
    restrictions that already apply to CustomResourceDefinition.
    If rule evaluation uses more compute than the limit, the API server aborts the evaluation and the
    admission check that was being performed is aborted; the failurePolicy for the ValidatingAdmissionPolicy
    determines the outcome. (kubernetes/kubernetes#115747, @​cici37) [SIG API Machinery]

  • Added messageExpression to ValidatingAdmissionPolicy, to set custom failure message via CEL expression. (kubernetes/kubernetes#116397, @​jiahuif) [SIG API Machinery]

  • Added a new IPAddress object kind

    • Added a new ClusterIP allocator. The new allocator removes previous Service CIDR block size limitations for IPv4, and limits IPv6 size to a /64 (kubernetes/kubernetes#115075, @​aojea) [SIG API Machinery, Apps, Auth, CLI, Cluster Lifecycle, Network and Testing]
  • Added a new alpha API: ClusterTrustBundle (certificates.k8s.io/v1alpha1).
    A ClusterTrustBundle may be used to distribute X.509 trust anchors to workloads within the cluster. (kubernetes/kubernetes#113218, @​ahmedtd) [SIG API Machinery, Auth and Testing]

  • Added authorization check support to the CEL expressions of ValidatingAdmissionPolicy via a authorizer
    variable with expressions. The new variable provides a builder that allows expressions such authorizer.group('').resource('pods').check('create').allowed(). (kubernetes/kubernetes#116054, @​jpbetz) [SIG API Machinery and Testing]

  • Added matchConditions field to ValidatingAdmissionPolicy, enabled support for CEL based custom match criteria. (kubernetes/kubernetes#116350, @​maxsmythe) [SIG API Machinery and Testing]

  • Added messageExpression field to ValidationRule. (#​115969, @​DangerOnTheRanger) (kubernetes/kubernetes#115969, @​DangerOnTheRanger) [SIG API Machinery, Architecture, Auth, CLI, Cloud Provider, Instrumentation, Node and Testing]

  • Added the MatchConditions field to ValidatingWebhookConfiguration and MutatingWebhookConfiguration for the v1beta and v1 apis.

    The AdmissionWebhookMatchConditions featuregate is now in Alpha (kubernetes/kubernetes#116261, @​ivelichkovich) [SIG API Machinery and Testing]

  • Added validation to ensure that if service.kubernetes.io/topology-aware-hints and service.kubernetes.io/topology-mode annotations are both set, they are set to the same value.

  • Adds auditAnnotations to ValidatingAdmissionPolicy, enabling CEL to be used to add audit annotations to request audit events.
    Adds validationActions to ValidatingAdmissionPolicyBinding, enabling validation failures to be handled by any combination of the warn, audit and deny enforcement actions. (kubernetes/kubernetes#115973, @​jpbetz) [SIG API Machinery and Testing]

  • Adds feature gate NodeLogQuery which provides cluster administrators with a streaming view of logs using kubectl without them having to implement a client side reader or logging into the node. (kubernetes/kubernetes#96120, @​LorbusChris) [SIG API Machinery, Apps, CLI, Node, Testing and Windows]

  • Api: validation of a PodSpec now rejects invalid ResourceClaim and ResourceClaimTemplate names. For a pod, the name generated for the ResourceClaim when using a template also must be valid. (kubernetes/kubernetes#116576, @​pohly) [SIG Apps]

  • Bump default API QPS limits for Kubelet. (kubernetes/kubernetes#116121, @​wojtek-t) [SIG API Machinery and Node]

  • Enable the "StatefulSetStartOrdinal" feature gate in beta (kubernetes/kubernetes#115260, @​pwschuurman) [SIG API Machinery and Apps]

  • Extended the kubelet's PodResources API to include resources allocated in ResourceClaims via DynamicResourceAllocation. Additionally, added a new Get() method to query a specific pod for its resources. (kubernetes/kubernetes#115847, @​moshe010) [SIG Node]

  • Forbid to set matchLabelKeys when labelSelector isn’t set in topologySpreadConstraints (kubernetes/kubernetes#116535, @​denkensk) [SIG API Machinery, Apps and Scheduling]

  • GCE does not support LoadBalancer Services with ports with different protocols (TCP and UDP) (kubernetes/kubernetes#115966, @​aojea) [SIG Apps and Cloud Provider]

  • GRPC probes are now a GA feature. GRPCContainerProbe feature gate was locked to default value and will be removed in v1.29. If you were setting this feature gate explicitly, please remove it now. (kubernetes/kubernetes#116233, @​SergeyKanzhelev) [SIG API Machinery, Apps and Node]

  • Graduate Kubelet Topology Manager to GA. (kubernetes/kubernetes#116093, @​swatisehgal) [SIG API Machinery, Node and Testing]

  • Graduate KubeletTracing to beta, which means that the feature gate is now enabled by default. (kubernetes/kubernetes#115750, @​saschagrunert) [SIG Instrumentation and Node]

  • Graduate the container resource metrics feature on HPA to beta. (kubernetes/kubernetes#116046, @​sanposhiho) [SIG Autoscaling]

  • Introduced a breaking change to the resource.k8s.io API in its AllocationResult struct. This change allows a kubelet plugin for the DynamicResourceAllocation feature to service allocations from multiple resource driver controllers. (kubernetes/kubernetes#116332, @​klueska) [SIG API Machinery, Apps, CLI, Node, Scheduling and Testing]

  • Introduces new alpha functionality to the reflector, allowing user to enable API streaming.

    To activate this feature, users can set the ENABLE_CLIENT_GO_WATCH_LIST_ALPHA environmental variable.
    It is important to note that the server must support streaming for this feature to function properly.
    If streaming is not supported by the server, the reflector will revert to the previous method
    of obtaining data through LIST/WATCH semantics. (kubernetes/kubernetes#110772, @​p0lyn0mial) [SIG API Machinery]

  • Kubelet: change MemoryThrottlingFactor default value to 0.9 and formulas to calculate memory.high (kubernetes/kubernetes#115371, @​pacoxu) [SIG API Machinery, Apps and Node]

  • Migrated the DaemonSet controller (within `kube-controller-manager) to use contextual logging (kubernetes/kubernetes#113622, @​249043822) [SIG API Machinery, Apps, Instrumentation and Testing]

  • New service.kubernetes.io/topology-mode annotation has been introduced as a replacement for the service.kubernetes.io/topology-aware-hints annotation.

    • service.kubernetes.io/topology-aware-hints annotation has been deprecated.
    • kube-proxy now accepts any value that is not "disabled" for these annotations, enabling custom implementation-specific and/or future built-in heuristics to be used. (kubernetes/kubernetes#116522, @​robscott) [SIG Apps, Network and Testing]
  • NodeResourceFit and NodeResourcesBalancedAllocation implement the PreScore extension point for a more performant calculation. (kubernetes/kubernetes#115655, @​tangwz) [SIG Scheduling]

  • Pods owned by a Job will now use the labels batch.kubernetes.io/job-name and batch.kubernetes.io/controller-uid.
    The legacy labels job-name and controller-uid are still added for compatibility. (kubernetes/kubernetes#114930, @​kannon92) [SIG Apps]

  • Promote CronJobTimeZone feature to GA (kubernetes/kubernetes#115904, @​soltysh) [SIG API Machinery and Apps]

  • Promoted SelfSubjectReview to Beta (kubernetes/kubernetes#116274, @​nabokihms) [SIG API Machinery, Auth, CLI and Testing]

  • Relax API validation to allow pod node selector to be mutable for gated pods (additions only, no deletions or mutations). (kubernetes/kubernetes#116161, @​danielvegamyhre) [SIG Apps, Scheduling and Testing]

  • Remove deprecated --enable-taint-manager and --pod-eviction-timeout CLI flags (kubernetes/kubernetes#115840, @​atosatto) [SIG API Machinery, Apps, Node and Testing]

  • Resource.k8s.io/v1alpha1 was replaced with resource.k8s.io/v1alpha2. Before upgrading a cluster, all objects in resource.k8s.io/v1alpha1 (ResourceClaim, ResourceClaimTemplate, ResourceClass, PodScheduling) must be deleted. The changes will be internal, so YAML files which create pods and resource claims don't need changes except for the newer apiVersion. (kubernetes/kubernetes#116299, @​pohly) [SIG API Machinery, Apps, CLI, Node, Scheduling and Testing]

  • SELinuxMountReadWriteOncePod graduated to Beta. (kubernetes/kubernetes#116425, @​jsafrane) [SIG Storage and Testing]

  • StatefulSetAutoDeletePVC feature gate promoted to beta. (kubernetes/kubernetes#116501, @​mattcary) [SIG Apps, Auth and Testing]

  • The API server now re-uses data encryption keys while the kms v2 plugin's key ID is stable. Data encryption keys are still randomly generated on server start but an atomic counter is used to prevent nonce collisions. (kubernetes/kubernetes#116155, @​enj) [SIG API Machinery, Auth and Testing]

  • The API server's encryption at rest configuration now allows the use of wildcards in the list of resources. For example, '.' can be used to encrypt all resources, including all current and future custom resources. (kubernetes/kubernetes#115149, @​nilekhc) [SIG API Machinery, Auth and Testing]

  • Update KMSv2 to beta (kubernetes/kubernetes#115123, @​aramase) [SIG API Machinery, Auth and Testing]

  • Updated: Redefine AppProtocol field description and add new standard values (kubernetes/kubernetes#115433, @​LiorLieberman) [SIG API Machinery, Apps and Network]

  • ValidatingAdmissionPolicy now provides a status field that contains results of type checking the validation expression.
    The type checking is fully informational, and the behavior of the policy is unchanged. (kubernetes/kubernetes#115668, @​jiahuif) [SIG API Machinery, Auth, Cloud Provider and Testing]

  • We have removed support for the v1alpha1 kubeletplugin API of DynamicResourceManagement. All plugins must update to v1alpha2 in order to function properly going forward. (kubernetes/kubernetes#116558, @​klueska) [SIG API Machinery, Apps, CLI, Node, Scheduling and Testing]

  • Graduated seccomp profile defaulting to GA.

    Set the kubelet --seccomp-default flag or seccompDefault kubelet configuration field to true to make pods on that node default to using the RuntimeDefault seccomp profile.

    Enabling seccomp for your workload can have a negative performance impact depending on the kernel and container runtime version in use.

    Guidance for identifying and mitigating those issues is outlined in the Kubernetes seccomp tutorial. (kubernetes/kubernetes#115719, @​saschagrunert) [SIG API Machinery, Node, Storage and Testing]

  • Implements API for streaming for the watch-cache

    When sendInitialEvents ListOption is set together with watch=true, it begins the watch stream with synthetic init events followed by a synthetic "Bookmark" after which the server continues streaming events. (kubernetes/kubernetes#110960, @​p0lyn0mial) [SIG API Machinery]

  • Introduce API for streaming.

    Add SendInitialEvents field to the ListOptions. When the new option is set together with watch=true, it begins the watch stream with synthetic init events followed by a synthetic "Bookmark" after which the server continues streaming events. (kubernetes/kubernetes#115402, @​p0lyn0mial) [SIG API Machinery]

  • Kubelet: a "maxParallelImagePulls" field can now be specified in the kubelet configuration file to control how many image pulls the kubelet can perform in parallel. (kubernetes/kubernetes#115220, @​ruiwen-zhao) [SIG API Machinery, Node and Scalability]

  • PodSchedulingReadiness is graduated to beta. (kubernetes/kubernetes#115815, @​Huang-Wei) [SIG API Machinery, Apps, Scheduling and Testing]

  • In-place resize feature for Kubernetes Pods

    • Changed the Pod API so that the resources defined for containers are mutable for cpu and memory resource types.
    • Added resizePolicy for containers in a pod to allow users control over how their containers are resized.
    • Added allocatedResources field to container status in pod status that describes the node resources allocated to a pod.
    • Added resources field to container status that reports actual resources applied to running containers.
    • Added resize field to pod status that describes the state of a requested pod resize.
      For details, see KEPs below. (kubernetes/kubernetes#102884, @​vinaykul) [SIG API Machinery, Apps, Instrumentation, Node, Scheduling and Testing]
  • The PodDisruptionBudget spec.unhealthyPodEvictionPolicy field has graduated to beta and is enabled by default. On servers with the feature enabled, this field may be set to AlwaysAllow to always allow unhealthy pods covered by the PodDisruptionBudget to be evicted. (kubernetes/kubernetes#115363, @​ravisantoshgudimetla) [SIG Apps, Auth and Node]

  • The DownwardAPIHugePages kubelet feature graduated to stable / GA. (kubernetes/kubernetes#115721, @​saschagrunert) [SIG Apps and Node]

  • Volumes: resource.claims gets cleared for PVC specs during create or update of a pod spec with inline PVC template or of a PVC because it has no effect. (kubernetes/kubernetes#115928, @​pohly) [SIG API Machinery, Apps and Storage]

  • A fix in the resource.k8s.io/v1alpha1/ResourceClaim API avoids harmless (?) ".status.reservedFor: element 0: associative list without keys has an element that's a map type" errors in the apiserver. Validation now rejects the incorrect reuse of the same UID in different entries. (kubernetes/kubernetes#115354, @​pohly) [SIG API Machinery]

  • CacheSize field in EncryptionConfiguration is not supported for KMSv2 provider (kubernetes/kubernetes#113121, @​aramase) [SIG API Machinery, Auth and Testing]

  • K8s.io/client-go/tools/record.EventBroadcaster: after Shutdown() is called, the broadcaster now gives up immediately after a failure to write an event to a sink. Previously it tried multiple times for 12 seconds in a goroutine. (kubernetes/kubernetes#115514, @​pohly) [SIG API Machinery]

  • K8s.io/component-base/logs now also supports adding command line flags to a flag.FlagSet. (kubernetes/kubernetes#114731, @​pohly) [SIG Architecture]

  • Update API reference for Requests, specifying they must not exceed limits (kubernetes/kubernetes#115434, @​ehashman) [SIG Architecture, Docs and Node]

  • /metrics/slis is made available for control plane components allowing you to scrape health check metrics. (kubernetes/kubernetes#114997, @​Richabanker) [SIG API Machinery, Apps, Architecture, Auth, Autoscaling, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Node, Release, Scheduling, Storage and Testing]

  • A terminating pod on a node that is not caused by preemption won't prevent kube-scheduler from preempting pods on that node

  • Added new option to the InterPodAffinity scheduler plugin to ignore existing pods` preferred inter-pod affinities if the incoming pod has no preferred inter-pod affinities. This option can be used as an optimization for higher scheduling throughput (at the cost of an occasional pod being scheduled non-optimally/violating existing pods' preferred inter-pod affinities). To enable this scheduler option, set the InterPodAffinity scheduler plugin arg "ignorePreferredTermsOfExistingPods: true". (kubernetes/kubernetes#114393, @​danielvegamyhre) [SIG API Machinery and Scheduling]

  • Added warnings about workload resources (Pods, ReplicaSets, Deployments, Jobs, CronJobs, or ReplicationControllers) whose names are not valid DNS labels. (kubernetes/kubernetes#114412, @​thockin) [SIG API Machinery and Apps]

  • K8s.io/component-base/logs: usage of the pflag values in a normal Go flag set led to panics when printing the help message (kubernetes/kubernetes#114680, @​pohly) [SIG Instrumentation]

  • Kube-proxy, kube-scheduler and kubelet have HTTP APIs for changing the logging verbosity at runtime. This now also works for JSON output. (kubernetes/kubernetes#114609, @​pohly) [SIG API Machinery, Architecture, Cloud Provider, Instrumentation and Testing]

  • Kubeadm: explicitly set priority for static pods with priorityClassName: system-node-critical (kubernetes/kubernetes#114338, @​champtar) [SIG Cluster Lifecycle]

  • Kubelet: migrate "--container-runtime-endpoint" and "--image-service-endpoint" to kubelet config (kubernetes/kubernetes#112136, @​pacoxu) [SIG API Machinery, Node and Scalability]

  • Kubernetes components that perform leader election now only support using Leases for this. (kubernetes/kubernetes#114055, @​aimuz) [SIG API Machinery, Cloud Provider and Scheduling]

  • StatefulSet names must be DNS labels, rather than subdomains. Any StatefulSet which took advantage of subdomain validation (by having dots in the name) can't possibly have worked, because we eventually set pod.spec.hostname from the StatefulSetName, and that is validated as a DNS label. (kubernetes/kubernetes#114172, @​thockin) [SIG Apps]

  • The following feature gates for volume expansion GA features have been removed and must no longer be referenced in --feature-gates flags: ExpandCSIVolumes, ExpandInUsePersistentVolumes, ExpandPersistentVolumes (kubernetes/kubernetes#113942, @​mengjiao-liu) [SIG API Machinery, Apps and Testing]

  • The list-type of the alpha resourceClaims field introduced to Pods in 1.26.0 was modified from "set" to "map", resolving an incompatibility with use of this schema in CustomResourceDefinitions and with server-side apply. (kubernetes/kubernetes#114585, @​JoelSpeed) [SIG API Machinery]

v26.1.0

Compare Source

Kubernetes API Version: v1.26.1

Bug or Regression
  • The timeout unit of the WSClient update method is now always seconds for both poll and select functions. (#​1976, @​t-yrka)
Feature
  • Adds support for loading CA certificates from a file using the idp-certificate-authority key for the oidc plugin. (#​1916, @​vgupta3)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants