deads2k
519c13745f
convert rest of kubectl to generated clients
2016-09-12 08:22:34 -04:00
Wojciech Tyczynski
e240aff741
Revert "Use scale subresource"
2016-09-10 18:35:07 +02:00
Kubernetes Submit Queue
a5d6bf4095
Merge pull request #31111 from fraenkel/scale_subresource
...
Automatic merge from submit-queue
Use scale subresource
Fixes #29698
Use scale subresource for ReplicationController, ReplicaSet and Deployment.
Couldn't do Jobs and PetSet since they live in a different group.
2016-09-10 06:26:25 -07:00
Jedrzej Nowak
9e2abd4b02
Fix various typos in pgk/cloudprovider,dns,kubectl
2016-08-31 18:56:52 +02:00
Kubernetes Submit Queue
01541584ed
Merge pull request #31375 from kargakis/cast-to-actual-type
...
Automatic merge from submit-queue
kubectl: cast notFound error to struct
Fixes https://github.com/kubernetes/kubernetes/issues/28378 (the 404 flake)
@kubernetes/kubectl @kubernetes/deployment
2016-08-26 04:39:31 -07:00
Michael Fraenkel
f061f74f56
Use scale subresource
...
- Use scale subresource for ReplicationController, ReplicaSet and Deployment.
2016-08-25 17:17:12 -04:00
Wojciech Tyczynski
79d8c9754d
Fix scale x->x in kubectl for ReplicationController
2016-08-25 11:44:11 +02:00
Michail Kargakis
4c56b8cfc5
kubectl: cast notFound error to struct
2016-08-25 10:40:44 +02:00
deads2k
553313f867
speed up RC scaler
2016-08-12 08:19:10 -04:00
Angus Salkeld
eec08872c7
Move deployment utilities to there own package
2016-07-08 09:46:56 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Maciej Szulik
a3b4447305
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
2016-04-25 11:03:54 +02:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
Madhusudan.C.S
db48dcf583
ReplicaSetSpec.Template shouldn't be a pointer.
...
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.
See PR #19510 .
2016-03-09 21:24:16 -08:00
Brian Grant
d0dd4f8a93
Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
...
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
nikhiljindal
2a538e317f
Moving deployment deletion at the end
2016-02-24 13:00:45 -08:00
nikhiljindal
7e50fa6df0
Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition
2016-02-24 00:09:44 -08:00
Maciej Szulik
b929424135
Scale deployments fall-back to regular deployment update
2016-02-12 10:17:35 +01:00
Maciej Szulik
0ea31b56ed
Adding reaper for deployments
2016-02-11 19:02:32 +01:00
Madhusudan.C.S
4f9b8b2bfc
Link all the ReplicaSet controller boilerplate together.
...
1. Enable replica set in controller manager.
2. Enable replica set etcd storage in master package.
3. Add replica set support to kubectl commands.
2016-02-05 21:05:10 -08:00
Eric Tune
6133cb1f21
Move extensions.LabelSelector to unversioned.
...
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.
Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned
The related type in pkg/apis/extensions/v1beta1/ is staying there. I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
Zach Loafman
62726c4ab8
Revert "kubectl: Make scaling smarter"
2016-01-22 14:52:38 -08:00
Michail Kargakis
e894dcc8ff
kubectl: Make scaling smarter
...
Skip updating resources that already meet the desired replica count.
This change has an impact in both kubectl scale and kubectl delete in
that reapable resources that already have the desired replicas (number
provided via --replicas for scale, or zero for delete) won't be updated
again and a "already scaled" message will be printed (in case of scale).
2015-12-21 10:07:21 +01:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
deads2k
1ac6d8afd3
update reaper, scaler, describer for GroupKind
2015-11-30 09:22:39 -05:00
Maciej Szulik
64f778804d
Remove string from Reaper.Stop signature
2015-11-17 12:09:08 +01:00
Maciej Szulik
e662b34ccd
Remove dead pods upon stopping a job
2015-10-29 17:56:01 +01:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Maciej Szulik
48775319d9
Reaper and scaler for jobs
2015-09-23 13:06:34 +02:00
Timothy St. Clair
2b7e758c3c
Fixes the experimental api, which appeared to be completely broken.
...
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Salvatore Dario Minonne
8e4d74988a
to add tests for RC selector overlapping and fix few comments
2015-08-25 10:02:20 +02:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
deads2k
182885e897
make testclient more precise
2015-08-04 13:35:59 -04:00
Mike Danese
1b84fb7d74
make testclient threadsafe by guarding internal state with accessors
2015-07-29 16:17:17 -07:00
Prashanth Balasubramanian
f4fe40e2d1
Delete overlapping controllers, add clarity to docs
2015-07-24 12:13:26 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Brendan Burns
ab0c9b8e1e
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
2015-06-03 11:21:30 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Clayton Coleman
51db3bd654
Create a new testclient package that can be backed by disk files
...
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
Quinton Hoole
40e2eae5b4
Retry replication controller rolling updates on version mismatch.
...
When kubectl does rolling updates of replication controllers, retry updates that
fail due to version mismatches (caused by concurrent updates by other clients).
These failed rolling updates were causing intermittent e2e test failures
(e.g. issue 5821)
2015-04-02 17:53:34 -07:00
Prashanth Balasubramanian
0e484f25b1
Properly reap replication controllers in e2e test
2015-03-09 13:08:12 -07:00
Jeff Lowdermilk
201e99e0ee
Add a kubectl stop command
2015-01-22 09:46:53 -08:00
Filipe Brandenburger
b1727b0330
Revert "Add a kubectl stop command"
2015-01-22 09:00:50 -08:00