Skip to content

Latest commit

 

History

History
207 lines (164 loc) · 14.7 KB

CHANGELOG.md

File metadata and controls

207 lines (164 loc) · 14.7 KB

v8.0.0

New Feature:

v8.0.0b1

Bug Fix:

API Change:

v8.0.0a1

New Feature:

Bug Fix:

API Change:

  • Upon receiving a LIST request with expired continue token, the apiserver now returns a continue token together with the 410 "the from parameter is too old " error. If the client does not care about getting a list from a consistent snapshot, the client can use this token to continue listing from the next key, but the returned chunk will be from the latest snapshot kubernetes/kubernetes#67284
  • Introduces autoscaling/v2beta2 and custom_metrics/v1beta2, which implement metric selectors for Object and Pods metrics, as well as allowing AverageValue targets on Objects, similar to External metrics kubernetes/kubernetes#64097
  • Create "coordination.k8s.io" api group with "Lease" api in it kubernetes/kubernetes#64246
  • Added support to restore a volume from a volume snapshot data source: adds TypedLocalObjectReference in the core API and adds DataSource in PersistentVolumeClaimSpec kubernetes/kubernetes#67087
  • ProcMount added to SecurityContext and AllowedProcMounts added to PodSecurityPolicy to allow paths in the container's /proc to not be masked kubernetes/kubernetes#64283
  • Support both directory and block device for local volume plugin FileSystem VolumeMode kubernetes/kubernetes#63011
  • SCTP is now supported as additional protocol (alpha) alongside TCP and UDP in Pod, Service, Endpoint, and NetworkPolicy kubernetes/kubernetes#64973
  • RuntimeClass is a new API resource for defining different classes of runtimes that may be used to run containers in the cluster. Pods can select a RunitmeClass to use via the RuntimeClassName field. This feature is in alpha, and the RuntimeClass feature gate must be enabled in order to use it kubernetes/kubernetes#67737
  • The PodShareProcessNamespace feature to configure PID namespace sharing within a pod has been promoted to beta kubernetes/kubernetes#66507
  • To address the possibility dry-run requests overwhelming admission webhooks that rely on side effects and a reconciliation mechanism, a new field is being added to admissionregistration.k8s.io/v1beta1.ValidatingWebhookConfiguration and admissionregistration.k8s.io/v1beta1.MutatingWebhookConfiguration so that webhooks can explicitly register as having dry-run support. If a dry-run request is made on a resource that triggers a non dry-run supporting webhook, the request will be completely rejected, with "400: Bad Request". Additionally, a new field is being added to the admission.k8s.io/v1beta1.AdmissionReview API object, exposing to webhooks whether or not the request being reviewed is a dry-run kubernetes/kubernetes#66936
  • Add custom object status and scale api kubernetes-client/gen#72
  • dry-run: DELETE operations now support dryRun parameter kubernetes/kubernetes#65105
  • Default extensions/v1beta1 Deployment's ProgressDeadlineSeconds to MaxInt32 kubernetes/kubernetes#66581

v7.0.0

New Features:

v7.0.0b1

New Features:

v7.0.0a1

Breaking Change:

  • ACTION REQUIRED Rename the currently being-used async parameter to async_req to support Python 3.7 because it's a reserved keyword in Python 3.7 kubernetes-client/gen#67

Bug Fix:

API Change:

v6.0.0

v6.0.0b1

API change:

  • CustomObjectsApi: Add PATCH to CustomObjectsApi kubernetes-client/gen#53
  • Promoting the apiregistration.k8s.io (aggregation) to GA (ApiregistrationV1Api) kubernetes/kubernetes#58393
  • CoreV1Api: remove /proxy legacy API (deprecated since kubernetes v1.2). Use the /proxy subresources on objects that support HTTP proxying kubernetes/kubernetes#59884
  • The PodSecurityPolicy API has been moved to the policy/v1beta1 API group. The PodSecurityPolicy API in the extensions/v1beta1 API group is deprecated and will be removed in a future release. Authorizations for using pod security policy resources should change to reference the policy API group after upgrading to 1.11 kubernetes/kubernetes#54933
  • StorageV1beta1Api: Introduce new VolumeAttachment API Object kubernetes/kubernetes#54463
  • V1FlexPersistentVolumeSource: PersistentVolume flexVolume sources can now reference secrets in a namespace other than the PersistentVolumeClaim's namespace kubernetes/kubernetes#56460
  • ACTION REQUIRED: VolumeScheduling and LocalPersistentVolume features are beta and enabled by default. The PersistentVolume NodeAffinity alpha annotation is deprecated and will be removed in a future release kubernetes/kubernetes#59391
  • Allows HorizontalPodAutoscaler to use global metrics not associated with any Kubernetes object (for example metrics from a hoster service running outside of Kubernetes cluster) kubernetes/kubernetes#60096
  • v1.Pod now has a field to configure whether a single process namespace should be shared between all containers in a pod. This feature is in alpha preview. kubernetes/kubernetes#58716
  • delete_namespaced_service() now takes an required body (delete option) parameter. Refactor service storage to remove registry wrapper kubernetes/kubernetes#59510

Documentation update:

v5.0.0

  • No changes. The same as v5.0.0b1.

v5.0.0b1

  • Update to Kubernetes 1.9 cluster
  • Label selector for pods is now required and must match the pod template's labels for v1beta2 StatefulSetSpec, ReplicaSetSpec, DaemonSetSpec and DeploymentSpec kubernetes/kubernetes#55357
  • The dynamic admission webhook is split into two kinds, mutating and validating. The kinds have changed completely and old code must be ported to admissionregistration.k8s.io/v1beta1 - MutatingWebhookConfiguration and ValidatingWebhookConfiguration kubernetes/kubernetes#55282
  • DaemonSet, Deployment, ReplicaSet, and StatefulSet have been promoted to GA and are available in the apps/v1 group version kubernetes/kubernetes#53679
  • Introduce new storage.k8s.io/v1alpha1 VolumeAttachment object kubernetes/kubernetes#54463
  • Introduce core/v1 RBDPersistentVolumeSource kubernetes/kubernetes#54302
  • StatefulSet status now has support for conditions kubernetes/kubernetes#55268
  • DaemonSet status now has support for conditions kubernetes/kubernetes#55272

v4.0.0

  • api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource #397.

v4.0.0b1

  • Make sure PyPI source distribution is complete with all files from the root directory

v4.0.0a1

  • Update to Kubernetes 1.8 cluster
  • IntOrString is now object thus it can be int or string. #18 #359
  • Adding stream package to support calls like exec. The old way of calling them is deprecated. See Troubleshooting).
  • config.http_proxy_url is deprecated. use configuration.proxy instead.
  • Configuration is not a singleton object anymore. Please use Configuraion.set_default to change default configuration.
  • Configuration class does not support ws_streaming_protocol anymore. In ApiClient.set_default_header set sec-websocket-protocol to the preferred websocket protocol.

v3.0.0

v3.0.0b1

v3.0.0a1

  • Update client to kubernetes 1.7
  • Support ThirdPartyResources (TPR) and CustomResourceDefinitions (CRD). Note that TPR is deprecated in kubernetes #251 #201
  • Better dependency management #136
  • Add support for python3.6 #244

v1.0.2

  • Bugfix: support RFC6902 'json-patch' operations #187

v2.0.0

  • No changes. The same as v2.0.0b1.

v2.0.0b2

  • Bugfix: support RFC6902 'json-patch' operations #187

v1.0.1

  • Bugfix: urllib3 1.21 fails tests, Excluding version 1.21 from dependencies #197

v2.0.0b1

  • Add support for attach API calls #180
  • Bugfix: token file should not be decoded #182
  • Inline primitive models (e.g. v1.Time and resource.Quantity) #179
  • Bugfix: urllib3 1.21 fails tests, Excluding version 1.21 from dependencies #197

v2.0.0a1

  • Update to kubernetes 1.6 spec #169

v1.0.0

  • Bugfix: blocking exec call should remove channel metadata #140
  • Add close method to websocket api of interactive exec #145

v1.0.0b3

  • Bugfix: Missing websocket-client dependency #131

v1.0.0b2

  • Support exec calls in both interactive and non-interactive mode #58

v1.0.0b1

  • Support insecure-skip-tls-verify config flag #99
  • Added example for using yaml files as models #63
  • Added end to end tests #41, #94
  • Bugfix: Fix ValueError in list_namespaced_config_map #104
  • Bugfix: Export missing models #101
  • Bugfix: Patch operations #93

v1.0.0a5

v1.0.0a4

  • Bugfix: Fixed broken config loader #77

v1.0.0a3

  • Add context switch to kube config loader #46
  • Add default kube config location #64
  • Add suport for accessing multiple clusters #7
  • Bugfix: Python client does not resolve relative paths in kubeconfig #68
  • Bugfix: read_namespaced_pod_log get None response #57
  • Improved test coverage #54
  • Improved client generator #49

v1.0.0-alpha2

  • auto-generated client from K8s OpenAPI spec
  • kube-config support
  • in-cluster config support: Run scripts inside kubernetes cluster
  • watch support

v1.0.0-alpha1

Skipped because of a failed initial release.