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

Stateful set scaling #116

Merged
merged 3 commits into from
Jan 27, 2018
Merged

Stateful set scaling #116

merged 3 commits into from
Jan 27, 2018

Conversation

doriordan
Copy link
Owner

This PR addresses several issues and enhancements related to StatefulSet and Scaling:

  • fixes typo in its resource definition which resulted in incorrect API paths being used for this type for some API methods
  • created separate version of the StatefulSet class for legacy v1beta1 version of the resource type under skuber.apps.v1beta1. This version of the class should be used with k8s v1.7 and earlier.
  • updated skuber,apps.StatefulSet class to support k8s v1.8, including adding support for scaling stateful sets via the scale subresource.
  • refactored scaling API making it possible now to add support for scaling of new resource types without modifying the APi itself. Older methods still supported for now but deprecated.
  • updated ScaleExamples example to demonstrate scaling using new API and include stateful set scaling

@doriordan doriordan merged commit 18e5c1f into master Jan 27, 2018
@doriordan doriordan deleted the StatefulSetScaling branch June 1, 2018 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant