markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
Brian Grant
b0b6418ca3
Merge pull request #6377 from nikhiljindal/kubevtl
...
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Brendan Burns
88dbdc4a69
Merge pull request #6203 from brendandburns/qps
...
Add a QPS limiter to the kubernetes client.
2015-04-03 14:24:29 -07:00
Brendan Burns
3f98ac07c2
Add a QPS limiter to the kubernetes client.
2015-04-03 11:58:51 -07:00
Robert Bailey
f15e34a1bf
Revert "Merge pull request #6309 from GoogleCloudPlatform/revert-6243-kubelet-ssl"
...
This reverts commit 96a0a0d618
, reversing
changes made to 2af9b54147
.
2015-04-02 10:44:37 -07:00
Robert Bailey
1fa7955807
Increase the time we wait for the kubelet to be healthy.
2015-04-01 15:10:32 -07:00
Robert Bailey
32a1c052dc
Revert "Configure the kubelet to use HTTPS"
2015-04-01 13:59:31 -07:00
Robert Bailey
dd9ec46cc0
Fix test-cmd to work with the kubelet listening on HTTPS.
2015-04-01 09:09:29 -07:00
Tim Hockin
eeff1b74fb
Fixes from feedback and testing
2015-03-30 23:52:37 -07:00
Clayton Coleman
eb0eff69fe
Move watch to being a resthandler resource and expose it on LIST
...
GET /pods?watch=true&resourceVersion=10
will now function equivalent to GET /watch/pods.
2015-03-27 15:03:58 -04:00
Clayton Coleman
1618c39a46
Convert List query parameters via object conversion
...
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
Jeff Lowdermilk
653b7e629d
Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
...
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Jeff Lowdermilk
fc2eb66d9f
Merge pull request #5976 from smarterclayton/support_resource_builder_on_label
...
`kubectl label` should support resource builder
2015-03-26 13:21:56 -07:00
Clayton Coleman
64f91f7dac
Allow `kubectl expose` to be polymorphic to the source of the selector
...
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).
Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00
Clayton Coleman
68c46e7f52
`kubectl label` should support resource builder
...
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04:00
Clayton Coleman
581d7cd789
Allow resource.Builder commands to take arguments by type/name
...
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00
Deyuan Deng
1c135c0bd4
Test kubectl describe from test-cmd
2015-03-23 17:13:45 -04:00
Deyuan Deng
4939c1137c
Add node describe labels, creationTimestamp
2015-03-23 17:13:45 -04:00
Eric Tune
12c71585f7
Merge pull request #5276 from ddysher/remove-etcd-servers
...
Remove etcd_servers from test-cmd
2015-03-12 14:55:32 -07:00
Deyuan Deng
48bcfc1e27
Remove etcd_servers from test-cmd
2015-03-11 14:38:20 -04:00
Piotr Szczesniak
4679a37b38
Rewrite guestbook example to use kube-dns instead of host:port
...
This fixes #5091
2015-03-11 09:51:47 +01:00
Deyuan Deng
58776da6a4
Add more information to node describe
2015-03-09 18:56:59 -04:00
Salvatore Dario Minonne
75f2efb500
moving ParseSelector to Parse for labels only.
2015-03-05 22:39:36 +01:00
Filip Grzadkowski
6ad2b86181
Fix hack/test-cmd.sh so that it passes on a local machine
2015-03-03 17:23:55 +01:00
Brendan Burns
0d23875c99
Merge pull request #4497 from swagiaal/health-check-hostname-mismatch
...
WIP: Catch kubelet-master hostname mismatch during health check
2015-02-26 14:48:21 -08:00
Mike Danese
c9fcf45fd9
fix bad cmd-test for patch.
2015-02-26 11:21:03 -08:00
Sami Wagiaalla
9150cb9d95
Catch kubelet-master hostname mismatch during health check
...
During the kubelet's /healthz responce check to see if the
hostname used by the master matches the hostname the kubelet
knows itself by. If not fail the health check.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-02-26 10:22:03 -05:00
Lénaïc Huard
c23046dc0a
Assert pre and post conditions of all commands in test-cmd.sh
...
`hack/test-cmd.sh` contains a list of `kubectl` commands to test.
However, the effect of the execution of those commands was not systematically
checked. As a consequence, it was possible to break a command without breaking
those tests.
This commit surrounds every single `kubectl` command with assertions on
pre and post condition.
2015-02-25 18:26:30 +01:00
rsokolowski
635281ebe3
Update guestbook example to use replication controller.
2015-02-24 20:21:13 +01:00
Masahiro Sano
29aae75329
fix missing command in test-cmd.sh
2015-02-24 23:20:45 +09:00
Rohit Jnagal
28dd73dd8c
Merge pull request #4667 from endocode/kbeecher/multi-resource
...
Adds support for multiple resources to kubectl
2015-02-23 10:29:32 -08:00
Salvatore Dario Minonne
163ae10d78
adding minimal test for label command to hack/test-cmd.sh
2015-02-22 17:44:39 +01:00
Karl Beecher
ecbb91cc08
Adds support for multiple resources to kubectl
...
You can specify multiple resources by name when using the delete, get
and stop commands.
2015-02-20 16:18:57 +01:00
Salvatore Dario Minonne
b60dadae46
Adding resize command to hack/test.cmd.sh
2015-02-20 05:56:16 +01:00
Brian Grant
866135e52c
Merge pull request #4436 from EricMountain-1A/noargs-kubectl-create-test-fix
...
Fix "kubectl create with no args" test to verify exit code
2015-02-17 10:31:00 -08:00
Brian Grant
e1b07efd36
Merge pull request #4450 from mikedanese/update-fix
...
fix error where we can't use kubectl update patch
2015-02-17 09:58:18 -08:00
Brian Grant
876d651737
Merge pull request #4395 from smarterclayton/split_naming
...
Fix cross-namespace LIST and WATCH
2015-02-17 09:40:09 -08:00
Clayton Coleman
9175082a1c
Split naming behavior out into objects that are derived from the request
...
Fix bug with cross namespace queries not being possible. Ensure selflink
is set on lists correctly.
2015-02-16 00:23:38 -05:00
Mike Danese
9f9153256d
fix error where we can't use patch and add cmd-test for patch and file
...
update
2015-02-15 10:43:35 -08:00
Eric Mountain
b639f6ece4
Fix "kubectl create with no args" test to verify exit code instead of evaluating (empty) stdout of the command.
2015-02-13 23:18:24 +01:00
Salvatore Dario Minonne
fda17c1b7a
kubectl delete resource : remove all resources
2015-02-13 18:25:41 +01:00
Wojciech Tyczynski
524cdba101
Fix hack/test-cmd.sh test.
2015-02-05 01:58:26 +01:00
Tim Hockin
a480794efc
Tighten validation of Name and Namespace
2015-01-27 17:04:59 -05:00
Eric Tune
98bdd3f7c4
Test for and fix crash with nil client in kubelet.
...
Added test that fails before fix.
Fixed use of nil pointer.
2015-01-16 13:39:31 -08:00
Clayton Coleman
ccdc20d90c
Ignore empty objects from streams and error when nothing passed to create
...
Passing zero objects to create should be an error
2015-01-14 13:12:33 -05:00
Clayton Coleman
31413c8727
Add more tests around JSON/YAML decoding from the CLI
...
Switch the ignore stream errors behavior to print a Warningf on
failure to parse, not v(2)
2015-01-14 12:38:36 -05:00
Clayton Coleman
ec803cb809
Allow resource.Builder to stream YAML from the CLI
...
Add both JSON and YAML STDIN tests in test-cmd
2015-01-14 00:50:13 -05:00
Clayton Coleman
be8d97077e
hack/test-cmd.sh can be easier to read if we set PATH
...
instead of using a replacement var. Makes cut and paste testing
easier.
2015-01-13 19:04:47 -05:00
Clayton Coleman
80260f4cb9
Improve hack/test-cmd.sh tests to check versions and default API behavior
2015-01-13 18:46:13 -05:00