Janet Kuo
8fb86a3d3b
Add kubectl rollout history
2016-02-01 15:32:43 -08:00
k8s-merge-robot
ff386b7a58
Merge pull request #20093 from liggitt/annotate_label_patch
...
Auto commit by PR queue bot
2016-02-01 09:04:12 -08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
k8s-merge-robot
2ab16bda17
Merge pull request #19882 from janetkuo/kubectl-rollout-command
...
Auto commit by PR queue bot
2016-01-30 16:52:55 -08:00
k8s-merge-robot
4ed43968e0
Merge pull request #19581 from janetkuo/deployment-version
...
Auto commit by PR queue bot
2016-01-30 13:34:59 -08:00
Alex Robinson
fdc2f39503
Merge pull request #20322 from feiskyer/kubectl-check-image
...
Check "image" for --expose
2016-01-30 13:31:45 -08:00
k8s-merge-robot
03ed851c11
Merge pull request #20252 from smarterclayton/parameter_codec
...
Auto commit by PR queue bot
2016-01-30 13:07:52 -08:00
k8s-merge-robot
6f66dbb9ab
Merge pull request #20127 from smarterclayton/remove_conversion_scheme
...
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
Janet Kuo
c84a0371a2
Deployment adds version info to its new rc
2016-01-30 12:04:35 -08:00
Clayton Coleman
8692d260f8
Use Parameter codec in request.VersionedParams()
2016-01-30 14:14:20 -05:00
Clayton Coleman
60b66665e1
Move conversion.Scheme to runtime
...
There is only one type registry to rule them all
2016-01-30 14:12:40 -05: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
34f4a03f62
Merge pull request #20103 from mml/drain-followup
...
Auto commit by PR queue bot
2016-01-30 06:25:06 -08:00
k8s-merge-robot
9e7a0e2a03
Merge pull request #20053 from smarterclayton/dont_duplicate_prefix
...
Auto commit by PR queue bot
2016-01-30 04:50:07 -08:00
k8s-merge-robot
311d8f8ab9
Merge pull request #20009 from janetkuo/kubectl-get-deployments
...
Auto commit by PR queue bot
2016-01-30 04:16:27 -08:00
k8s-merge-robot
e963e4ad07
Merge pull request #19866 from liggitt/export_printoptions
...
Auto commit by PR queue bot
2016-01-30 01:03:00 -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
feisky
dced44b16d
make "image" required for --expose
2016-01-29 17:12:59 +08:00
Madhusudan.C.S
73fb6dca62
DaemonSetSpec.Template should not be a pointer.
...
Pod template for DaemonSets isn't optional, like Deployments and Jobs,
so the DaemonSetSpec.Template field should not be a pointer.
2016-01-28 22:51:58 -08:00
k8s-merge-robot
298028dc8b
Merge pull request #18533 from jlowdermilk/kubectl-help
...
Auto commit by PR queue bot
2016-01-28 20:55:27 -08:00
Janet Kuo
f49aef535d
Print availableReplicas when kubectl get deployments
2016-01-28 20:11:59 -08:00
liggitt
5a59dac0dd
Export PrintOptions struct
2016-01-28 20:12:37 -05:00
Jeff Lowdermilk
734a8c0602
Change kubectl help/examples to use jsonpath instead of template
2016-01-28 16:10:48 -08:00
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -05:00
Matt Liggett
d4b02466b7
Add support for Job-managed pods to drain.
2016-01-28 13:23:12 -08: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
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Avesh Agarwal
bec2d678b9
Fix panic when sort-by is used with kubectl get.
2016-01-26 13:58:24 -05:00
Janet Kuo
591269c99c
Surface available/unavailable pods in deployment describer
2016-01-25 14:30:15 -08:00
Jordan Liggitt
d7f547b4c2
Make label/annotate commands fall back to update on patch compute failure
2016-01-25 11:57:34 -05:00
k8s-merge-robot
d7d601b2fc
Merge pull request #18876 from erictune/dynamic-job
...
Auto commit by PR queue bot
2016-01-25 08:06:22 -08:00
Clayton Coleman
f9c48c864d
Don't add 'error: ' to messages if already there
2016-01-23 00:41:36 -05:00
Eric Tune
53ee76fe1a
Support Work Queue jobs with variable parallelism
...
When job.spec.completions is nil, only
one task needs to succeed for the job to succeed,
and parallelism can be scaled freely during runtime.
Added tests.
Release Note:
This causes two minor changes to the API.
First, unset parallelism previously was defaulted to be
equal to completions. Now it always defaults to 1 if unset.
Second, having parallelism=N and completions unset would previously
be defaulted to 1 completion and N parallelism.
(this is not something we expect people to do, though)
Now, no defaulting occurs in that case, and the job's
behavior is different (any completion causes success).
2016-01-22 14:57:51 -08:00
Zach Loafman
62726c4ab8
Revert "kubectl: Make scaling smarter"
2016-01-22 14:52:38 -08:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Clayton Coleman
2fd38a7dc0
Break kubectl from assuming details of codecs
...
Most of the logic related to type and kind retrieval belongs in the
codec, not in the various classes. Make it explicit that the codec
should handle these details.
Factory now returns a universal Decoder and a JSONEncoder to assist code
in kubectl that needs to specifically deal with JSON serialization
(apply, merge, patch, edit, jsonpath). Add comments to indicate the
serialization is explicit in those places. These methods decode to
internal and encode to the preferred API version as previous, although
in the future they may be changed.
React to removing Codec from version interfaces and RESTMapping by
passing it in to all the places that it is needed.
2016-01-22 13:27:26 -05:00
Clayton Coleman
fb4ea845f1
resource_printer was not leveraging runtime interfaces
...
In general, everything in kubectl/* needs to be ignorant of api/* unless
it deals with a concrete type - this change forces resource_printer to
accept interface abstractions (that are already part of kubectl).
2016-01-22 13:27:25 -05:00
Zach Loafman
68771fe26a
Merge pull request #18169 from kargakis/smarter-scaling
...
kubectl: Make scaling smarter
2016-01-22 10:24:51 -08:00
Nikhil Jindal
cd2e0c490e
Merge pull request #19674 from nikhiljindal/latestAndRegistered
...
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
Alex Mohr
9546909929
Merge pull request #19366 from ironcladlou/noop-zero-replicas
...
Support rolling update to 0 desired replicas
2016-01-21 15:08:20 -08:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Alex Mohr
359c684d57
Merge pull request #19698 from kargakis/expose-deployments
...
kubectl: Support exposing deployments
2016-01-21 14:26:14 -08:00
k8s-merge-robot
7f25a4f662
Merge pull request #18997 from mqliang/env-variable
...
Auto commit by PR queue bot
2016-01-21 03:03:19 -08:00
k8s-merge-robot
03ecde1277
Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
...
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Janet Kuo
183b7f4d6d
Add kubectl rollout
2016-01-20 16:17:42 -08:00
Dan Mace
eb778217ad
Support rolling update to 0 desired replicas
...
Support a desired replica count of 0 for the new RC. Users sometimes
want to roll out a new "inactive" template with the intent of scaling
it up manually later.
2016-01-20 09:21:13 -05:00
James DeFelice
75f487f7bf
AbsPath should be compatible with proxy-prefixes:
...
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
k8s-merge-robot
d5dde09e10
Merge pull request #19465 from thockin/docs-nit
...
Auto commit by PR queue bot
2016-01-16 13:32:36 -08:00
k8s-merge-robot
4cd20f54fc
Merge pull request #19460 from bprashanth/kubectl_desc_ing
...
Auto commit by PR queue bot
2016-01-16 12:55:54 -08:00
k8s-merge-robot
3816c1798f
Merge pull request #19411 from eparis/boolflag-def-val
...
Auto commit by PR queue bot
2016-01-16 06:23:48 -08:00