k8s-merge-robot
5a3dec8dad
Merge pull request #20777 from pmorie/kubectl-create-configmap
...
Auto commit by PR queue bot
2016-02-19 00:03:53 -08:00
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -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
Michail Kargakis
f4658396eb
kubectl: a couple of edit fixes
...
Fix some edit bugs:
* Reload the file in case of syntax errors
* Fix error format for validation errors
* Avoid hotlooping in case of no changes or empty saves
2016-02-18 11:43:07 +01:00
Clayton Coleman
c198367958
Add a liveness and readiness describer to pods
...
Also shorten the Last Termination State label so the page is denser.
2016-02-17 20:07:05 -05:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Janet Kuo
1a5dd9f14f
Use IntPtr
2016-02-17 15:08:50 -08:00
Michail Kargakis
55f402c5a6
kubectl: use the factory properly for recording commands
2016-02-17 12:16:19 +01: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
AdoHe
10feb3e6fd
change CONTROLLER, ReplicaSet and Job column titles to NAME
2016-02-16 23:14:12 -05:00
Janet Kuo
92eb075a2b
When reaping deployments, retry deployment Update
2016-02-16 15:12:38 -08: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
9dacc5b382
Merge pull request #21238 from AdoHe/kubectl_help_bug
...
Auto commit by PR queue bot
2016-02-15 19:16:39 -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
d2f11521cb
Implemented Autoscaling client
2016-02-15 21:39:00 +01:00
k8s-merge-robot
1380a3e6a1
Merge pull request #20850 from deads2k/remove-resource-is-valid
...
Auto commit by PR queue bot
2016-02-15 11:27:19 -08:00
k8s-merge-robot
134d44cf2b
Merge pull request #20409 from AdoHe/kubectl_ingress_labels
...
Auto commit by PR queue bot
2016-02-15 10:59:12 -08:00
deads2k
9901a386c3
remove ResourceIsValid
2016-02-15 07:49:48 -05:00
k8s-merge-robot
94b3c95e7a
Merge pull request #20557 from AdoHe/kubectl_update_wide
...
Auto commit by PR queue bot
2016-02-15 00:18:37 -08:00
AdoHe
81103a07c2
fix --sort-by help bug
2016-02-14 22:31:13 -05:00
k8s-merge-robot
ee33ed2cf5
Merge pull request #20981 from madhusudancs/labelselector-error-string-fix
...
Auto commit by PR queue bot
2016-02-14 03:14:46 -08:00
AdoHe
f6b5eca11c
kubectl print ingress add column labels
2016-02-14 04:28:44 -05:00
k8s-merge-robot
d28ac1f88b
Merge pull request #20948 from ghodss/versioned-apply
...
Auto commit by PR queue bot
2016-02-14 00:56:10 -08:00
AdoHe
53d4b15b87
move columns into wide option to make result more readable
2016-02-14 03:55:00 -05:00
k8s-merge-robot
3b4c0beb99
Merge pull request #20868 from mqliang/int-min-max
...
Auto commit by PR queue bot
2016-02-13 17:32:22 -08: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
Jordan Liggitt
dd5d98d80a
regen codecs
2016-02-13 09:15:39 -05: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
4e8b4871c4
Add e2e test for kubectl run should generate deployment
2016-02-12 12:29:14 -08:00
Janet Kuo
311385e76c
Make deployment the default in kubectl run
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
mqliang
7be9071584
create some integer min/max function
2016-02-12 11:20:11 +08: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
77f4f80282
Merge pull request #20958 from janetkuo/fix-mismatch
...
Auto commit by PR queue bot
2016-02-11 06:24:32 -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
Sam Ghods
fd5747f89c
Fix reference to versioned object in kubectl apply
...
Fixes #19639
2016-02-10 14:11:44 -08:00
Madhusudan.C.S
525d7a7732
Fix the label selector to selector conversion error string.
...
The message as it is framed right now does not make any sense for the
end users of our system. It might even lead to confusion. So this is
attempt to make the error message less confusing.
2016-02-10 09:43:30 -08:00
k8s-merge-robot
66e872227a
Merge pull request #20886 from mqliang/ReplicaSet-kubectl
...
Auto commit by PR queue bot
2016-02-10 06:16:03 -08:00
k8s-merge-robot
cd1b9cc91b
Merge pull request #20880 from janetkuo/fix-describe-deployment
...
Auto commit by PR queue bot
2016-02-10 05:46:23 -08:00
Janet Kuo
a50267ab3e
Fix mismatched types
2016-02-09 18:57:53 -08:00
k8s-merge-robot
41a98b43e4
Merge pull request #19840 from madhusudancs/replicaset-deployment
...
Auto commit by PR queue bot
2016-02-09 18:57:42 -08:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
k8s-merge-robot
b98d9a21a1
Merge pull request #20818 from deads2k/remove-mixed-case
...
Auto commit by PR queue bot
2016-02-09 05:06:45 -08:00
k8s-merge-robot
5512522362
Merge pull request #20736 from deads2k/kubeconfig-bug
...
Auto commit by PR queue bot
2016-02-09 03:05:36 -08:00
mqliang
b5e99be81c
implement kubectl get/describe for ReplicaSet
2016-02-09 13:56:21 +08:00
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c
Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
...
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.
Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
Janet Kuo
1b30516094
Fix the incorrect format when describing deployment
2016-02-08 19:13:34 -08:00
Jordan Liggitt
545f6be573
Regenerate types.go
2016-02-08 17:19:15 -05:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
Avesh Agarwal
5fbede0428
Fix sort-by indentation issue.
2016-02-08 02:53:00 -05:00
Clayton Coleman
664d25ba5a
Take GVK in SwaggerSchema()
...
This is needed for the legacy OpenShift API group (oapi) which is also
group: "", version: "v1", but needs to return a different swagger
schema. Will in the future be replaced by group defaulting.
2016-02-06 21:24:33 -05: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
6c5540baae
Merge pull request #20232 from mml/daemonset-warn
...
Auto commit by PR queue bot
2016-02-05 23:12:51 -08:00
Madhusudan.C.S
4f9b8b2bfc
Link all the ReplicaSet controller boilerplate together.
...
1. Enable replica set in controller manager.
2. Enable replica set etcd storage in master package.
3. Add replica set support to kubectl commands.
2016-02-05 21:05:10 -08:00
Janet Kuo
7e9fb97b7d
Remove UniqueLabelKey from deployment spec
2016-02-05 16:21:44 -08:00
Daniel Smith
f973af25fa
Merge pull request #20747 from caesarxuchao/internalclientset
...
rename release_1_2 to internalclientset
2016-02-05 15:49:08 -08:00
k8s-merge-robot
6b20879a7f
Merge pull request #20142 from bprashanth/ing_tls
...
Auto commit by PR queue bot
2016-02-05 15:07:09 -08:00
Daniel Smith
9441721fee
Merge pull request #19689 from AdoHe/kubectl_label_display
...
kubectl add show-labels flag to make it more readable
2016-02-05 14:08:37 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
deads2k
49529a0aa5
clear env var check for unit test
2016-02-05 14:21:49 -05:00
Prashanth Balasubramanian
c56bebf594
Basic TLS support.
2016-02-05 11:00:04 -08:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05:00
Daniel Smith
d84ac764a9
Merge pull request #20492 from erictune/labselunver
...
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Eric Tune
6133cb1f21
Move extensions.LabelSelector to unversioned.
...
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.
Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned
The related type in pkg/apis/extensions/v1beta1/ is staying there. I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
AdoHe
714d12cf72
kubectl add show-labels flag to make it more readable
2016-02-04 02:08:44 -05:00
Saad Ali
0952dcd349
Merge pull request #20389 from mqliang/deployment-MinReadySeconds
...
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 22:44:14 -08:00
k8s-merge-robot
16aa40cc33
Merge pull request #20035 from janetkuo/record-command
...
Auto commit by PR queue bot
2016-02-03 20:19:08 -08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Janet Kuo
e3cb44aaff
Copy deployment's annotations to its RC
2016-02-03 10:19:06 -08:00
Janet Kuo
5088d0e147
Record kubectl commands
2016-02-03 10:19:05 -08:00
mqliang
c4a1ab42e3
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 11:38:11 +08:00
Janet Kuo
442c75045a
Add kubectl rollout undo
2016-02-02 14:20:01 -08:00
Matt Liggett
f2d5375bc0
Stop deleting DaemonSet pods during drain.
...
We do this because they will be recreated immediately by the
DaemonSet Controller. In addition, we also require a specific flag
(--ignore-daemonsets) when there are DaemonSet pods on the node.
2016-02-02 11:13:29 -08:00
Michail Kargakis
21c2b836ed
kubectl: add rollout pause/resume subcommands
2016-02-02 10:33:55 +01:00
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
Michail Kargakis
08d8843a9c
kubectl: Support exposing deployments
2016-01-15 17:02:24 +01:00
Eric Paris
aad4b4477d
Make "BoolFlag" booleans not require =true
2016-01-14 09:07:00 -05:00
k8s-merge-robot
2655e1f767
Merge pull request #19361 from tombenner/add_current_context
...
Auto commit by PR queue bot
2016-01-14 01:09:12 -08:00
k8s-merge-robot
36dc6eab34
Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
...
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
mqliang
640ce23930
make env variable parsing more robust
2016-01-14 10:30:15 +08:00
k8s-merge-robot
c059dfdb9b
Merge pull request #18712 from pmorie/config-kubectl
...
Auto commit by PR queue bot
2016-01-13 13:51:29 -08:00
Chao Xu
6a104ee46c
move SwaggerSchema to DiscoveryClient
2016-01-13 10:11:53 -08:00
Chao Xu
144b5acd08
move ServerVersion to DiscoveryClient
2016-01-13 10:11:52 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Tom Benner
52739bc82b
Add kubectl config current-context
2016-01-11 21:54:24 -08:00
Tim Hockin
5002b784f9
Clarify --external-ip in kubectl expose docs
...
Also fix a couple minor punctuation issues.
2016-01-10 23:29:57 -08:00
Prashanth Balasubramanian
99af2da6c0
Fix kubectl describe ingress
2016-01-10 19:05:49 -08:00
Matt Liggett
c6e9ad066e
Initial node drain implementation for #3885 .
...
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period. It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.
Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00
Paul Morie
9c18067e60
Add kubectl support for ConfigMap
2016-01-06 09:03:39 -05:00
k8s-merge-robot
356487c951
Merge pull request #18101 from brendandburns/kubectl6
...
Auto commit by PR queue bot
2015-12-29 12:43:42 -08:00
k8s-merge-robot
500493a3ac
Merge pull request #18925 from caesarxuchao/refactor-registration
...
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot
21c01c05e3
Merge pull request #18902 from deads2k/gv-partial
...
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
Brendan Burns
4123a61df7
Add the client side bits of kubectl export
2015-12-22 10:41:59 -08:00
Brendan Burns
b6ca92127d
Merge pull request #16980 from jackgr/force_apply
...
Implement conflict detection in strategic merge patch
2015-12-22 10:33:35 -08:00
k8s-merge-robot
6815cbf742
Merge pull request #15210 from brendandburns/docs
...
Auto commit by PR queue bot
2015-12-21 07:58:46 -08:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
Michail Kargakis
e894dcc8ff
kubectl: Make scaling smarter
...
Skip updating resources that already meet the desired replica count.
This change has an impact in both kubectl scale and kubectl delete in
that reapable resources that already have the desired replicas (number
provided via --replicas for scale, or zero for delete) won't be updated
again and a "already scaled" message will be printed (in case of scale).
2015-12-21 10:07:21 +01:00
k8s-merge-robot
439d7a721e
Merge pull request #18878 from janetkuo/delete-job-pod
...
Auto commit by PR queue bot
2015-12-20 16:25:32 -08:00
k8s-merge-robot
7c43797e61
Merge pull request #17516 from kargakis/tighten-generator-validation
...
Auto commit by PR queue bot
2015-12-19 18:36:18 -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
649855128d
Merge pull request #18627 from caesarxuchao/oneline-fix
...
Auto commit by PR queue bot
2015-12-19 00:50:31 -08:00
k8s-merge-robot
00c754108f
Merge pull request #18165 from fabianofranz/fixes_get_show_all
...
Auto commit by PR queue bot
2015-12-18 20:01:20 -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
Tim Hockin
0fecf965b4
Change how one-of blocks are validated
...
I took a hard look at error output and played until I was happier. This now
prints JSON for structs in the error, rather than go's format.
Also made the error message easier to read.
Fixed tests.
2015-12-18 09:42:14 -08:00
Tim Hockin
43ed74748e
Clean up and document validation strings
...
Also add a detail string for Required and Forbidden. Fix tests.
2015-12-18 09:40:50 -08:00
Michail Kargakis
71934b7643
kubectl: Validate flag usage against generators
...
This commit moves the generators into separate buckets and creates
separate calls for each one group. This helps in providing just the
necessary generators to each generator command.
Validation of flags against generators is also added so that flags
that are not meant to be used with a specific generator will result
in error.
2015-12-18 15:09:53 +01:00
Clayton Coleman
151b4e5958
Tweak explain messages and abstract client
2015-12-18 00:27:22 -05:00
Janet Kuo
7a4643f123
When reaping jobs, ignores its pod not found error
2015-12-17 18:57:22 -08:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
Eric Tune
1965fe1824
Rerun hack/update-codecgen.sh
2015-12-17 13:51:33 -08:00
Eric Tune
1752cf22d4
Merge pull request #17940 from soltysh/job_deadline
...
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Fabiano Franz
717896eae3
Fixes get --show-all
2015-12-17 18:35:54 -02:00
k8s-merge-robot
674e24a16e
Merge pull request #18617 from mqliang/OSImage
...
Auto commit by PR queue bot
2015-12-17 08:50:48 -08:00
k8s-merge-robot
5c735ee68d
Merge pull request #18616 from mqliang/MaxUnavailable
...
Auto commit by PR queue bot
2015-12-17 08:18:39 -08:00
Maciej Szulik
327c104460
Added ActiveDeadlineSeconds to jobs, allowing failing a job after
...
exceeding allowed time.
2015-12-17 15:26:42 +01:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
k8s-merge-robot
5c4479f542
Merge pull request #18442 from deads2k/gv-restmapper-10
...
Auto commit by PR queue bot
2015-12-17 06:06:43 -08:00
k8s-merge-robot
bf5f69bf44
Merge pull request #18501 from feihujiang/printHowToReAttachToSession
...
Auto commit by PR queue bot
2015-12-17 01:02:01 -08:00
k8s-merge-robot
8ceb947b63
Merge pull request #18346 from soltysh/issue17363
...
Auto commit by PR queue bot
2015-12-16 21:25:52 -08:00
Jeff Lowdermilk
6adf227879
Merge pull request #18583 from jsravn/fix-rolling-update-rollback
...
Fix rolling-update rollback from an unavailable rc
2015-12-16 14:26:55 -08:00
k8s-merge-robot
5a579a2555
Merge pull request #16028 from derekwaynecarr/make_cmd
...
Auto commit by PR queue bot
2015-12-16 08:41:59 -08:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
k8s-merge-robot
e309583ff1
Merge pull request #18473 from smarterclayton/change_runtime_object
...
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
k8s-merge-robot
0be54ae771
Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
...
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
Chao Xu
5ba4f836f8
some small fix
2015-12-15 12:00:48 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
deads2k
6e33403abf
update CodecFor for GroupVersion
2015-12-15 10:56:00 -05:00
k8s-merge-robot
a581f04106
Merge pull request #18332 from hurf/fix_time_test
...
Auto commit by PR queue bot
2015-12-15 05:06:26 -08:00
k8s-merge-robot
3680268c52
Merge pull request #18353 from deads2k/gv-use-constants
...
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
b5387da0d7
Merge pull request #17669 from WeixuZhuang/describ
...
Auto commit by PR queue bot
2015-12-15 01:45:38 -08:00
k8s-merge-robot
414ebd2ddb
Merge pull request #17991 from krousey/errorstatus
...
Auto commit by PR queue bot
2015-12-14 20:18:19 -08:00
James Ravn
e5a558c35f
Fix rolling-update rollback from an unavailable rc
...
Rolling back from a broken update with only one replica fails with a
timeout in the existing code.
The problem is the scale down logic does not consider unavailable
replicas in the old replication controller when calculating how much to
scale down by. This leads to an obvious problem with a single replica
when min unavailable is 1.
The fix is to allow scaling down all unavailable replicas in the old
controller, while still maintaining the min unavailable invariant.
2015-12-14 19:35:08 +00:00
derekwaynecarr
5e0948586c
Add kubectl create [SUBCOMMAND] pattern
2015-12-14 13:43:45 -05:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
k8s-merge-robot
7e942bf9b3
Merge pull request #18384 from deads2k/gv-clientcache
...
Auto commit by PR queue bot
2015-12-14 02:25:49 -08:00
feihujiang
9ab06cfa62
Support remove flag for kubectl run command
2015-12-14 16:16:43 +08:00
k8s-merge-robot
51e8c2e5f8
Merge pull request #17841 from mqliang/constant
...
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
k8s-merge-robot
266ab4a796
Merge pull request #18487 from smarterclayton/guard_encode_decode
...
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
k8s-merge-robot
9723ff7ffd
Merge pull request #12043 from derekwaynecarr/describe_node
...
Auto commit by PR queue bot
2015-12-13 18:24:59 -08:00
k8s-merge-robot
c458cd7bb7
Merge pull request #18379 from deads2k/gv-newobject
...
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
k8s-merge-robot
47d2f41680
Merge pull request #18370 from deads2k/gv-interfacesfor
...
Auto commit by PR queue bot
2015-12-13 10:27:17 -08:00
mqliang
a21dd8a32b
replace OsImage to OSImage
2015-12-12 15:53:34 +08:00
mqliang
9d21b6dc85
pkg/set MaxUnavailable as 1
2015-12-12 12:04:11 +08:00
Jeff Lowdermilk
9c49cdaa6e
Merge pull request #18276 from thockin/airplane_validation_pt6
...
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
Jeff Lowdermilk
e53acfe19c
Merge pull request #17111 from munnerz/multi-rolling-update
...
Allow rolling-update of a single container in multi-container pods
2015-12-11 13:08:13 -08:00
deads2k
ec87d74ecb
update InterfacesFor to use GroupVersion
2015-12-11 13:45:41 -05:00
derekwaynecarr
9cdeb4cb20
describe nodes improvements
2015-12-11 13:09:49 -05:00
feihujiang
3a3421b742
Print how to reattch to seesion when session ends
2015-12-11 17:00:56 +08:00
Kris
ca7c765f0a
Remove APIStatus from the client
...
Everything that used it also depended on pkg/api/errors. It was a
needless abstraction since it was always an *errors.StatusError.
2015-12-10 13:12:21 -08:00
Tim Hockin
7fb8f60735
Shorten names for better reading
2015-12-10 11:48:19 -08:00
Tim Hockin
87a35047dd
Move FieldPath and errors to a sub-package
...
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Weixu Zhuang
a5a2b94c5f
In pkg/kubectl/describe.go function Matches support unordered types matches.
...
The argument of function need to be matched. It did not support unorder matches.
This is a TODO and I fix it.(line 1763 in pkg/kubectl/describe.go)
I use a map to solve it which could compare two types array's difference.
2015-12-10 09:24:30 -08:00
Maciej Szulik
34c72552a5
Updated kubectl help info with resource names
2015-12-10 16:04:44 +01:00
deads2k
cf58201ff4
update client cache to key on groupversion
2015-12-10 07:41:34 -05:00
feisky
0d611416c2
kubectl describe more fields for ingress
2015-12-10 15:12:35 +08:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
k8s-merge-robot
361405e4b3
Merge pull request #18311 from brendandburns/3rdparty3
...
Auto commit by PR queue bot
2015-12-09 12:19:38 -08:00
k8s-merge-robot
5f7019ab9d
Merge pull request #16877 from anish/iscsi_iface
...
Auto commit by PR queue bot
2015-12-09 11:52:37 -08:00
k8s-merge-robot
f525c2e587
Merge pull request #18268 from tmrts/sort/constants
...
Auto commit by PR queue bot
2015-12-09 08:44:01 -08:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
k8s-merge-robot
637a33924c
Merge pull request #18004 from jiangyaoguo/print-absolute-time-when-watch-event
...
Auto commit by PR queue bot
2015-12-08 22:58:12 -08:00
Anish Bhatt
6e46fa1fd4
Add support for open-iscsi transports.
...
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".
Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
hurf
fb6ea4385b
Use fixed days to test translateTimestamp for months
...
Use fixed days to avoid days in different months.
2015-12-08 15:53:38 +08:00
Brendan Burns
59bd1d24a2
Fix some typos in third party resource printing
2015-12-07 14:17:55 -08:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
k8s-merge-robot
ec1ba7438f
Merge pull request #17796 from deads2k/gv-object-typer
...
Auto commit by PR queue bot
2015-12-07 12:34:55 -08:00
deads2k
66eecb963a
update more kubectl bits for groupversion
2015-12-07 09:01:44 -05:00
deads2k
f764e0099c
Update ObjectTyper to GroupVersion
2015-12-07 08:35:05 -05:00
Tamer Tas
5ac372dfce
Alphabetize kubectl resource shortcuts list
2015-12-07 06:05:42 +02:00
jackgr
b11dec7aec
Implement conflict detection in strategic merge patch.
2015-12-06 17:54:32 -08:00
jiangyaoguo
7153ff80ff
print absolute time when watch event
2015-12-05 13:52:53 +08:00
mqliang
0fd51b9e72
make 'deployment.kubernetes.io/podTemplateHash' as constant
2015-12-05 11:17:12 +08:00
James Munnelly
61306c2a0f
Allow rolling-update of a single container in multi-container pods
...
Accept codec as parameter to CreateNewControllerFromCurrentController function. Add tests for performing a rolling update on a container in a multi-container pod.
2015-12-04 18:38:55 +00:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
Tim Hockin
e6df0b1a24
Convert validation to use FieldPath
...
Before this change we have a mish-mash of ways to pass field names around for
error generation. Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.
Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior. At least you
will have to think about field names, which is better than nothing.
It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
Marek Grabowski
5d92cb229f
Merge pull request #18031 from soltysh/issue17364
...
Changing ─ (U+2500) to ASCII hyphen in describe command
2015-12-03 09:24:58 +01:00
Brendan Burns
601faebfe3
Add custom-columns to the template flag
2015-12-02 10:40:32 -08:00
k8s-merge-robot
e28404b23b
Merge pull request #17946 from jhadvig/label_msg
...
Auto commit by PR queue bot
2015-12-02 04:46:26 -08:00
Maciej Szulik
db0df10b9c
Changing ─ (U+2500) to ASCII hyphen in describe command
2015-12-01 20:40:51 +01:00
Wojciech Tyczynski
8343c8ce6c
Pass ListOptions to List() methods.
2015-12-01 15:00:36 +01:00
k8s-merge-robot
7644d34759
Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
...
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
k8s-merge-robot
a836b1e261
Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
...
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
fabioy
3d75105ee5
Fix test failure due to days-in-month check. Issue #17998 .
2015-11-30 17:17:52 -08:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
jhadvig
f55809b5b5
Pod labeling should return correct messages
2015-11-30 17:47:08 +01:00
deads2k
1ac6d8afd3
update reaper, scaler, describer for GroupKind
2015-11-30 09:22:39 -05:00
k8s-merge-robot
140df5f809
Merge pull request #17220 from kargakis/kubectl-scale-deployments
...
Auto commit by PR queue bot
2015-11-30 04:19:58 -08:00
k8s-merge-robot
5f10b70652
Merge pull request #17766 from hurf/doc_nits
...
Auto commit by PR queue bot
2015-11-27 02:22:41 -08:00
k8s-merge-robot
4ce6a16816
Merge pull request #17709 from ddysher/missing-valid-resources
...
Auto commit by PR queue bot
2015-11-26 22:49:07 -08:00
k8s-merge-robot
b9537245ec
Merge pull request #17702 from hurf/logs_cleanup
...
Auto commit by PR queue bot
2015-11-26 19:13:12 -08:00
k8s-merge-robot
70d2a02959
Merge pull request #17701 from hurf/anno_label
...
Auto commit by PR queue bot
2015-11-26 15:29:46 -08:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05:00
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
k8s-merge-robot
5f8743ea7b
Merge pull request #17108 from kargakis/fix-editor-env
...
Auto commit by PR queue bot
2015-11-26 03:53:53 -08:00
k8s-merge-robot
fc694ea787
Merge pull request #16725 from wojtek-t/update_ugorji
...
Auto commit by PR queue bot
2015-11-25 22:14:20 -08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
deads2k
9e9b9f2da3
fix outputversion restmapper
2015-11-25 12:15:48 -05:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
deads2k
e0b7f52633
hack up queryToObject to continue to work as it used to
2015-11-25 12:14:06 -05:00
deads2k
6231404682
update decoder to use GroupVersion
2015-11-25 12:14:06 -05:00
Wojciech Tyczynski
58062bc347
Regenerate files
2015-11-25 12:34:05 +01:00
hurf
8b6ef01667
fix description of -f option of autoscale command
...
use 'autoscale' instead of 'get form the server'
2015-11-25 19:00:56 +08:00
hurf
27d6b58ba5
fix a nit in long description of attach command
...
remove an extra 'a'
2015-11-25 18:57:03 +08:00
Michail Kargakis
99fc35880b
kubectl: Support scaling deployments
...
This commit adds support for using kubectl scale to scale deployments. Makes use of the
deployments/scale endpoint instead of updating deployment.spec.replicas directly.
2015-11-25 11:26:40 +01:00
kargakis
523b6ec7e3
edit: Make environment variables composable
...
It also adds support for KUBE_EDITOR and GIT_EDITOR which were already
advertised in the edit usage message.
2015-11-25 11:23:23 +01:00
hurf
ad26db7f45
Annotate support label
...
allow "kubectl annotate pods -l app=nginx"
2015-11-25 14:13:39 +08:00
hurf
91ad5b4ec3
Cleanup logs command
...
use 'logs' instead of 'log'
2015-11-25 14:11:27 +08:00
k8s-merge-robot
3e56ce6490
Merge pull request #17327 from deads2k/gv-restmapper
...
Auto commit by PR queue bot
2015-11-24 19:08:49 -08:00
k8s-merge-robot
431c67710b
Merge pull request #17247 from thockin/airplane_validation_pt3
...
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
k8s-merge-robot
cc3515d702
Merge pull request #17136 from kargakis/use-deprecation-field-in-stop
...
Auto commit by PR queue bot
2015-11-24 17:37:19 -08:00
k8s-merge-robot
d42030170b
Merge pull request #15999 from aveshagarwal/master-issue-15624
...
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
deads2k
c40dd0335a
make DefaultRESTMapper methods type correct
2015-11-24 14:17:37 -05:00
Janet Kuo
c0c02c95c4
kubectl run to produce deployment and job
2015-11-24 10:21:31 -08:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
k8s-merge-robot
4fd6b6df06
Merge pull request #17316 from deads2k/gv-ClientForVersion
...
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Avesh Agarwal
001437a72f
This commit fixes tests.
2015-11-24 09:16:12 -05:00
kargakis
3c7b9f83d7
stop: Make use of deprecation field
2015-11-24 12:27:20 +01:00
Deyuan Deng
31650994cd
Add missing serviceaccounts to valid resources output
2015-11-24 13:57:51 +08:00
k8s-merge-robot
06ef4b0a83
Merge pull request #17156 from feihujiang/moveListFunctionsFromRuntimeToMetaPackage
...
Auto commit by PR queue bot
2015-11-23 14:13:25 -08:00
Tim Hockin
ceee678b29
Rename validation 'New' funcs
2015-11-23 10:01:43 -08:00
Tim Hockin
682f2a5a79
Stronger typing for validation ErrorList
2015-11-23 10:01:43 -08:00
k8s-merge-robot
c974e0739b
Merge pull request #17236 from fabianofranz/wrong_attach_example
...
Auto commit by PR queue bot
2015-11-23 09:57:30 -08:00
Sergiusz Urbaniak
1a43dcf720
api, kubectl: move getSinglePodTotalRequestsAndLimits to api.PodRequestsAndLimits
2015-11-23 17:27:14 +01:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
k8s-merge-robot
6d2b92a0be
Merge pull request #17269 from janetkuo/autoscale-deployments
...
Auto commit by PR queue bot
2015-11-21 22:23:23 -08:00
k8s-merge-robot
68d691858a
Merge pull request #17255 from derekwaynecarr/add_default_to_header
...
Auto commit by PR queue bot
2015-11-21 17:05:13 -08:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
k8s-merge-robot
0e229d59f0
Merge pull request #17499 from jszczepkowski/hpa-tune
...
Auto commit by PR queue bot
2015-11-20 05:33:15 -08:00
k8s-merge-robot
d25cffef55
Merge pull request #17381 from caesarxuchao/add-blob
...
Auto commit by PR queue bot
2015-11-20 05:32:31 -08:00
k8s-merge-robot
21095ea21e
Merge pull request #13917 from feihujiang/kubectlRunFollowRules
...
Auto commit by PR queue bot
2015-11-20 00:13:17 -08:00
feihujiang
ad79fa6e84
Move list functions from runtime to meta package
2015-11-20 09:20:55 +08:00
Jerzy Szczepkowski
cac9e88c11
Updated kubectl help messages.
...
Updated kubectl help messages: added info about hpa. Fixes #17357 .
2015-11-19 15:26:43 +01:00
k8s-merge-robot
7c660bc240
Merge pull request #17058 from deads2k/fix-client-cache
...
Auto commit by PR queue bot
2015-11-19 00:00:32 -08:00
feihujiang
4d2333b7d8
Let kubectl run follow rules for --
2015-11-18 14:46:01 +08:00
Fabiano Franz
ab455784f5
kubectl attach only takes one argument
2015-11-17 23:16:02 -02:00
k8s-merge-robot
7ad8bb1787
Merge pull request #17161 from soltysh/strip_reaper
...
Auto commit by PR queue bot
2015-11-17 05:45:35 -08:00
deads2k
afbcfc7cc6
fix client cache for different versions
2015-11-17 08:26:56 -05:00
k8s-merge-robot
125ab2cad1
Merge pull request #17232 from deads2k/gv-restmapping-2
...
Auto commit by PR queue bot
2015-11-17 03:33:24 -08:00
Maciej Szulik
64f778804d
Remove string from Reaper.Stop signature
2015-11-17 12:09:08 +01:00
k8s-merge-robot
539a629f4b
Merge pull request #17230 from hurf/anno_out
...
Auto commit by PR queue bot
2015-11-17 03:01:22 -08:00
Chao Xu
0c913ed5a1
change HEAD to blob/HEAD, and add blob in versioned-docs.sh
2015-11-16 17:13:49 -08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
k8s-merge-robot
89d7309c88
Merge pull request #16256 from mikedanese/daemon-gls
...
Auto commit by PR queue bot
2015-11-16 07:59:28 -08:00
deads2k
303bcad398
use groupversion in RESTMapping
2015-11-16 09:22:11 -05:00
Paul Morie
1cb58baf2f
Refactor map field handling for clientcmd.LoadFromFile
2015-11-14 09:44:31 -05:00
Janet Kuo
8e99bae7ec
Support autoscale deployments
2015-11-13 23:33:55 -08:00
derekwaynecarr
138315266d
Improve describe for LimitRange resource based on user feedback
2015-11-13 17:02:54 -05:00
hurf
ca300c180c
Add printer options to Annotate
...
1. add return message as "resource name annotated"
2. add printer options to annotate
3. move all parameter into AnnotateOptions to make sure runT
function has no parameter.
2015-11-14 03:07:21 +08:00
Mike Danese
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
k8s-merge-robot
927f30b0a5
Merge pull request #17074 from krousey/timeout
...
Auto commit by PR queue bot
2015-11-12 11:20:34 -08:00
Janet Kuo
88d9106705
Add help text for rollback in kubectl rolling-update
2015-11-11 13:29:54 -08:00
Kris
eacf65ddce
Renaming HTTPClientFunc to CreateHTTPClient
2015-11-11 11:54:58 -08:00
k8s-merge-robot
685071bd4f
Merge pull request #16908 from feihujiang/printClueForGettingCommandPrompt
...
Auto commit by PR queue bot
2015-11-10 16:02:32 -08:00
Kris
4a4d195419
Exposing http.Client for configurable timeouts
2015-11-10 13:40:51 -08:00
Jeff Lowdermilk
6868382072
Reword misleading help text for kubectl patch
2015-11-10 13:00:04 -08:00
k8s-merge-robot
18c74de9a8
Merge pull request #16986 from pmorie/gce-sc
...
Auto commit by PR queue bot
2015-11-10 11:15:27 -08:00
Wojciech Tyczynski
d80e0e837c
Merge pull request #10707 from kargakis/logs-with-resource-builder
...
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot
afe121669b
Merge pull request #16852 from feiskyer/kubectl-desc-ep
...
Auto commit by PR queue bot
2015-11-09 05:21:12 -08:00
k8s-merge-robot
9fe755dea6
Merge pull request #16832 from janetkuo/kubectl-apply-create
...
Auto commit by PR queue bot
2015-11-09 03:56:30 -08:00
Janet Kuo
37f35d9342
Make kubectl apply create resources if not found
2015-11-08 22:47:40 -08:00
Mike Danese
1e3da330f4
don't print resources twice in kubectl get
2015-11-08 21:42:52 -08:00
k8s-merge-robot
0abc12ce5a
Merge pull request #16876 from hongchaodeng/fix-16721
...
Auto commit by PR queue bot
2015-11-07 07:31:15 -08:00
k8s-merge-robot
5988f73a4a
Merge pull request #16809 from janetkuo/apply-annotation-optional
...
Auto commit by PR queue bot
2015-11-07 02:39:23 -08:00
k8s-merge-robot
4de560389d
Merge pull request #15928 from brendandburns/sort2
...
Auto commit by PR queue bot
2015-11-07 01:03:15 -08:00
feisky
3adb929eb9
Add kubectl describe for endpoints
2015-11-07 14:58:12 +08:00
Janet Kuo
a6a64820d7
Make generation of the apply annotation optional
2015-11-06 15:08:50 -08:00
k8s-merge-robot
4566e039bf
Merge pull request #16716 from huangyuqi/add_res_types_kubctl_get
...
Auto commit by PR queue bot
2015-11-06 02:20:27 -08:00
feihujiang
dfdd9b7558
Print clue for getting command prompt
2015-11-06 17:09:12 +08:00
k8s-merge-robot
0932755036
Merge pull request #16833 from hurf/agg_attach
...
Auto commit by PR queue bot
2015-11-05 22:23:35 -08:00
Hongchao Deng
056536ff83
component status: nil error should return empty string
...
If error is nil, it should return empty string instead of \"nil\".
JSON marshalling will omit empty error in such case.
2015-11-05 18:44:28 -08:00
kargakis
4fdb6d1331
logs: Use resource builder
2015-11-05 14:54:55 +01:00
k8s-merge-robot
4711a87323
Merge pull request #16758 from janetkuo/remove-verbose-output
...
Auto commit by PR queue bot
2015-11-05 05:23:25 -08:00
hurf
a15998f46c
Aggregate errors while validating attach options
...
Return all errors at a time while validating attach options.
2015-11-05 10:39:32 +08:00
huangyuqi
1bf2f869c7
add valid resource types for kubectl get
2015-11-04 10:12:30 +00:00
Daniel Smith
241551e36e
set-gen example
2015-11-03 15:14:51 -08:00
Janet Kuo
b8f97dd185
Remove unhelpful output when jsonpath and template printers fail to print
2015-11-03 15:09:00 -08:00
Paul Morie
75b1e6ec44
Fix panic bringing up e2e cluster when kubeconfig is empty
2015-11-03 11:19:36 -05:00
k8s-merge-robot
121f33068d
Merge pull request #16668 from deads2k/fix-hpa-escalation
...
Auto commit by PR queue bot
2015-11-03 06:11:34 -08:00
k8s-merge-robot
3f3918048a
Merge pull request #16669 from erictune/fix-run-docstring
...
Auto commit by PR queue bot
2015-11-03 05:29:29 -08:00
deads2k
fd1c8e096a
eliminate cross-namespace HPA escalation attack
2015-11-03 08:05:26 -05:00
k8s-merge-robot
1b437272ba
Merge pull request #16696 from janetkuo/kubectl-jsonpath
...
Auto commit by PR queue bot
2015-11-03 04:29:28 -08:00
k8s-merge-robot
c080c8a14f
Merge pull request #16537 from fabianofranz/attach_handles_tty_support
...
Auto commit by PR queue bot
2015-11-03 00:01:38 -08:00
k8s-merge-robot
990c0184be
Merge pull request #16330 from mikedanese/deploy-ptr
...
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Janet Kuo
4d92268212
Better error handling for output format when "kubectl config view"
2015-11-02 16:25:52 -08:00
Fabiano Franz
c60f19a1f8
Attach must only allow a tty when container supports it
2015-11-02 09:56:58 -05:00
Eric Tune
0bde95f1ce
Fix incorrect flag in example.
2015-10-30 15:40:05 -07:00
k8s-merge-robot
a9534bfd33
Merge pull request #16441 from liggitt/helper_codec
...
Auto commit by PR queue bot
2015-10-30 11:29:17 -07:00
Alex Robinson
887b9dd78a
Merge pull request #16232 from bprashanth/salt
...
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00
k8s-merge-robot
bbba223584
Merge pull request #16445 from smarterclayton/improve_errors
...
Auto commit by PR queue bot
2015-10-30 00:17:18 -07:00
hurf
29a0fe9032
Display controllers along with type when describing a pod
...
There're more controllers than replication controller, the patch
displays annotation item with key "kuberntetes.io/created-by" in
the form of "Controllers: type/name".
2015-10-30 11:16:46 +08:00
k8s-merge-robot
0e7f2288f5
Merge pull request #16494 from soltysh/issue16255
...
Auto commit by PR queue bot
2015-10-29 15:48:17 -07:00
Prashanth Balasubramanian
122dccbffa
Kubectl describe
2015-10-29 12:09:31 -07:00
Maciej Szulik
e662b34ccd
Remove dead pods upon stopping a job
2015-10-29 17:56:01 +01:00
k8s-merge-robot
55d03fd102
Merge pull request #16332 from janetkuo/fix-print-job
...
Auto commit by PR queue bot
2015-10-29 06:43:26 -07:00
Fabiano Franz
d9161cb3b5
stdin is not a valid file extension for bash completions
2015-10-29 00:00:34 -02:00
Clayton Coleman
6f688c3df8
Improve the message for UsageError
...
Capitalize, also indicate that we have examples
2015-10-28 13:33:37 -04:00
Jordan Liggitt
b58e62e7d4
Pass runtime.Object to Helper.Create/Replace
2015-10-28 12:43:21 -04:00
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
k8s-merge-robot
d695177229
Merge pull request #16054 from smarterclayton/revert_extension_syntax
...
Auto commit by PR queue bot
2015-10-27 19:57:15 -07:00
Daniel Smith
6219b50280
Merge pull request #16160 from kargakis/windows-fixes-for-edit
...
edit: Windows fixes
2015-10-27 15:44:26 -07:00
Jerzy Szczepkowski
154923221f
Merge pull request #15951 from kargakis/factory-expose-method
...
Make CanBeExposed and CanBeAutoscaled composable
2015-10-27 11:04:40 +01:00
Jerzy Szczepkowski
bbee6cfcd7
Merge pull request #15461 from kargakis/relax-exposing-multiport-objects
...
expose: Enable exposing multiport objects
2015-10-27 10:25:54 +01:00
k8s-merge-robot
df265b2d6e
Merge pull request #15510 from aveshagarwal/master-selflink-objref
...
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
Janet Kuo
cb2466c50f
Remove invalid blank line when printing jobs
2015-10-26 17:23:56 -07:00
Daniel Smith
075d760ad4
Merge pull request #16016 from mqliang/uselessDel
...
remove useless function
2015-10-26 17:06:42 -07:00
k8s-merge-robot
e97483ae7b
Merge pull request #16086 from jackgr/conditional_annotation
...
Auto commit by PR queue bot
2015-10-26 03:44:28 -07:00
k8s-merge-robot
0884214fe0
Merge pull request #16058 from janetkuo/revert-kubectl-slash
...
Auto commit by PR queue bot
2015-10-25 19:23:14 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
kargakis
4befdf5b49
Make CanBeExposed and CanBeAutoscaled composable
2015-10-24 20:07:35 +02:00
kargakis
73713ce268
edit: Windows fixes
...
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
k8s-merge-robot
40b6f1cc28
Merge pull request #16109 from fabianofranz/move_attach_pod_selection_to_factory
...
Auto commit by PR queue bot
2015-10-24 03:45:29 -07:00
k8s-merge-robot
6d10b76b11
Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
...
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
k8s-merge-robot
570a9dc18f
Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
...
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Tim Hockin
5c903dbcac
Merge pull request #16073 from caesarxuchao/fix-htmlpreview-on-head
...
fix htmlpreview links to point to subdictory
2015-10-23 13:32:29 -07:00
Fabiano Franz
312d53d9c9
Expose attachable pod discovery to factory
2015-10-23 17:28:41 -02:00
Filip Grzadkowski
d93c14afec
Merge pull request #16025 from piosz/describe-fix
...
Fixed incorrect Min replicas value in kubectl describe
2015-10-23 14:07:16 +02:00
k8s-merge-robot
a10ed3e2b1
Merge pull request #15908 from jlowdermilk/rolling-update-doc
...
Auto commit by PR queue bot
2015-10-23 00:52:37 -07:00
Janet Kuo
f5adda3d81
Fixed the error for kubectl edit multiple resources
2015-10-22 22:35:15 -07:00
Brendan Burns
2935075388
Fix sorting from 2 bugs
2015-10-22 20:11:14 -07:00
Chao Xu
eb3a80156a
let kubectl api-versions use the discovery client
2015-10-22 10:19:34 -07:00
Filip Grzadkowski
39e6a60224
Merge pull request #15997 from JanetKuo/kubectl-get-hpa-minpods
...
Handle the case when min pods is nil for "kubectl get hpa"
2015-10-22 14:47:14 +02:00
Filip Grzadkowski
ef7f65ba0a
Merge pull request #16042 from deads2k/missing-err-handling
...
fix missing error handling
2015-10-22 14:46:39 +02:00
Piotr Szczesniak
c400cbbd13
Fixed incorrect Min replicas value in kubectl describe
2015-10-22 09:59:37 +02:00
jackgr
08b2275129
Update annotation only if apply already called.
2015-10-21 19:18:28 -07:00
Janet Kuo
013096cb6e
Handle the case when min pods is nil for "kubectl get hpa"
2015-10-21 16:43:13 -07:00
Chao Xu
316bd058d0
fix htmlpreview links to point to subdictory
2015-10-21 15:46:52 -07:00
Janet Kuo
1d37c549b1
Revert/disable the slash syntax for kubectl explain group/version
2015-10-21 13:58:54 -07:00
Clayton Coleman
be868e934c
Revert resource.Builder changes from 57388f9
...
57388f9f94
2015-10-21 16:23:33 -04:00
Jeff Lowdermilk
d4de35e177
Merge pull request #15921 from brendandburns/fix2
...
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
Jeff Lowdermilk
5bf993bf28
Validate image name for kubectl rolling-update NAME --image=IMAGE
...
Require distinct image from current one when starting a new
rolling-update, and exit with error if an existing in-progress update
is targeting a different image.
2015-10-21 11:48:39 -07:00
deads2k
2ea025aedd
fix missing error handling
2015-10-21 14:37:47 -04:00
k8s-merge-robot
a5a917603c
Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
...
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
k8s-merge-robot
071d21257f
Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
...
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
mqliang
e1b73ed481
delete useless function
2015-10-21 15:38:52 +08:00
Brendan Burns
54fd60727e
add a --expose flag to kubectl run
2015-10-20 20:21:09 -07:00
k8s-merge-robot
034f7ccb1d
Merge pull request #15885 from ashcrow/fix-import-package-names-15319
...
Auto commit by PR queue bot
2015-10-20 09:37:13 -07:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
Janet Kuo
bc16642e6b
Fix the incorrect min pods when "kubectl get hpa"
2015-10-19 16:18:27 -07:00
Chao Xu
6f0f87b629
make kubectl explain work for extensions API
2015-10-19 10:21:56 -07:00
Janet Kuo
8105aa44a0
Implement kubectl autoscale
2015-10-19 09:59:22 -07:00
k8s-merge-robot
cadb6c06be
Merge pull request #14161 from feihujiang/letKubectlExecFollowDashRule
...
Auto commit by PR queue bot
2015-10-19 08:58:37 -07:00
k8s-merge-robot
77207d75e1
Merge pull request #15667 from JanetKuo/kubectl-watch-list
...
Auto commit by PR queue bot
2015-10-19 06:28:35 -07:00
feihujiang
a456b4c424
Remove useless codes about Minion kind
2015-10-19 19:29:45 +08:00
k8s-merge-robot
75c977d200
Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
...
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
kargakis
7d0e691520
expose: Enable exposing multiport objects
...
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02:00
k8s-merge-robot
80838ff86a
Merge pull request #15454 from feihujiang/describePodsShowCommandAndArgs
...
Auto commit by PR queue bot
2015-10-18 02:03:39 -07:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
k8s-merge-robot
d3ca12f61b
Merge pull request #15053 from smarterclayton/stdin_once
...
Auto commit by PR queue bot
2015-10-17 00:03:32 -07:00
k8s-merge-robot
d41737eff2
Merge pull request #15689 from caesarxuchao/default-ns-componentstatus
...
Auto commit by PR queue bot
2015-10-16 20:56:38 -07:00
Clayton Coleman
7f6f85bd7b
Fix attach, which was broken during the refactor
...
The new e2e test catches the break in attach (no e2e test
exposed this codepath before).
2015-10-16 20:33:51 -04:00
Clayton Coleman
e9a465d635
Make kubectl run attach behave like docker run
...
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04:00
Chao Xu
262825f13d
make componenetstatus root scoped
2015-10-16 10:24:31 -07:00
Wojciech Tyczynski
d51965bf00
Autogenerate files.
2015-10-16 10:20:02 +02:00
Piotr Szczesniak
f3e0bb0d41
Merge pull request #15706 from jszczepkowski/hpa-beta-util
...
HorizontalPodAutoscaler and Scale subresource APIs graduated to beta.
2015-10-16 09:50:27 +02:00
Piotr Szczesniak
4b983584a8
Merge pull request #15597 from caesarxuchao/annotate-patch
...
let kubectl annotate use patch instead of replace
2015-10-16 07:29:22 +02:00
Piotr Szczesniak
c261325319
Merge pull request #15651 from caesarxuchao/label-patch
...
let kubectl label use PATCH instead of PUT
2015-10-16 07:29:13 +02:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02:00
Eric Tune
13ae9a4d46
Merge pull request #15520 from mikedanese/dne
...
Move job to generalized label selector
2015-10-15 13:59:22 -07:00
Eric Tune
d4475e3d49
Merge pull request #15232 from deads2k/refactor-logs
...
refactor kubectl logs to be composeable
2015-10-15 13:56:58 -07:00
Chao Xu
b5a3ab67da
let kubectl label use PATCH instead of PUT
2015-10-15 12:18:54 -07:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
k8s-merge-robot
4c8e6f47ec
Merge pull request #15394 from JanetKuo/kubectl-proxy-api-prefix
...
Auto commit by PR queue bot
2015-10-15 05:12:30 -07:00
k8s-merge-robot
081f05c207
Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
...
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
Marek Grabowski
09160d8671
Merge pull request #15499 from JanetKuo/kubectl-get-funky
...
Format flattened output in kubectl
2015-10-15 09:33:26 +02:00
Janet Kuo
33b9235312
Better error handling for watching a list of resources specified in a file
2015-10-14 16:38:03 -07:00
Janet Kuo
f47c2be539
Change kubectl proxy --api-prefix default to allow /apis/
2015-10-14 15:49:52 -07:00
Chao Xu
d0d260fd03
let kubectl annotate use patch instead of replace
2015-10-14 11:14:02 -07:00
deads2k
f0aa606632
refactor kubectl logs to be composeable
2015-10-14 13:22:59 -04:00
k8s-merge-robot
11c735cefa
Merge pull request #15581 from JanetKuo/remove-sorting-printer-debug-message
...
Auto commit by PR queue bot
2015-10-14 09:02:32 -07:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
Janet Kuo
b9c8b76b6b
address comments
2015-10-13 18:48:27 -07:00
Janet Kuo
f39fe2056d
Keep Flatten() and format output earlier in kubectl get
2015-10-13 18:48:27 -07:00
Dawn Chen
0e0ae670ad
Merge pull request #15488 from caesarxuchao/experimental-extensions-client
...
Move from "Experimental" to "Extensions"
2015-10-13 16:54:37 -07:00
Janet Kuo
d7d24dc8d4
Remove sorting-printer's debug message
2015-10-13 16:48:58 -07:00
Dawn Chen
d6c43f48d1
Merge pull request #15473 from feihujiang/removeShorthandForClientInKubectlVersion
...
Remove shorthand for client flag in kubectl version
2015-10-13 16:24:08 -07:00
Chao Xu
493d2b6920
grep sed Experimental()
2015-10-13 13:22:54 -07:00
Chao Xu
9a812bd0c5
grep sed ExperimentalClient
2015-10-13 13:22:22 -07:00
Chao Xu
9aa163aa88
grep sed ExperimentalInterface
2015-10-13 13:22:22 -07:00
Dawn Chen
e4c910a35a
Merge pull request #15362 from wojtek-t/refactor_test_objects
...
Refactor test objects to a separate package
2015-10-13 11:52:47 -07:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Wojciech Tyczynski
3d88a63b5d
Refactor test objects to a separate package
2015-10-13 10:15:11 +02:00
Avesh Agarwal
8e4a8b7260
Addresses issue #6596 .
...
Removes ForTesting_ReferencesAllowBlankSelfLinks.
Fixes controller's persistentvolumes unit tests.
2015-10-12 19:21:48 -04:00
Dawn Chen
6fa8ceda60
Merge pull request #14536 from wulonghui/wulonghui-patch-3
...
Update rollback process
2015-10-12 16:04:59 -07:00
Dawn Chen
3a45a5ca92
Merge pull request #15270 from brendandburns/custom
...
Fix the custom columns printer and the sorting printer for v1.List objects
2015-10-12 14:41:00 -07:00
Chao Xu
fe7b85f6ea
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
8654227c08
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
58ed8fd6fe
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
654ceb6e5a
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
cbb3deb182
run goimports
2015-10-12 13:31:45 -07:00
Chao Xu
50a2c4c643
grep-sed
2015-10-12 13:31:45 -07:00
Dawn Chen
075c3a2c71
Merge pull request #15061 from kargakis/fix-dry-run-in-expose
...
Fix dry run in expose
2015-10-12 12:53:04 -07:00
Dawn Chen
149ca1ec49
Merge pull request #14618 from smarterclayton/refactor_exec
...
Refactor exec to make attach useful without a client.Config
2015-10-12 11:44:34 -07:00
feihujiang
6290aee8b8
Remove shorthand for client flag in kubectl version
2015-10-13 02:02:54 +08:00
feihujiang
42c38030be
Fix describe pods doesn't show command and args
2015-10-12 05:29:52 +08:00
feihujiang
4f38e8a745
Let kubectl exec follow dash rule
2015-10-12 01:29:07 +08:00
k8s-merge-robot
02ec1fb33c
Merge pull request #13885 from smarterclayton/websocket_exec
...
Auto commit by PR queue bot
2015-10-10 09:52:01 -07:00
k8s-merge-robot
fa557f6101
Merge pull request #15409 from caesarxuchao/extension/v1beta1
...
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
kargakis
4b23bf602d
expose: Minor cleanup
2015-10-10 16:16:41 +02:00
kargakis
083c5bebbd
expose: --dry-run should dump the object
...
Also make some tests use --dry-run and compare generated objects
against expected
2015-10-10 16:15:17 +02:00
k8s-merge-robot
615ae5b04a
Merge pull request #15335 from mikedanese/ds-cleanup
...
Auto commit by PR queue bot
2015-10-09 18:59:55 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Clayton Coleman
3f1b18fbba
Refactor exec to make attach useful without a client.Config
...
The current executor structure is too dependent on client.Request
and client.Config. In order to do an attach from the server, it needs
to be possible to create an Executor from crypto/tls#TLSConfig and to
bypassing having a client.Request.
Changes:
* remotecommand.spdyExecutor - handles upgrading a request to SPDY and getting a connection
* remotecommand.NewAttach / New - moved to exec / portforward / attach since they handle requests
* Remove request.Upgrade() - it's too coupled to SPDY, and can live with the spdyExecutor
* Add request.VersionedParams(runtime.Object, runtime.ObjectConvertor) to handle object -> query transform
2015-10-09 14:36:46 -04:00
Clayton Coleman
554ce403e4
Prevent attach from being served by default via the proxy
2015-10-09 14:33:40 -04:00
k8s-merge-robot
2f90f660c1
Merge pull request #11368 from hurf/ctl_convert
...
Auto commit by PR queue bot
2015-10-09 08:57:30 -07:00
Mike Danese
6fe7edc5ea
simplify DaemonReaper by using NodeSelector
2015-10-09 08:17:49 -07:00
k8s-merge-robot
0fb7c80edf
Merge pull request #14888 from JanetKuo/kubectl-get-list
...
Auto commit by PR queue bot
2015-10-09 00:03:01 -07:00
hurf
e1b88c6942
Integrate convertion tool to kubectl
...
Added 'convert' subcommand to kubectl to convert config files
between different API versions.
2015-10-09 10:15:30 +08:00
k8s-merge-robot
86fdc3f85c
Merge pull request #15240 from mikedanese/job-fix-1
...
Auto commit by PR queue bot
2015-10-08 16:58:06 -07:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
wulonghui
cbd10dbf36
Update rollback process
2015-10-08 10:49:09 +08:00
Brendan Burns
51b0def44f
Fix the custom column and sorting printers for v1.List
2015-10-07 19:42:19 -07:00
jackgr
ef3f64612e
Add calls to set annotation for kubectl apply
2015-10-07 17:15:56 -07:00
jackgr
703a3e19aa
Add the kubectl apply command.
2015-10-07 17:14:51 -07:00
k8s-merge-robot
b0d748efb0
Merge pull request #14461 from JanetKuo/kubectl-api-group-cmd
...
Auto commit by PR queue bot
2015-10-07 07:29:10 -07:00
Derek Carr
87fe1f4af8
Merge pull request #13939 from pmorie/pod-sc-minimal
...
Add PodSecurityContext and backward compatibility tests
2015-10-07 09:56:58 -04:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
k8s-merge-robot
239790a045
Merge pull request #15110 from mikedanese/ds-reaper-fix
...
Auto commit by PR queue bot
2015-10-05 22:28:51 -07:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Alex Robinson
cae6b7cf61
Merge pull request #14607 from erictune/jobs-get-fix
...
kubectl get jobs printing fix
2015-10-05 17:03:25 -07:00
Alex Robinson
48c6b7ea96
Merge pull request #14728 from kargakis/truncate-inherited-service-names
...
expose: Truncate service names
2015-10-05 16:29:14 -07:00
Mike Danese
334b551166
use unconditional update and check error of update in DaemonSet reaper
2015-10-05 14:15:19 -07:00
Janet Kuo
1f35cf2e5b
Fix get with List
2015-10-05 11:44:57 -07:00
deads2k
05e84fafbe
move HasConflicts to shareable location
2015-10-05 14:37:57 -04:00
Eric Tune
b4ca15dfce
Print namespace when asked for job.
...
Also print multiple containers if there happen to be multiple.
2015-10-05 10:32:14 -07:00
kargakis
989806d9ec
expose: Truncate service names
...
In case the generated service inherits the exposed object's name (the user didn't specify
a name via --name), truncate it up to the maximum length for a valid service name
2015-10-05 10:39:42 +02:00
CJ Cullen
1b841d26e7
Merge pull request #14996 from thockin/wait-poll
...
add wait.PollImmediate() and retool wait tests
2015-10-02 16:39:42 -07:00
k8s-merge-robot
7007481f00
Merge pull request #14917 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Tim Hockin
1973d233e8
add wait.PollImmediate() and retool wait tests
2015-10-02 11:44:26 -07:00
k8s-merge-robot
e330b1197e
Merge pull request #14459 from bprashanth/l7_ingress_resource_refactor
...
Auto commit by PR queue bot
2015-10-02 10:20:48 -07:00
k8s-merge-robot
7f9c18d646
Merge pull request #14819 from mesosphere/sttts-add-kubectl-bind-address
...
Auto commit by PR queue bot
2015-10-02 08:05:57 -07:00
k8s-merge-robot
e4164638c4
Merge pull request #14732 from jszczepkowski/hpa-api-fix
...
Auto commit by PR queue bot
2015-10-01 18:52:59 -07:00
k8s-merge-robot
2516086771
Merge pull request #14764 from timstclair/kubectl
...
Auto commit by PR queue bot
2015-10-01 17:10:10 -07:00
nikhiljindal
c6deb442f9
Adding events to deployment
2015-10-01 16:38:08 -07:00
k8s-merge-robot
d50810a1db
Merge pull request #14831 from deads2k/allow-yaml-patch
...
Auto commit by PR queue bot
2015-10-01 08:48:45 -07:00
Wojciech Tyczynski
7f9df8c062
Merge pull request #14721 from zhengguoyong/err_value
...
add log err value
2015-10-01 09:37:36 +02:00
Wojciech Tyczynski
b7dbbdbc09
Merge pull request #14890 from timothysc/user_error
...
Fix for unit test failures on user
2015-10-01 09:36:44 +02:00
Nikhil Jindal
7adb463dd0
Merge pull request #14199 from nikhiljindal/deploymentDescribe
...
Adding a DeploymentDescriber to kubectl
2015-09-30 21:34:24 -07:00
k8s-merge-robot
888f08377e
Merge pull request #14671 from ironcladlou/rolling-rollback-fix
...
Auto commit by PR queue bot
2015-09-30 20:56:05 -07:00
Timothy St. Clair
7955d428de
Fix for unit test failures 'unexpected error: user: Current not implemented on linux/amd64'
...
running on Fedora 20 'go version go1.4.2 linux/amd64'
2015-09-30 20:33:34 -05:00
Brendan Burns
44a16834d8
Merge pull request #14087 from brendandburns/kubectl
...
Move the default schema cache to the home directory
2015-09-30 11:30:32 -07:00
deads2k
8b063a34b0
allow yaml as argument to patch
2015-09-30 11:58:42 -04:00
Dr. Stefan Schimanski
3650899b29
Add --address to kubectl proxy
2015-09-30 15:53:52 +02:00
Brendan Burns
e827934d78
Merge pull request #12677 from andronat/kubectl_doc_cmd
...
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
k8s-merge-robot
66e25b48b0
Merge pull request #14636 from feihujiang/fixMinorBugsInKubectlCommand
...
Auto commit by PR queue bot
2015-09-29 19:31:40 -07:00
Prashanth Balasubramanian
99b0e051fc
Kubectl printer
2015-09-29 18:51:24 -07:00
Tim St. Clair
4dc9df91d8
Fix race condition in kubectl run --attach
2015-09-29 15:02:38 -07:00
Dan Mace
6db9601772
Support asymmetric rolling rollbacks
...
Improve the rolling updater rollback/abort function by making it aware
of the original replicas annotation: if the rollback target has the
original replica count recorded, prefer it over the desired annotation
since the update from old to new could have been asymmetrical.
For example, when scaling from 5 to 10, aborting should scale back to 5.
2015-09-29 09:00:02 -04:00
Jerzy Szczepkowski
a5194c5ff4
HorizontalPodAutoscaler.Status kept by value, not by pointer.
...
HorizontalPodAutoscaler.Status kept by value, not by pointer. Fixes #14567 .
2015-09-29 14:25:46 +02:00
eulerzgy
b1be6bc8ea
add log err value
2015-09-29 17:09:25 +08:00
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07:00
nikhiljindal
c651c1ae30
Updating the semantics of MaxSurge and unavailability
2015-09-28 14:51:26 -07:00
nikhiljindal
153c57ffc8
Adding a DeploymentDescriber to kubectl
2015-09-28 14:21:24 -07:00
Wojciech Tyczynski
5994e1d425
Merge pull request #14658 from mwielgus/describe_fix
...
Fix terminated pod printing in kubectl describe
2015-09-28 17:00:30 +02:00
Marcin Wielgus
62da43eef2
Fix terminated pod printing in kubectl describe
2015-09-28 16:54:12 +02:00
feihujiang
e31bc89232
Fix minor bugs in kubectl command
2015-09-28 13:58:31 +08:00
Anastasis Andronidis
e8b9dde623
new kubectl explain command
2015-09-26 14:25:53 +03:00
Brian Grant
b90797d941
Merge pull request #14406 from hurf/config_message
...
Improve message from kubectl config
2015-09-25 11:01:34 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
43b37204ec
Merge pull request #14502 from deads2k/tolerate-missing-sortby
...
don't fatal on missing sorting flag
2015-09-24 14:09:42 -07:00
deads2k
dd7ed11fc1
don't fatal on missing sorting flag
2015-09-24 12:53:33 -04:00
Maciej Szulik
48775319d9
Reaper and scaler for jobs
2015-09-23 13:06:34 +02:00
hurf
c4dc056105
Improve message from kubectl config
...
1.use Fprintf instead of Printf
2.output simple success messages
3.lowercase all error messages
2015-09-23 16:10:21 +08:00
Mike Danese
2313c9ada0
move daemonset describe to experimental
2015-09-22 09:13:42 -07:00
k8s-merge-robot
8f831ec9fd
Merge pull request #14306 from mikedanese/fix
...
Auto commit by PR queue bot
2015-09-21 21:42:56 -07:00
Mike Danese
2e8c87e309
dereference pointer before printing in the describer
2015-09-21 13:55:19 -07:00
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
k8s-merge-robot
c2f76e4ce7
Merge pull request #14106 from jszczepkowski/hpa-api
...
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
k8s-merge-robot
434b768822
Merge pull request #13277 from uluyol/sv-detect-group
...
Auto commit by PR queue bot
2015-09-18 01:31:43 -07:00
Muhammed Uluyol
f855e75805
Correctly do swagger validation with experimental.
...
Before we tried both groups, first api then experimental. If
experimental failed, the error message would be discarded and the
message for api would be shown. This commit changes this behavior so
that we detect which api group we should be using and only show the
error for that group.
2015-09-17 22:54:56 -04:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
Clayton Coleman
bf2decce81
Add NotReadyAddresses to Endpoints
...
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.
This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
Jerzy Szczepkowski
7fcf7f1177
Cleanups in HorizontalPodAutoscaler API.
...
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
k8s-merge-robot
b342591032
Merge pull request #13604 from JanetKuo/kubectl-edit
...
Auto commit by PR queue bot
2015-09-17 03:00:33 -07:00
k8s-merge-robot
2e255b5fcd
Merge pull request #13977 from JanetKuo/kubectl-scale-rc-pd
...
Auto commit by PR queue bot
2015-09-17 01:52:33 -07:00
Mike Danese
77a06cbf05
Merge pull request #13183 from mikedanese/daemon_kubectl
...
Add daemonset support to kubectl
2015-09-16 19:02:36 -07:00
k8s-merge-robot
426d4a2477
Merge pull request #13945 from caesarxuchao/kube-api-prefix
...
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
feihujiang
ba38a8764b
Remove useless codes about minion
2015-09-16 14:22:53 +08:00
Janet Kuo
5a608446ba
pull "kubectl edit" from openshift upstream
2015-09-15 19:16:23 -07:00