Sourced from kubernetes's releases.
Kubernetes Python Client v30.1.0 Stable Release
Getting started:
pip install --pre --upgrade kubernetes
Or from source, download attached zip file, then
unzip client-python-v30.1.0.zip cd client-python-v30.1.0 python setup.py install
Then follow examples in https://github.com/kubernetes-client/python/tree/release-30.0/examples
Changelog: https://github.com/kubernetes-client/python/blob/release-30.0/CHANGELOG.md
Sourced from kubernetes's changelog.
v30.1.0b1
Kubernetes API Version: v1.30.1
v30.1.0a1
Kubernetes API Version: v1.30.1
API Change
Fixes a 1.30.0 regression in openapi descriptions of imagePullSecrets and hostAliases fields to mark the fields used as keys in those lists as either defaulted or required. (kubernetes/kubernetes#124553,
@pmalek
) [SIG API Machinery]Fixes a 1.30.0 regression in openapi descriptions of imagePullSecrets and hostAliases fields to mark the fields used as keys in those lists as either defaulted or required. (kubernetes/kubernetes#124694,
@pmalek
) [SIG API Machinery]Added (alpha) support for the
managedBy
field on Jobs. Jobs with a custom value of this field - any value other thankubernetes.io/job-controller
- were skipped by the job controller, and their reconciliation was delegated to an external controller, indicated by the value of the field. Jobs that didn't have this field at all, or where the field value was the reserved stringkubernetes.io/job-controller
, were reconciled by the built-in job controller. (kubernetes/kubernetes#123273,@mimowo
)Added alpha-level support for the SuccessPolicy in Jobs. (kubernetes/kubernetes#123412,
@tenzen-y
)Added the
CEL
library for IP Addresses and CIDRs. This was made available for use starting from version1.31
. (kubernetes/kubernetes#121912,@JoelSpeed
)Allowed container runtimes to fix an image garbage collection bug by adding an
image_id
field to the CRI Container message. (kubernetes/kubernetes#123508,@saschagrunert
)Dynamic Resource Allocation: DRA drivers can now use "structured parameters" to let the scheduler handle claim allocation. (kubernetes/kubernetes#123516,
@pohly
)Fixed accidental enablement of the new alpha
optionalOldSelf
API field inCustomResourceDefinition
validation rules, which should only have been allowed to be set when theCRDValidationRatcheting
feature gate is enabled. (kubernetes/kubernetes#122329,@jpbetz
)Implemented the
prescore
extension point for thevolumeBinding
plugin. It now returns skip if it doesn't do anything in Score. (kubernetes/kubernetes#115768,@AxeZhan
)Kubelet would fail if NodeSwap was used with LimitedSwap and cgroupv1 node. (kubernetes/kubernetes#123738,
@kannon92
)Promoted
AdmissionWebhookMatchConditions
to GA. The feature is now stable, and the feature gate is now locked to default. (kubernetes/kubernetes#123560,@ivelichkovich
)Structured Authentication Configuration now supports
DiscoveryURL
. If specified,discoveryURL
overrides the URL used to fetch discovery information. This is for scenarios where the well-known and jwks endpoints are hosted at a different location than the issuer (such as locally in the cluster). (kubernetes/kubernetes#123527,@aramase
)The
StorageVersionMigration
API, previously available as a Custom Resource Definition (CRD), is now a built-in API in Kubernetes. (kubernetes/kubernetes#123344,@nilekhc
)When configuring a JWT authenticator:
If
username.expression
used 'claims.email', then 'claims.email_verified' must have been used inusername.expression
orextra[*].valueExpression
orclaimValidationRules[*].expression
. An example claim validation rule expression that matches the validation automatically applied whenusername.claim
is set to 'email' is 'claims.?email_verified.orValue(true)'. (kubernetes/kubernetes#123737,@enj
)
readOnly
volumes now support recursive read-only mounts for kernel versions >= 5.12." (kubernetes/kubernetes#123180,@AkihiroSuda
)cri-api: Implemented KEP-3857: Recursive Read-only (RRO) mounts. (kubernetes/kubernetes#123272,
@AkihiroSuda
)kube-apiserver: the AuthenticationConfiguration type accepted in
--authentication-config
files has been promoted toapiserver.config.k8s.io/v1beta1
. (kubernetes/kubernetes#123696,@aramase
)kubelet allowed specifying a custom root directory for pod logs (instead of the default /var/log/pods) using the
podLogsDir
key in kubelet configuration. (kubernetes/kubernetes#112957,@mxpv
)resource.k8s.io/ResourceClaim (alpha API): The strategic merge patch strategy for the
status.reservedFor
array was changed so that a strategic-merge-patch can now add individual entries. This change may break clients using strategic merge patch to update status, which rely on the previous behavior (replacing the entire array). (kubernetes/kubernetes#122276,@pohly
)Added a CBOR implementation of
runtime.Serializer
. Until CBOR graduates to Alpha, API servers will refuse to start if configured with CBOR support. (kubernetes/kubernetes#122881,@benluddy
)Added a alpha feature, behind the
RelaxedEnvironmentVariableValidation
feature gate.
... (truncated)
6b6201d
Merge pull request #2244
from yliaog/automated-release-of-30.1.0-upstream-rel...58e29d0
updated compatibility matrix and maintenance status9ca7bbe
generated client change2fb261c
update changelogbf4e931
update version constants for 30.1.0 releasebc977b4
Merge pull request #2241
from yliaog/automated-release-of-30.1.0b1-upstream-r...f1322af
updated compatibility matrix in README5c5d700
generated client change9dabf68
update changelog8870b6a
update version constants for 30.1.0b1 release