stackabletech / issues

This repository is only for issues that concern multiple repositories or don't fit into any specific repository
2 stars 0 forks source link

Evaluate Kubernetes 1.31 changes #633

Closed lfrancke closed 2 months ago

lfrancke commented 2 months ago

I would like to know if there are any changes in Kubernetes 1.31 that the SDP could potentially make use of (e.g. sidecars), will require changes or will break things on our end.

This should be timeboxed and take up at most 4h of research and reading. The result of this should be a comment on this issue or follow-up issues listing the high level points of things we could, should and should not do.

Must read:

And the Kubernetes blog has dedicated blog post for certain topics: https://kubernetes.io/blog/

razvan commented 2 months ago

Elli

Link: https://kubernetes.io/blog/2024/08/13/kubernetes-v1-31-release/

Possible actions

Summary

Highlights - Stable Features

AppArmor

Better kube-proxy connectivity reliability

Persistent Volume last phase transision timestamp

Highlights - Beta Features

nftables back-end for kube-proxy

PV reclaim policy

Bound SA token improvement

Multiple service CIDRs

Traffic distribution for services

VolumeAttributesClass ModifyVolume

Highlights - Alpha Features

New DRA api

Image volumes

Device health exposed via pod status

Finer grained authorization with selectors

Restrictions on anonymous api access

Deprecations and Removals

razvan commented 2 months ago

Read only volumes based on OCI artifacts

Link: https://kubernetes.io/blog/2024/08/16/kubernetes-1-31-image-volume-source/

Summary

Allows users to focus on OCI standards as well as enables them to store and distribute any content using OCI registries.

Example:

…
kind: Pod
spec:
  containers:
    - …
      volumeMounts:
        - name: my-volume
          mountPath: /path/to/directory
  volumes:
    - name: my-volume
      image:
        reference: my-image:tag

Mounts the contents of my-image:tag at /path/to/directory in the container.

Use cases

See link above for more details.

sbernauer commented 2 months ago

LGTM, especially the Possible actions sections 👍