Commit Graph

634 Commits

Author SHA1 Message Date
BC Broussard
581f4613c8 Fix NodePort in kubectl describe service 2015-05-28 12:09:31 -07:00
Tim Hockin
eab1ceccd4 Merge pull request #8628 from jlowdermilk/delete-not-found
Delete fails on notfound errors.
2015-05-27 16:26:41 -07:00
Tim Hockin
ffabf17ed4 Merge pull request #8604 from brendandburns/kubectl
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 16:23:59 -07:00
Jeff Lowdermilk
3cf4d9b2e6 Delete fails on notfound errors.
If deleting multiple resources, command will continue on error and
report not found resources at the end.
2015-05-27 16:02:54 -07:00
Brendan Burns
2ec4b409e1 Make exec more consistent with the rest of the kubectl commands. 2015-05-27 15:47:32 -07:00
Anastasis Andronidis
9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Anastasis Andronidis
d4a47bdb9e rename run-container to run in kubectl 2015-05-27 19:07:17 +02:00
Anastasis Andronidis
5eae2378d6 Warn for every _ flag user or cmd defined
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Saad Ali
ee82d469c6 Merge pull request #8679 from jlowdermilk/rolling-update-stdin
Make rolling-update actually parse filenames from stdin
2015-05-26 18:55:12 -07:00
Cesar Wong
cb872e9243 Rename 'kubectl log' to 'kubectl logs' 2015-05-26 08:28:16 -04:00
Wojciech Tyczynski
ff8c772fe0 Increase timeout for deleting RC in e2e tests. 2015-05-25 11:51:11 +02:00
Justin Santa Barbara
9255770068 Fix a few occurences of old language (e.g. visibility -> ServiceType) 2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042 Add ServiceType = NodePort; wire everything up 2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462 Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819 Add Type to ServiceSpec: ClusterIP or LoadBalancer 2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59 Add LoadBalancer status to ServiceStatus
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Dawn Chen
cc6a31354e Merge pull request #8169 from kargakis/expose-use-resource-builder
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Dawn Chen
8a14296145 Merge pull request #7024 from kazegusuri/all_namespace
Allow kubectl to handle all namespace
2015-05-22 10:15:30 -07:00
Clayton Coleman
3f66321e13 Merge pull request #8618 from kargakis/resize-enable-slash-syntax
resize: Enable resource type/name syntax
2015-05-22 13:05:25 -04:00
Clayton Coleman
dcbe815825 Merge pull request #8671 from kargakis/bump-timeout-back
bump timeout back to previous time
2015-05-22 12:57:55 -04:00
Jeff Lowdermilk
e1936d57f8 Make rolling-update actually parse filenames from stdin 2015-05-22 09:44:00 -07:00
kargakis
d2d1e5bf48 bump timeout back to previous time 2015-05-22 17:05:24 +02:00
Masahiro Sano
c2514a7524 print namespace with name in single column if withNamespace specified 2015-05-22 23:25:12 +09:00
Masahiro Sano
8ce64ec69e add --all-namespaces flag to request across all namespaces 2015-05-22 23:25:12 +09:00
markturansky
bcd3c5a80f fixed PV describe 2015-05-22 08:40:43 -04:00
Chao Xu
bda5e4376e in docs, update "minions" to "nodes" 2015-05-21 09:59:40 -07:00
Dawn Chen
fdb44a9ad2 Merge pull request #8602 from caesarxuchao/rC-to-rc
in docs, update replicationController to replicationcontroller
2015-05-21 09:49:35 -07:00
Dawn Chen
8fe43514ea Merge pull request #8591 from GoogleCloudPlatform/revert-8564-revert-8404-messageEmptyKind
Revert "Revert "Enhance error message from kubectl when 'kind' is emp…
2015-05-21 09:47:34 -07:00
Dawn Chen
49bf1ec0a1 Merge pull request #8573 from deads2k/fix-check-err
tolerate fatals without newlines
2015-05-21 09:34:58 -07:00
kargakis
6424a2bc63 resize: Enable resource type/name syntax
Also don't allow more than one objects in commands it makes sense
2015-05-21 17:39:01 +02:00
Chao Xu
5b8b5a0844 in docs, update replicationController to replicationcontroller 2015-05-20 17:31:15 -07:00
kargakis
30958f892d expose: Use resource builder
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
Clayton Coleman
0a28e50511 Revert "Revert "Enhance error message from kubectl when 'kind' is empty"" 2015-05-20 17:32:23 -04:00
kargakis
99655b342f Reduce reaper poll interval and wait while resizing
When reaping a replication controller that handles an arbitrary amount of replicas, missing an interval means that `kubectl stop|delete` have to wait 3 more seconds to finish which seems more expensive from a user pov than a GET per 100ms.

Also I think `kubectl resize` should wait for all replicas to spin up before exiting. Feels more safe to know that your replication controller status is up to date.
2015-05-20 20:49:29 +02:00
deads2k
cd817aebd8 tolerate fatals without newlines 2015-05-20 13:15:49 -04:00
Clayton Coleman
633c56f8c0 Revert "Enhance error message from kubectl when 'kind' is empty" 2015-05-20 10:32:56 -04:00
feihujiang
6c8a1cdb17 Enhance error message from kubectl when 'kind' is empty
Enhance error message from kubectl when 'kind' is empty

Enhance error message
2015-05-20 15:23:47 +08:00
Nikhil Jindal
fadc76422a Merge pull request #8437 from caesarxuchao/kubectl_run-container-doc
update the docs for kubectl-run-container to v1beta3
2015-05-18 16:41:14 -07:00
Chao Xu
013130f150 update the docs for kubectl-run-container to v1beta3 2015-05-18 13:29:24 -07:00
Prashanth Balasubramanian
4200033c0a Add a simple master benchmark and a wrapper to run it. 2015-05-15 17:30:17 -07:00
Prashanth B
6144b49139 Merge pull request #8336 from brendandburns/kubectl
Add a test for status message generation.
2015-05-15 17:06:21 -07:00
Jeff Lowdermilk
46bd6f298a Merge pull request #8237 from smarterclayton/continue_on_error
Make ContinueOnError actually work
2015-05-15 12:57:29 -07:00
Brendan Burns
a197b24fb7 Add a test for status message generation. Fix a bug in reason message handling. 2015-05-15 20:45:16 +01:00
Jeff Lowdermilk
a5bc6bdaf3 Merge pull request #8166 from kargakis/labels-for-object
expose: Re-use labels in case none was specified
2015-05-15 11:35:52 -07:00
Clayton Coleman
a47716e66d Make ContinueOnError actually work
In resource.Builder ContinueOnError() should actually do so.

Reorganized util.CheckErr() to make it display bulk errors more
effectively and be more reusable. Clarified that CheckErr is not
specific to kubectl in Godoc. Changed the "Error: " prefix to
"error: " to more closely match Unix conventions.
2015-05-15 14:26:14 -04:00
kargakis
ac652d16e6 expose: Re-use labels in case none was specified 2015-05-15 11:54:41 +02:00
Victor Marmol
75c9228ea2 Merge pull request #8249 from kargakis/stop-fix
stop: Check for error when resizing rcs
2015-05-14 12:56:14 -07:00
kargakis
1c5309cc16 stop: Check for error when resizing rcs 2015-05-14 16:49:43 +02:00
Clayton Coleman
aec4196741 Merge pull request #8173 from brendandburns/kubectl
Fix a bug where IgnoreErrors was inverted.
2015-05-14 10:18:12 -04:00
markturansky
0191574f7e Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName 2015-05-13 14:05:21 -04:00