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
Clayton Coleman
4752d1a181
Allow test-cmd to run on non-Linux OS
2016-04-25 19:40:25 -04: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
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
derekwaynecarr
06f26189f0
Update kubectl create subcommand to use printer flags
2016-02-11 15:37:47 -05:00
Maciej Szulik
0ea31b56ed
Adding reaper for deployments
2016-02-11 19:02:32 +01:00
deads2k
deb4d3ccca
type RESTMapper errors to better handle MultiRESTMapper errors
2016-02-11 11:45:05 -05:00
k8s-merge-robot
09314f97f6
Merge pull request #20944 from janetkuo/move-deployment-example
...
Auto commit by PR queue bot
2016-02-11 02:37:31 -08:00
Madhusudan.C.S
293793cf0d
Allow replica set to be exposed as a service and add kubectl command tests for replica sets.
2016-02-10 16:20:08 -08:00
Janet Kuo
ddd983286b
Move deployment example to docs/user-guide
2016-02-10 10:46:12 -08:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
k8s-merge-robot
b45a94bc78
Merge pull request #20765 from janetkuo/remove-podtemplate-key
...
Auto commit by PR queue bot
2016-02-06 00:44:47 -08:00
k8s-merge-robot
939927fe90
Merge pull request #20277 from deads2k/pin-generator
...
Auto commit by PR queue bot
2016-02-05 23:41:30 -08:00
Janet Kuo
bb0c5fea0e
Fix test failure
2016-02-05 17:26:07 -08:00
k8s-merge-robot
5066e507ae
Merge pull request #20194 from derekwaynecarr/fix_hack_test_cmd
...
Auto commit by PR queue bot
2016-02-05 14:39:00 -08:00
Daniel Smith
b278c6acd9
Merge pull request #20565 from kubernetes/revert-20000-disable-flaky
...
Revert "Disable flaky test."
2016-02-05 14:01:07 -08:00
Daniel Smith
24b8125bb1
Revert "Disable flaky test."
2016-02-03 10:15:38 -08:00
Janet Kuo
442c75045a
Add kubectl rollout undo
2016-02-02 14:20:01 -08:00
k8s-merge-robot
8bab0022ad
Merge pull request #20000 from erictune/disable-flaky
...
Auto commit by PR queue bot
2016-02-02 11:29:34 -08:00
Alex Robinson
1903c4eb51
Merge pull request #19605 from aveshagarwal/master-sort-by-panic
...
Fix panic when sort-by is used with kubectl get.
2016-01-30 10:48:56 -08:00
k8s-merge-robot
7912682595
Merge pull request #20226 from smarterclayton/fix_extract_list
...
Auto commit by PR queue bot
2016-01-29 17:15:30 -08:00
Daniel Smith
22b43d8f82
Determinisitically get kubectl proxy port
2016-01-28 16:07:08 -08:00
deads2k
ec2008d948
pin the run command to produce a job
2016-01-28 12:55:36 -05:00
Clayton Coleman
71a13f7f4b
ExtractList should handle v1.RawExtension correctly
...
Also fixes CustomColumnPrinter to pass decoder in, and ensures a test
case tests the combined path.
2016-01-27 15:30:21 -05:00
k8s-merge-robot
603931f237
Merge pull request #20038 from caesarxuchao/remove-cmd-unused
...
Auto commit by PR queue bot
2016-01-26 22:18:25 -08:00
derekwaynecarr
c906e9c90a
hack/test-cmd.sh did not run any admission control
2016-01-26 21:28:05 -05:00
Avesh Agarwal
bec2d678b9
Fix panic when sort-by is used with kubectl get.
2016-01-26 13:58:24 -05:00
Chao Xu
bc2a9736dc
remove duplicated tests
2016-01-22 15:40:42 -08:00
Eric Tune
7944fa01ec
Disable flaky test.
2016-01-22 09:55:39 -08:00
Michail Kargakis
08d8843a9c
kubectl: Support exposing deployments
2016-01-15 17:02:24 +01:00
Paul Morie
9c18067e60
Add kubectl support for ConfigMap
2016-01-06 09:03:39 -05:00
gmarek
79b6f13be0
Increase timeout for waiting for kubectl proxy in test-cmd
2016-01-05 11:22:15 +01:00
k8s-merge-robot
cf7fd487d7
Merge pull request #18883 from feihujiang/fixCommentsInTestCmdScript
...
Auto commit by PR queue bot
2016-01-04 21:02:59 -08:00
feihujiang
a8639280c7
Fix wrong commends in test-cmd.sh
2015-12-29 14:10:21 +08:00
Brendan Burns
4123a61df7
Add the client side bits of kubectl export
2015-12-22 10:41:59 -08:00
k8s-merge-robot
b12f6b341f
Merge pull request #18599 from smarterclayton/abstract_explain
...
Auto commit by PR queue bot
2015-12-19 04:34:32 -08:00
k8s-merge-robot
3c3a24e1d4
Merge pull request #18694 from thockin/airplane_validation_pt7
...
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot
9e8233fc3c
Merge pull request #17398 from janetkuo/deployment-controller-informer
...
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Eric Tune
f15b2e32a7
Merge pull request #16422 from hurf/created_by
...
Display controllers along with type when describing a pod
2015-12-18 13:44:07 -08:00