Commit Graph

291 Commits

Author SHA1 Message Date
Erick Fejta
5fd47873dd Update hack/test-cmd.sh to use tagged, gcr.io images 2016-04-07 17:55:22 -07:00
Janet Kuo
c1596e6711 Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Janet Kuo
2bd30c7572 Stop the users from rolling back a paused deployment in kubectl rollout undo 2016-03-16 15:46:22 -07:00
deads2k
5bd161a9cc allow resource.version.group in kubectl 2016-03-11 10:21:50 -05:00
Brian Grant
e5748a44d6 Merge pull request #22840 from liggitt/preferred-gvk
Prefer fetched version when determining HPA group version kind
2016-03-11 00:41:39 -08:00
Jordan Liggitt
560b02b3ec Prefer fetched version when determining HPA group version kind 2016-03-11 00:03:38 -05:00
k8s-merge-robot
144e818ae0 Merge pull request #22811 from madhusudancs/kubectl-rs-autoscale
Auto commit by PR queue bot
2016-03-10 17:16:26 -08:00
Madhusudan.C.S
dba9d99e2e Add kubectl describe tests for replica sets. 2016-03-10 15:06:12 -08:00
Madhusudan.C.S
dfc62b56cc Enable kubectl autoscale for replica sets.
Also add some tests for it.
2016-03-10 15:05:54 -08:00
k8s-merge-robot
c9b3b007cd Merge pull request #22808 from madhusudancs/kubectl-rs-cp-testdata
Auto commit by PR queue bot
2016-03-10 14:37:45 -08:00
Maciej Szulik
de83631768 Added job/v1 generator to kubectl run 2016-03-10 19:56:57 +01:00
Madhusudan.C.S
9c011c6e0f Copy replicaset example yamls to hack/testdata directory. 2016-03-10 10:53:29 -08:00
Jeff Lowdermilk
afa7816c38 Merge pull request #22009 from aveshagarwal/master-create-urls-issue
Fix kubectl create to create to all resources in a url.
2016-03-03 15:21:35 -08:00
Janet Kuo
0c4e13cd9e Delete hpa first before deleting the resources it controlls in test-cmd.sh 2016-03-03 13:57:45 -08:00
Janet Kuo
d5953991d9 Fix kubectl edit: no such file 2016-03-02 16:05:08 -08:00
Avesh Agarwal
ad6dfa0370 Fix kubectl create to create all resources in a url.
https://github.com/kubernetes/kubernetes/issues/18751 .
2016-03-02 18:08:24 -05:00
k8s-merge-robot
739285b146 Merge pull request #21265 from stevekuznetsov/skuznets/new-sa
Auto commit by PR queue bot
2016-03-01 01:14:06 -08:00
Chao Xu
cd6aea2f7b switch namespace before recreate a pod in test-cmd.sh 2016-02-28 19:03:31 -08:00
Brian Grant
aa04237789 Eliminate racy scale command from resource-alias test.
Fixes #22128.
2016-02-27 22:43:08 +00:00
Fabio Yeon
375b4ca8d6 Revert "Revert 20202. Use other measures to prevent race in test-cmd.sh" 2016-02-26 19:25:08 -08:00
k8s-merge-robot
a5ceafc48a Merge pull request #21175 from caesarxuchao/revert-20202
Auto commit by PR queue bot
2016-02-26 18:33:42 -08:00
Fabio Yeon
df4529e33d Merge pull request #21711 from sjenning/fix-flake-21640
increase wait_for_url defaults
2016-02-26 13:10:07 -08:00
Steve Kuznetsov
e5b696ee43 added 'kubectl create sa' to create serviceaccounts 2016-02-26 10:27:37 -05:00
deads2k
9c42d219bc allow disambiguation of resouces 2016-02-25 07:35:23 -05:00
Janet Kuo
dbfb6c0169 Set RC's pod template TerminationGracePeriodSeconds to 0 in test-cmd.sh test data 2016-02-23 14:22:41 -08:00
Paul Morie
7e64b4ac52 Add ConfigMap docs 2016-02-23 13:27:54 -05:00
Seth Jennings
fdc1e0b310 increase wait_for_url defaults 2016-02-22 15:32:03 -06:00
k8s-merge-robot
aee2eb3977 Merge pull request #21434 from erictune/job-ga
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
e34a23b289 Merge pull request #21351 from smarterclayton/optional_pod_status
Auto commit by PR queue bot
2016-02-21 04:10:19 -08:00
Chao Xu
314a6ab7de switch namespace before recreate a pod in test-cmd.sh 2016-02-19 12:13:59 -08:00
deads2k
11da9a7638 fix --record to not fail a successful patch 2016-02-19 14:28:23 -05:00
Eric Tune
bcdbd1c709 Fix Job Reaping
Ensure batch.Kind("Job") has a reaper, so that pods are not orphaned.
Check for orphaned pods in test-cmd.sh.
Also provide describer and scaler for batch.Kind("Job").
The scaler, reaper, and describer for extensions can
be reused for batch.
2016-02-19 09:22:05 -08:00
Eric Tune
3433d50bc3 Fix test and reorder initialization of groups
Delete a job scale test
A subsequent PR is going to remove support
for this anyways.

Initialize extensions before batch and autoscaling
per @lavalamp review suggestion.
2016-02-19 09:22:05 -08:00
Eric Tune
d5f303d3d7 Fixed and added tests 2016-02-19 09:20:56 -08:00
Paul Morie
51a9c2c9ba Add kubectl create configmap 2016-02-18 21:24:21 -05:00
k8s-merge-robot
5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
k8s-merge-robot
17325ef6ef Merge pull request #20501 from piosz/hpa-ga
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Clayton Coleman
778fb1798b Don't print reason or message if they are empty on pods
For running pods they are typically empty and convey no value. Don't
print images twice.
2016-02-16 23:26:59 -05:00
k8s-merge-robot
dada47eb2f Merge pull request #21179 from smarterclayton/cant_replace_cluster_resource
Auto commit by PR queue bot
2016-02-16 04:45:43 -08:00
k8s-merge-robot
47acbd62ec Merge pull request #21099 from deads2k/extend-patch
Auto commit by PR queue bot
2016-02-15 14:49:02 -08:00
Piotr Szczesniak
d9705940d6 Fixed and added tests 2016-02-15 21:39:00 +01:00
k8s-merge-robot
53d9f9ecab Merge pull request #20814 from deads2k/restmapper-errors
Auto commit by PR queue bot
2016-02-13 15:53:22 -08:00
k8s-merge-robot
060f8f4db7 Merge pull request #20802 from aveshagarwal/master-allnamespaces-issue
Auto commit by PR queue bot
2016-02-13 15:25:15 -08:00
k8s-merge-robot
19c8d73cac Merge pull request #18077 from soltysh/stop_deployment
Auto commit by PR queue bot
2016-02-12 22:47:04 -08:00
Clayton Coleman
d23c531869 Can't replace a generic resource that is cluster scoped
It should be allowed to invoke kubectl replace with a JSON file that has
no resource version set.  Namespaced resources were working correctly,
but cluster resources were silently failing to lookup the current state
of the object to get the resource version because we weren't using
NamespaceIfScoped(). Added a failing test.
2016-02-12 16:20:37 -05:00
Janet Kuo
2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
deads2k
9f003f7db3 allow patch to handle multiple types 2016-02-12 11:12:09 -05:00
Maciej Szulik
b929424135 Scale deployments fall-back to regular deployment update 2016-02-12 10:17:35 +01:00
Avesh Agarwal
c0e1623be2 Fix kubectl get error when both all-namespaces and namespace are provided.
As per kubectl get help, --namespace should be ignored with all-namespaces,
but kubectl get pods --all-namespaces --namespace=<name-space> gives
following error:

"the namespace from the provided object "default" does not match the
namespace "". You must pass '--namespace=default' to perform this
operation."

This commit fixes this error issue.
2016-02-11 17:06:04 -05:00