# Knative knative-v1.20.1

2025-12-25 · [릴리스 노트 원문](https://github.com/knative/serving/releases/tag/knative-v1.20.1) · [전체 정리](https://ratatosk.io/ko/releases/knative/knative-v1.20.1)

보안 1 · 호환성 변경 2 · 중요 수정 3 · 의존성 갱신 1

## 보안 (1)

### `AllowRootBounded` 보안 컨텍스트 기본값

- 영향 대상: `secure-pod-defaults` 기능 설정을 사용하는 Revision 워크로드 (추정)
- 추가 조치: `secure-pod-defaults`를 `AllowRootBounded`로 설정

`AllowRootBounded`는 값이 nil인 경우 `SeccompProfile`과 `Capabilities`의 기본값을 설정하지만, `Enabled`에서 적용하는 `runAsNonRoot` 기본값은 적용하지 않습니다. v1.20에서는 `secure-pod-defaults`가 기본적으로 비활성화되어 있으므로, 업그레이드만으로는 Revision 기본값이 바뀌지 않습니다.

> We've introduce `secure-pod-defaults` in an earlier release but this release includes a new setting `AllowRootBounded` that offers a better security posture for your workloads but balances the compatibility with images that require/expect you to run as root.

## 호환성 변경 (2)

### Serving 지표 이름 변경

- 영향 대상: `kn.queueproxy.app.duration` 또는 `kn.queueproxy.depth`를 사용하는 Serving 지표 쿼리 또는 대시보드 (추정)

Serving은 이제 `kn.queueproxy.app.duration`과 `kn.queueproxy.depth` 대신 `kn.serving.invocation.duration`과 `kn.serving.queue.depth`를 내보냅니다.

근거: “Fix metric names to match the original design document `kn.queueproxy.app.duration` becomes `kn.serving.invocation.duration` and `kn.queueproxy.depth` becomes `kn.serving.queue.depth`” https://github.com/knative/serving/pull/16293

> * [release-1.20] Fix Serving Metric Names to match Design Document by @knative-prow-robot in https://github.com/knative/serving/pull/16293

### 오토스케일러 서비스 통계 메트릭에서 `RevisionNameKey` 제거

- 영향 대상: `RevisionNameKey`를 사용하는 오토스케일러 서비스 통계 메트릭을 소비하는 구성 (추정)

이번 릴리스 전에는 스크레이퍼가 이러한 메트릭에 리비전 이름을 `RevisionNameKey`로 추가했습니다.

> * [release-1.20] Make autoscaler instrument async so we can remove metric attributes when revisions go away by @knative-prow-robot in https://github.com/knative/serving/pull/16302

## 중요 수정 (3)

### Knative Serving의 조정 과정에서 외부 메타데이터 보존

- 영향 대상: 외부 레이블 또는 어노테이션이 있는 Serving Deployment나 파드 템플릿 (추정)

Knative가 관리하는 `knative.dev` 키와 app 레이블에는 원하는 값이 적용되고, 그 밖의 메타데이터 키는 현재 리소스의 값이 유지됩니다.

> * [release-1.20] Preserve deployment and its template labels and annotations by @knative-prow-robot in https://github.com/knative/serving/pull/16303

### 오토스케일러 메트릭 무한 증가 문제 수정

- 영향 대상: Knative Serving 오토스케일러 메트릭 수집 (추정)

리비전이 사라진 뒤에도 리비전 메트릭 속성을 제거할 수 없으면 메트릭 데이터가 무한히 증가할 수 있었습니다. 이제 오토스케일러 메트릭은 옵저버블 게이지를 사용하며, 관련 스케일러 리소스가 삭제되면 메트릭 등록을 해제할 수 있습니다.

> * [release-1.20] Make autoscaler instrument async so we can remove metric attributes when revisions go away by @knative-prow-robot in https://github.com/knative/serving/pull/16302

### Serving에서 이제 ‘default value insecure’ 경고 억제

- 영향 대상: `SecurePodDefaults`를 `Enabled` 또는 `AllowRootBounded`로 설정한 Serving 구성

여기에는 테스트에서 확인한 불완전한 보안 컨텍스트 사례도 포함됩니다.

> * [release-1.20] Suppress 'default value insecure' warning when secure-pod-defaults is enabled. by @knative-prow-robot in https://github.com/knative/serving/pull/16220

## 의존성 갱신 (1)

그 외 1건 · 보안 언급 없음

- `* [release-1.20] Upgrade to latest dependencies by @knative-automation in https://github.com/knative/serving/pull/16319`

---

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