Commit Graph

306 Commits

Author SHA1 Message Date
k8s-merge-robot
f500194d92 Merge pull request #23673 from metral/multiple-resources
Automatic merge from submit-queue

allow kubectl subcmds to process multiple resources

~~autoscale, expose & patch~~ Many kubectl subcommands were limited to processing one resource at a time.

This PR allows those subcommands to process multiple resources.

This PR is in reference to https://github.com/kubernetes/kubernetes/pull/23116#issuecomment-202360784 by @deads2k
2016-05-02 07:09:44 -07:00
Mike Metral
999c8e211e allow kubectl subcmds to process multiple resources
- use resource.Visit() to recursively process resources, as well as, aggregate
errors where possible
2016-05-01 20:27:37 -07:00
k8s-merge-robot
96586e7c60 Merge pull request #23958 from petervo/byte-args
Automatic merge from submit-queue

kubectl: Allow []byte config fields to be set by the cli

Allows []byte config fields such as 'certificate-authority-data' to be set using `kubectl config set` commands.
2016-04-26 10:23:07 -07:00
petervo
4f9d3ace5d kubectl: Allow []byte config fields to be set by the cli
Allows []byte config fields such as 'certificate-authority-data'
to be set using `kubectl config set` commands.
2016-04-22 15:53:24 -07:00
nikhiljindal
75b0842388 Removing KUBE_API_VERSIONS from our test scripts 2016-04-21 13:56:04 -07:00
Prashanth Balasubramanian
0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
k8s-merge-robot
bfc953cd4b Merge pull request #23890 from pmorie/kubectl-describe-envs
Automatic merge from submit-queue

Correctly handle secret and configMap envs in kubectl describe

Fixes #23679 

cc @kubernetes/kubectl @jwforres
2016-04-16 17:08:58 -07:00
k8s-merge-robot
7bc49fb085 Merge pull request #24243 from hodovska/master
Automatic merge from submit-queue

Remove --api-version usage in test-cmd.sh.

Kubectl flag `--api-version` has been deprecated.

Fixes #24053
2016-04-16 00:00:27 -07:00
k8s-merge-robot
03f48e730e Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Amy Unruh
8846b313dc phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
Daniel Smith
a42d7fa31c Merge pull request #23756 from smarterclayton/force_delete
Add a client flag to delete "--now" for grace period 0
2016-04-14 16:55:07 -07:00
Dominika Hodovska
70a43aa043 Remove --api-version usage in test-cmd.sh. 2016-04-14 10:14:11 +02:00
Jordan Liggitt
37c86041ca Preserve int64 data when patching 2016-04-11 16:23:28 -04:00
Clayton Coleman
ea3467f822 Add a client flag for --now delete
Is equivalent to --grace-period=0 but is more intuitive for end users.
2016-04-07 23:45:08 -04:00
Erick Fejta
5fd47873dd Update hack/test-cmd.sh to use tagged, gcr.io images 2016-04-07 17:55:22 -07:00
Paul Morie
9069cbb086 Correctly handle secret and configMap envs in kubectl describe 2016-04-07 14:16:59 -04: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