- Update to v24.2.0
Uncategorized
The dynamic client now support the _request_timeout parameter to configure connection and request timeouts. (#1732, @philipp-sontag-by)
- Update to v24.1.0b1
Uncategorized
The dynamic client now support the _request_timeout parameter to configure connection and request timeouts. (#1732, @philipp-sontag-by)
- Update to v24.1.0a1
API Change
Add 2 new options for kube-proxy running in winkernel mode. --forward-healthcheck-vip, if specified as true, health check traffic whose
destination is service VIP will be forwarded to kube-proxy's healthcheck service. --root-hnsendpoint-name specifies the name of the hns endpoint
for the root network namespace. This option enables the pass-through load balancers like Google's GCLB to correctly health check the backend services.
Without this change, the health check packets is dropped, and Windows node will be considered to be unhealthy by those load balancers.
(kubernetes/kubernetes#99287, @anfernee)
Added CEL runtime cost calculation into CustomerResource validation. CustomerResource validation will fail if runtime cost exceeds the budget.
(kubernetes/kubernetes#108482, @cici37)
Added a new metric webhook_fail_open_count to monitor webhooks that fail to open. (kubernetes/kubernetes#107171, @ltagliamonte-dd)
Adds a new Status subresource in Network Policy objects (kubernetes/kubernetes#107963, @rikatz)
Adds support for InterfaceNamePrefix and BridgeInterface as arguments to --detect-local-mode option and also introduces a new optional
--pod-interface-name-prefix and --pod-bridge-interface flags to kube-proxy. (kubernetes/kubernetes#95400, @tssurya)
CEL CRD validation expressions may now reference existing object state using the identifier oldSelf. (kubernetes/kubernetes#108073, @benluddy)
CRD deep copies should no longer contain shallow copies of JSONSchemaProps.XValidations. (kubernetes/kubernetes#107956, @benluddy)
CRD writes will generate validation errors if a CEL validation rule references the identifier oldSelf on a part of the schema that does not
support it. (kubernetes/kubernetes#108013, @benluddy)
CSIStorageCapacity.storage.k8s.io: The v1beta1 version of this API is deprecated in favor of v1, and will be removed in v1.27. If a CSI driver
supports storage capacity tracking, then it must get deployed with a release of external-provisioner that supports the v1 API. (kubernetes/kubernetes#108445, @pohly)
Custom resource requests with fieldValidation=Strict consistently require apiVersion and kind, matching non-strict requests (kubernetes/kubernetes#109019, @liggitt)
Feature of DefaultPodTopologySpread is graduated to GA (kubernetes/kubernetes#108278, @kerthcet)
Feature of NonPreemptingPriority is graduated to GA (kubernetes/kubernetes#107432, @denkensk)
Feature of PodOverhead is graduated to GA (kubernetes/kubernetes#108441, @pacoxu)
Fixed OpenAPI serialization of the x-kubernetes-validations field (kubernetes/kubernetes#107970, @liggitt)
OBS-URL: https://build.opensuse.org/request/show/1006979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kubernetes?expand=0&rev=36
- update to 23.6.0:
* Omits alpha-level enums from the static openapi file captured in api/openapi-spec
* Fixes a regression in v1beta1 PodDisruptionBudget handling of "strategic
merge patch"-type API requests for the `selector` field. Prior to 1.21,
these requests would merge `matchLabels` content and replace
`matchExpressions` content. In 1.21, patch requests touching the `selector`
field started replacing the entire selector. This is consistent with
server-side apply and the v1 PodDisruptionBudget behavior, but should not
have been changed for v1beta1.
OBS-URL: https://build.opensuse.org/request/show/983725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kubernetes?expand=0&rev=16
* Omits alpha-level enums from the static openapi file captured in api/openapi-spec
* Fixes a regression in v1beta1 PodDisruptionBudget handling of "strategic
merge patch"-type API requests for the `selector` field. Prior to 1.21,
these requests would merge `matchLabels` content and replace
`matchExpressions` content. In 1.21, patch requests touching the `selector`
field started replacing the entire selector. This is consistent with
server-side apply and the v1 PodDisruptionBudget behavior, but should not
have been changed for v1beta1.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kubernetes?expand=0&rev=34
- update to 12.0.1:
* Kubernetes API version 1.16.15
- Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#91748](https://github.com/kubernetes/k
ubernetes/pull/91748), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
- Fix bug where sending a status update completely wipes managedFields for some types. ([#90033](https://github.com/kubernetes/kubernetes/pull/90033), [@
apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
- The `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` APIs have been promoted to `admissionregistration.k8s.io/v1`:
- `failurePolicy` default changed from `Ignore` to `Fail` for v1
- `matchPolicy` default changed from `Exact` to `Equivalent` for v1
- `timeout` default changed from `30s` to `10s` for v1
- `sideEffects` default value is removed, and the field made required, and only `None` and `NoneOnDryRun` are permitted for v1
- `admissionReviewVersions` default value is removed and the field made required for v1 (supported versions for AdmissionReview are `v1` and `v1beta1`)
- The `name` field for specified webhooks must be unique for `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` objects created via `a
dmissionregistration.k8s.io/v1`
- The `AdmissionReview` API sent to and received from admission webhooks has been promoted to `admission.k8s.io/v1`. Webhooks can specify a preference fo
r receiving `v1` AdmissionReview objects with `admissionReviewVersions: ["v1","v1beta1"]`, and must respond with an API object in the same `apiVersion` t
hey are sent. When webhooks use `admission.k8s.io/v1`, the following additional validation is performed on their responses:
- `response.patch` and `response.patchType` are not permitted from validating admission webhooks
- `apiVersion: "admission.k8s.io/v1"` is required
- `kind: "AdmissionReview"` is required
- `response.uid: "<value of request.uid>"` is required
- `response.patchType: "JSONPatch"` is required (if `response.patch` is set) ([#80231](https://github.com/kubernetes/kubernetes/pull/80231), [@liggitt]
(https://github.com/liggitt))
- The `CustomResourceDefinition` API type is promoted to `apiextensions.k8s.io/v1` with the following changes:
- Use of the new `default` feature in validation schemas is limited to v1
- `spec.scope` is no longer defaulted to `Namespaced` and must be explicitly specified
- `spec.version` is removed in v1; use `spec.versions` instead
- `spec.validation` is removed in v1; use `spec.versions[*].schema` instead
- `spec.subresources` is removed in v1; use `spec.versions[*].subresources` instead
- `spec.additionalPrinterColumns` is removed in v1; use `spec.versions[*].additionalPrinterColumns` instead
OBS-URL: https://build.opensuse.org/request/show/857126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kubernetes?expand=0&rev=14
* Kubernetes API version 1.16.15
- Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#91748](https://github.com/kubernetes/k
ubernetes/pull/91748), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
- Fix bug where sending a status update completely wipes managedFields for some types. ([#90033](https://github.com/kubernetes/kubernetes/pull/90033), [@
apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
- The `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` APIs have been promoted to `admissionregistration.k8s.io/v1`:
- `failurePolicy` default changed from `Ignore` to `Fail` for v1
- `matchPolicy` default changed from `Exact` to `Equivalent` for v1
- `timeout` default changed from `30s` to `10s` for v1
- `sideEffects` default value is removed, and the field made required, and only `None` and `NoneOnDryRun` are permitted for v1
- `admissionReviewVersions` default value is removed and the field made required for v1 (supported versions for AdmissionReview are `v1` and `v1beta1`)
- The `name` field for specified webhooks must be unique for `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` objects created via `a
dmissionregistration.k8s.io/v1`
- The `AdmissionReview` API sent to and received from admission webhooks has been promoted to `admission.k8s.io/v1`. Webhooks can specify a preference fo
r receiving `v1` AdmissionReview objects with `admissionReviewVersions: ["v1","v1beta1"]`, and must respond with an API object in the same `apiVersion` t
hey are sent. When webhooks use `admission.k8s.io/v1`, the following additional validation is performed on their responses:
- `response.patch` and `response.patchType` are not permitted from validating admission webhooks
- `apiVersion: "admission.k8s.io/v1"` is required
- `kind: "AdmissionReview"` is required
- `response.uid: "<value of request.uid>"` is required
- `response.patchType: "JSONPatch"` is required (if `response.patch` is set) ([#80231](https://github.com/kubernetes/kubernetes/pull/80231), [@liggitt]
(https://github.com/liggitt))
- The `CustomResourceDefinition` API type is promoted to `apiextensions.k8s.io/v1` with the following changes:
- Use of the new `default` feature in validation schemas is limited to v1
- `spec.scope` is no longer defaulted to `Namespaced` and must be explicitly specified
- `spec.version` is removed in v1; use `spec.versions` instead
- `spec.validation` is removed in v1; use `spec.versions[*].schema` instead
- `spec.subresources` is removed in v1; use `spec.versions[*].subresources` instead
- `spec.additionalPrinterColumns` is removed in v1; use `spec.versions[*].additionalPrinterColumns` instead
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kubernetes?expand=0&rev=29