RATATOSK
← 전체 릴리스

Kubernetesv1.37.3

보안 1호환성 변경 5중요 수정 11의존성 갱신 2기타 2

Kubernetes 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

보안1

기본 kubectl proxy 필터에서 노드 proxy/run 요청 거부

영향 대상kubectl proxy의 기본 경로 필터(추정)

이 필터는 /api/v1/nodes/somenode/proxy/run/somenamespace/somepod/somecontainer?cmd=id와 같은 요청을 거부합니다.

원문 보기
- Adds node run api path to default kubectl proxy filter ([#143191](https://github.com/kubernetes/kubernetes/pull/143191), [@mpuckett159](https://github.com/mpuckett159)) [SIG CLI]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

호환성 변경5

Kubelet 시작 시 범위를 벗어난 subordinate ID 매핑 거부

영향 대상/etc/subuid 또는 /etc/subgid에 끝값이 4294967295 이상인 subordinate ID 범위가 있는 kubelet 사용자
필요 조치업그레이드 전에 subordinate ID 범위 개수를 최소 한 개의 idsPerPod(기본값 65536)만큼 줄이기. 이전 kubelet이 파드에 유효하지 않은 ID 범위를 할당해 파드가 ContainerCreating 상태에 머물고 FailedCreatePodSandBox 이벤트가 발생한 경우, 업그레이드 전에 해당 파드를 삭제하거나 노드를 드레인하기.

이전 kubelet이 파드에 유효하지 않은 ID 범위를 할당했다면, 해당 매핑이 파드 디렉터리에 남습니다. 이 때문에 업그레이드된 kubelet이 시작할 때 범위를 벗어난 매핑 오류로 실패할 수 있습니다.

근거“the kubelet now refuses to start if the subordinate ID range configured for the `kubelet` user in `/etc/subuid` and `/etc/subgid` ends at or past 4294967295, since such a range either contains the unmappable ID or extends past the end of the 32-bit ID space. Nodes configured this way, for example `kubelet:65536:4294901760`, must reduce the count by at least one `idsPerPod` (65536 by default) before upgrading.” kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md ↗
원문 보기

끝값이 높은 하위 ID 범위로 인한 Kubelet 시작 차단

영향 대상kubelet의 /etc/subuid 또는 /etc/subgid 하위 ID 범위가 4294967295 이상에서 끝나는 노드
필요 조치업그레이드 전에 하위 ID 범위 크기를 최소 idsPerPod 한 단위(기본값 65536)만큼 축소
원문 보기
  the kubelet now refuses to start if the subordinate ID range configured for the
  `kubelet` user in `/etc/subuid` and `/etc/subgid` ends at or past 4294967295, since such a range
  either contains the unmappable ID or extends past the end of the 32-bit ID space. Nodes
  configured this way, for example `kubelet:65536:4294901760`, must reduce the count by at least
  one `idsPerPod` (65536 by default) before upgrading.
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

잘못된 Pod ID 범위 매핑이 기록된 경우 kubelet 시작 거부

영향 대상이전 버전 kubelet의 잘못된 ID 범위 매핑이 Pod 디렉터리에 있는 노드
필요 조치kubelet 업그레이드 전 영향을 받은 Pod 삭제 또는 노드 드레인

이전 버전 kubelet은 잘못된 ID 범위를 할당할 수 있었습니다. 매핑이 Pod 디렉터리에 남아 있는 동안 영향을 받은 Pod는 ContainerCreating 상태에서 멈추고 FailedCreatePodSandBox 이벤트가 발생했습니다.

원문 보기
  if a pod on the node was assigned the invalid ID range by an earlier kubelet,
  that range is still recorded in the pod's directory, and the upgraded kubelet refuses to start:
      create user namespace manager: record pod mappings for existing pod "<uid>": id 4294901760 is out of range
  Delete any pod stuck in `ContainerCreating` with a `FailedCreatePodSandBox` event, or drain the
  node, before upgrading the kubelet. ([#143213](https://github.com/kubernetes/kubernetes/pull/143213), [@rata](https://github.com/rata)) [SIG Node]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

kubeadm kubeconfig 생성 시 CA 파일 누락 안내

영향 대상kubeadm kubeconfig 생성(추정)

이전에는 CA 인증서나 키가 없어도 kubeadm이 오류를 반환하지 않았습니다. 이제 파일을 생성하도록 kubeadm init phase certs ca 실행을 안내합니다.

근거“return nil, errors.Wrap(err, "the CA files do not exist, please run `kubeadm init phase certs ca` to generate it")” kubernetes/kubernetes/pull/143621 ↗
원문 보기
- Kubeadm: fixed a bug where the error about missing CA files is never returned. ([#143621](https://github.com/kubernetes/kubernetes/pull/143621), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

pods/binding 라벨 및 어노테이션 검증 강화

영향 대상라벨이나 어노테이션을 제공하는 pods/binding 요청(추정)

이전에는 pods/binding 검증이 파드를 생성하거나 업데이트할 때 적용되는 검사와 달랐습니다.

근거“return nil, errors.NewInvalid(schema.GroupKind{Group: "", Kind: "Binding"}, "", allErrs)” kubernetes/kubernetes/pull/143312 ↗
원문 보기
- Make pods/binding label and annotation validation consistent with pod creation and update ([#143312](https://github.com/kubernetes/kubernetes/pull/143312), [@liggitt](https://github.com/liggitt)) [SIG Apps and Node]
github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

중요 수정11

  • 네이티브 히스토그램의 기본 클래식 버킷 복원
    영향 대상NativeHistograms가 활성화되어 있고 Buckets를 명시하지 않은 히스토그램

    이전에는 이러한 히스토그램에 기본 클래식 버킷 대신 le="+Inf"만 노출됐습니다. 이제 네이티브 히스토그램 데이터와 함께 기본 버킷도 노출됩니다.

    - Fix a regression when `NativeHistograms` is enabled where histograms defined without explicit `Buckets` (such as kubelet's `prober_probe_duration_seconds`) omitted default classic histogram buckets (`0.005`..`10`) and exposed only `le="+Inf"`. ([#144156](https://github.com/kubernetes/kubernetes/pull/144156), [@dashpole](https://github.com/dashpole)) [SIG Architecture and Instrumentation]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • 캐시 재생 시 Kube-proxy의 초기 Node zone 저장
    영향 대상토폴로지 인식 라우팅을 사용하는 Kube-proxy 구성

    이미 실행 중인 informer가 캐시된 Node를 다시 전달할 때도 토폴로지 인식 라우팅은 설정된 zone을 사용하므로 재시작할 필요가 없습니다.

    - Kube-proxy no longer misses the initial Node zone when an already-running informer replays its cached Node, ensuring topology-aware routing uses the configured zone without requiring a restart. ([#143811](https://github.com/kubernetes/kubernetes/pull/143811), [@aojea](https://github.com/aojea)) [SIG Network]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Kubeadm etcd 롤백에서 올바른 디렉터리 수준으로 데이터 복원
    영향 대상Kubeadm이 관리하며 etcd 업그레이드 실패 후 자동 데이터 롤백을 수행하는 로컬 etcd 컨트롤 플레인(추정)

    롤백 중에 백업이 의도한 위치가 아니라 멤버 디렉터리의 하위 디렉터리에 복사됐습니다. 이제 롤백은 백업된 내용을 라이브 데이터 디렉터리에 복원하고, 백업 후 기록된 파일을 대체합니다. 라이브 데이터 디렉터리를 비우기 전에 백업에 member 디렉터리가 있는지도 확인합니다.

    - Kubeadm: fixed the automatic rollback of the etcd data directory after a failed etcd upgrade, which previously copied the backup into a subdirectory of the member directory instead of restoring where it should be. The etcd backup directory now holds the member directory's contents. The etcd data backup before an upgrade is now retried for up to 30 seconds if copying fails. ([#143432](https://github.com/kubernetes/kubernetes/pull/143432), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • 사용자 네임스페이스 Pod의 kubelet 시작 실패 수정
    영향 대상사용자 네임스페이스를 사용하는 Pod (spec.hostUsers: false)

    kubelet 사용자 계정은 존재하지만 getsubids가 설치되지 않은 경우 kubelet이 시작되지 않았습니다. 이제 기본 ID 범위를 사용해 시작합니다.

     - Kubelet: fixed several bugs in the ID range handling for pods using user namespaces
      The kubelet no longer fails to start when the `kubelet` user exists but the `getsubids` binary
      is not installed. It now falls back to the default ID range, as documented.
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • 사용자 네임스페이스 파드의 kubelet 시작 실패 수정
    영향 대상사용자 네임스페이스를 사용하는 파드 (spec.hostUsers: false)

    kubelet 사용자 계정은 존재하지만 getsubids가 없으면 kubelet이 시작되지 않았습니다. 이제 이 경우 문서에 명시된 기본 ID 범위로 폴백합니다.

  • 사용자 네임스페이스 파드 ID 범위 경계 수정
    영향 대상사용자 네임스페이스를 사용하는 파드 (spec.hostUsers: false)

    4294967295 (2^32-1)에서 끝나는 ID 범위를 할당받은 파드는 커널이 해당 ID 매핑을 거부해 시작하지 못했습니다. 이제 기본 범위는 idsPerPod 블록 하나만큼 낮은 값에서 끝납니다.

  • 기본 사용자 네임스페이스 ID 범위의 잘못된 끝 ID 제외
    영향 대상사용자 네임스페이스를 사용하고(spec.hostUsers: false) 기본 ID 범위를 쓰는 파드(추정)

    끝이 4294967295 (2^32-1)인 기본 범위가 할당된 파드는 커널이 해당 ID 매핑을 거부해 시작하지 못했습니다. 이제 범위의 끝은 idsPerPod 블록 하나만큼 낮아집니다.

      Pods are no longer assigned the ID range ending at 4294967295 (2^32-1). The kernel treats that
      ID as invalid and refuses to map it, so a pod assigned that range failed to start. The default
      range now ends one `idsPerPod` block lower.
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • 인라인 vSphere 볼륨 처리 시 KCM 및 kubelet 충돌 수정
    영향 대상인라인 vSphere 볼륨을 처리하는 KCM 및 kubelet 구성

    인라인 vSphere 볼륨을 처리할 때 두 구성 요소가 충돌할 수 있었지만, 이제는 충돌하지 않습니다.

    - Fix KCM and kubelet crash because of inline vsphere volumes ([#144312](https://github.com/kubernetes/kubernetes/pull/144312), [@gnufied](https://github.com/gnufied)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • Pod 재생성 시 스케줄러 비정상 종료 수정
    영향 대상Kubernetes 스케줄러를 사용하는 클러스터

    같은 이름과 네임스페이스에서 Pod를 빠르게 삭제한 뒤 다시 만들면, 스케줄러가 대체 Pod를 업데이트로 받아 비정상 종료될 수 있었습니다. 이제 UID가 다른 업데이트는 삭제 후 추가로 처리하며, 재생성된 Pod를 배정 상태에 따라 캐시 또는 스케줄링 큐로 보냅니다.

    - Fixed a scheduler crash when a Pod was rapidly deleted and recreated under the same name and namespace. ([#144204](https://github.com/kubernetes/kubernetes/pull/144204), [@vshkrabkov](https://github.com/vshkrabkov)) [SIG Scheduling]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • 재생성된 노드의 Kubelet CSINode 등록 문제 수정
    영향 대상Kubelet이 관리하며 CSI 볼륨을 사용하는 노드

    노드가 같은 이름으로 빠르게 다시 생성되면 kubelet이 CSINode를 등록하지 못해 새 노드에 CSI 볼륨을 연결할 수 없는 경우가 있었습니다. 이제 kubelet은 CSINode의 소유권을 생성하거나 확인할 때 캐시된 Node UID를 갱신합니다.

    - Fixes an issue where kubelet fails to register CSINode objects when a node is quickly recreated with the same name, which previously prevented CSI volumes from attaching to the new node. ([#143771](https://github.com/kubernetes/kubernetes/pull/143771), [@hime](https://github.com/hime)) [SIG Storage]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
  • kubeadm upgrade plan의 kube-apiserver 버전 조회 실패 시 패닉 방지
    영향 대상kubeadm upgrade plan을 실행하는 환경

    기존 노드에서 최신 kube-apiserver 버전을 확인할 수 없으면 이전에는 명령이 패닉을 일으켰습니다. 이제는 기존 노드에서 최신 kube-apiserver 버전을 가져올 수 없다는 오류를 반환합니다.

    - Kubeadm: `kubeadm upgrade plan` now returns an error instead of panicking when the latest kube-apiserver version cannot be determined. ([#143740](https://github.com/kubernetes/kubernetes/pull/143740), [@devreddy1015](https://github.com/devreddy1015)) [SIG Cluster Lifecycle]
    github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

의존성 갱신2

    그 외 2건 · 보안 언급 없음
    • - Kubernetes is now built with Go 1.26.11. ([#144357](https://github.com/kubernetes/kubernetes/pull/144357), [@jeremyrickard](https://github.com/jeremyrickard)) [SIG Release]
    • - Updated the kube-cross and go-runner build images to Go 1.26.11 and distroless-iptables to v0.9.10. ([#144358](https://github.com/kubernetes/kubernetes/pull/144358), [@jeremyrickard](https://github.com/jeremyrickard)) [SIG Release and Testing]
    기타2
    • Kubeadm의 업그레이드 전 etcd 백업 복사 재시도
      - Kubeadm: fixed the automatic rollback of the etcd data directory after a failed etcd upgrade, which previously copied the backup into a subdirectory of the member directory instead of restoring where it should be. The etcd backup directory now holds the member directory's contents. The etcd data backup before an upgrade is now retried for up to 30 seconds if copying fails. ([#143432](https://github.com/kubernetes/kubernetes/pull/143432), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
      github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md
    • Kubeadm의 일시적인 etcd 멤버 목록 조회 오류 재시도
      - Kubeadm: retry listing etcd members on transient errors during control plane join and reset, instead of failing on the first error. ([#143426](https://github.com/kubernetes/kubernetes/pull/143426), [@SEPURI-SAI-KRISHNA](https://github.com/SEPURI-SAI-KRISHNA)) [SIG Cluster Lifecycle]
      github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md

    정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.