Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GA Workload API #164

Merged
merged 4 commits into from
Jun 24, 2018
Merged

Support GA Workload API #164

merged 4 commits into from
Jun 24, 2018

Conversation

doriordan
Copy link
Owner

@doriordan doriordan commented Jun 23, 2018

(See https://v1-10.docs.kubernetes.io/docs/reference/workloads-18-19/ for details on the corresponding Kubernetes changes.)

This adds support for the GA workload API versions through these new classes

  • skuber.apps.v1.Deployment
  • skuber.apps.v1.ReplicaSet
  • skuber.apps.v1.StatefulSet
  • skuber.apps.v1.DaemonSet

Migrating from older versions of the above types should be straightforward as they are largely backward compatible - the main change in the new classes is setting the API version to "apps/v1".

These newer types can be used with Kubernetes 1.9 or later.

The older (beta) versions will remain supported for the foreseeable future in skuber.

This also adds completes support for versions "apps/v1beta1" and "apps/v1beta2" for the Deployment and StatefulSet types, which ahd previously been partially supported for these versions. However it is probably best to skip these beta versions if not already using them, and go to the full GA version if/when you migrate to Kubernetes 1.9 or later.

@doriordan doriordan merged commit 85e6448 into master Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant