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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
0884214fe0
Merge pull request #16058 from janetkuo/revert-kubectl-slash
...
Auto commit by PR queue bot
2015-10-25 19:23:14 -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
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
ef7f65ba0a
Merge pull request #16042 from deads2k/missing-err-handling
...
fix missing error handling
2015-10-22 14:46:39 +02: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
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
071d21257f
Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
...
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
Brendan Burns
54fd60727e
add a --expose flag to kubectl run
2015-10-20 20:21:09 -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
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
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
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
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
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
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
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
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
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
Dawn Chen
6fa8ceda60
Merge pull request #14536 from wulonghui/wulonghui-patch-3
...
Update rollback process
2015-10-12 16:04:59 -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
4f38e8a745
Let kubectl exec follow dash rule
2015-10-12 01:29:07 +08: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
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -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
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
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
wulonghui
cbd10dbf36
Update rollback process
2015-10-08 10:49:09 +08: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
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04: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
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
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
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
2516086771
Merge pull request #14764 from timstclair/kubectl
...
Auto commit by PR queue bot
2015-10-01 17:10:10 -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
b7dbbdbc09
Merge pull request #14890 from timothysc/user_error
...
Fix for unit test failures on user
2015-10-01 09:36:44 +02: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
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
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07: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
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
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
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
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
Janet Kuo
5a608446ba
pull "kubectl edit" from openshift upstream
2015-09-15 19:16:23 -07:00
Mike Danese
54b0faf39a
rebase onto head
2015-09-15 18:13:28 -07:00
Chao Xu
9bef5ff99d
register experimental apis as apis/experimental/..
...
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
k8s-merge-robot
b8e938b795
Merge pull request #13184 from feihujiang/limitTypesForExposeCommand
...
Auto commit by PR queue bot
2015-09-15 01:21:19 -07:00
k8s-merge-robot
bb1af1ec49
Merge pull request #13912 from zhengguoyong/fix-cmd-apiversion
...
Auto commit by PR queue bot
2015-09-14 21:37:57 -07:00
feihujiang
98689a99ec
Limit the type for kubectl expose command
2015-09-15 11:17:04 +08:00
Jeff Lowdermilk
0898ce852d
Merge pull request #13756 from kargakis/make-external-svcs-exposable
...
expose: Avoid selector resolution if a selector is not needed
2015-09-14 16:01:55 -07:00
k8s-merge-robot
8189460809
Merge pull request #13844 from tummychow/label-deps-2
...
Auto commit by PR queue bot
2015-09-14 12:56:24 -07:00
eulerzgy
742b508d9d
fix the optimization of apiversion
2015-09-15 01:16:10 +08:00
Jeff Lowdermilk
e25ae7fdb2
Merge pull request #13833 from caesarxuchao/central-latest
...
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
tummychow
a21c52a766
Move util/validation files to their own package
2015-09-13 00:46:52 -07:00
k8s-merge-robot
916472f65d
Merge pull request #13850 from feihujiang/enhanceErrorMessageForScaleRepicasOperationRequired
...
Auto commit by PR queue bot
2015-09-12 20:19:25 -07:00
k8s-merge-robot
96df310729
Merge pull request #13783 from feihujiang/changeExposePortOperationToNoRequired
...
Auto commit by PR queue bot
2015-09-12 18:54:34 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
k8s-merge-robot
04837579ad
Merge pull request #13460 from derekwaynecarr/run_requests
...
Auto commit by PR queue bot
2015-09-11 18:19:17 -07:00
Chao Xu
ac5481d089
move client/unversioned/fake.go to its own package
2015-09-11 17:33:54 -07:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
k8s-merge-robot
cb481b4a00
Merge pull request #13837 from brendandburns/kubectl2
...
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Brendan Burns
9ba13ff361
Address comments
2015-09-11 13:55:16 -07:00
derekwaynecarr
295b8cdf16
Add requests and limits to kubectl run
2015-09-11 10:57:21 -04:00
kargakis
a49230e736
Test for exposable services
2015-09-11 15:30:17 +02:00
feihujiang
084c7fe82a
Enhance error message for scale's replicas operation
2015-09-11 16:15:13 +08:00
Brendan Burns
d9e1a00a14
Add caching for swagger schemas
2015-09-10 21:18:52 -07:00
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
feihujiang
714a042ce4
Change Expose Command's port operation to no required
2015-09-11 11:37:55 +08:00
k8s-merge-robot
865359d33d
Merge pull request #13481 from brendandburns/attach3
...
Auto commit by PR queue bot
2015-09-10 20:05:19 -07:00
k8s-merge-robot
381a723814
Merge pull request #13532 from JanetKuo/kubectl-dont-use-specific-printer
...
Auto commit by PR queue bot
2015-09-10 14:39:02 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Michal Fojtik
fb14c8cdf3
Allow to replace os.Exit() with panic when CLI command fatal error
2015-09-10 09:42:22 +02:00
kargakis
c9268e1faf
expose: Avoid selector resolution if a selector is not needed
2015-09-09 21:30:23 +02:00
Brendan Burns
682c68c2fb
Address comments, and fix some bugs in kubectl.
2015-09-09 11:48:04 -07:00
Avesh Agarwal
6d6f338fac
Adds servicesaccounts to kubectl get/describe cli help and docs.
2015-09-09 12:15:25 -04:00
Jan Chaloupka
70c74fbe4b
Commit cd7d78b696
replaced use of
...
util.CheckErr(err)
with
if err != nil {
return err
}
One replacement is incorrent. The current call of resource.NewBuilder is returned in r variable. Which was tested with util.CheckErr(r.Err()) before cd7d78b696
commit. It was replaced by
if err != nil {
return err
}
which is incorrect as err is not set by resource.NewBuilder call. The correct use is
err := r.Err()
if err != nil {
return err
}
2015-09-09 12:40:55 +02:00
Chao Xu
a6566031be
Merge pull request #13422 from feihujiang/supportSettingEnvInKubectlRun
...
Support setting env vars in kubectl run
2015-09-08 10:32:48 -07:00
feihujiang
84e94e39cd
Support setting env vars in kubectl run
2015-09-08 14:31:29 +08:00
hurf
8efc62bcce
Simplify default output of "expose" command
...
Use simple output string such as "rc nginx exposed" to show the
result. Users can still use options like "-o yaml" to view detailed
result.
IP will be printed with detailed result now.
2015-09-07 15:17:17 +08:00
Dai Zuozhuo
2e2ef3e830
change -o template to -o go-template=...
2015-09-05 22:30:47 +08:00
k8s-merge-robot
2e2def36a9
Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
...
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Quinton Hoole
be19554bae
Merge pull request #13383 from hurf/label_drun
...
Add --dry-run option for label command
2015-09-04 14:03:14 -07:00
Piotr Szczesniak
7fc1fe2dd9
Merge pull request #13444 from hurf/run_out
...
Change default output of `run` command
2015-09-04 13:43:00 +02:00
Piotr Szczesniak
57e35b794f
Merge pull request #13445 from hurf/ru_out
...
Make -o option working for rolling-update
2015-09-04 09:11:28 +02:00
Timothy St. Clair
2b7e758c3c
Fixes the experimental api, which appeared to be completely broken.
...
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Abhi Shah
0758a298db
Merge pull request #13366 from feihujiang/printValidContainersNames
...
Print valid container names when the command not specify the container
2015-09-03 16:36:27 -07:00
hurf
46e7f5684c
Add --dry-run option for label command
...
With --dry-run option, label command will print the object locally
without update it on server side.
2015-09-03 21:37:11 +08:00
hurf
65bfd3541f
Make -o option working for rolling-update
...
Use simple message to show the result. If -o is specified, print
updated rc.
2015-09-03 20:29:58 +08:00
feihujiang
0427711c42
Fixes upper case letters in kubectl examples
2015-09-03 12:00:21 +08:00
Janet Kuo
96031aaca5
Get printer from factory instead of using NewHumanReadablePrinter to retrieve handled resources
2015-09-02 15:38:40 -07:00
Abhi Shah
13784bf9ca
Merge pull request #13047 from JanetKuo/kubectl-label-bash-completion
...
Enable kubectl label resource type bash completion
2015-09-02 15:16:54 -07:00
Abhi Shah
642ebb4994
Merge pull request #13099 from JanetKuo/kubectl-expose-deprecate-create-external-load-balancer
...
Deprecated kubectl flag "create-external-load-balancer"
2015-09-02 15:16:08 -07:00
Abhi Shah
b6aac3633d
Merge pull request #13415 from JanetKuo/kubectl-rolling-bash-completion
...
Enable kubectl rolling-update rc name bash completion
2015-09-02 15:14:21 -07:00
hurf
af1d7de874
Change default output of `run` command
...
Use simple message instead of print result in `get` form.
2015-09-02 14:11:20 +08:00
feihujiang
02206bed61
Print valid container names when the command not specify the container
2015-09-02 14:06:46 +08:00
k8s-merge-robot
0a062c5b24
Merge pull request #11942 from ironcladlou/rolling-update-availability
...
Auto commit by PR queue bot
2015-09-01 16:51:13 -07:00
Daniel Smith
cfe2bf10f2
Merge pull request #13426 from feihujiang/aggregateErrorsWhenValidateParams
...
Aggregate errors when validate kubectl required parameters and labels
2015-09-01 12:26:45 -07:00
Daniel Smith
10efd9806a
Merge pull request #13227 from kargakis/fix-exposing-from-file
...
expose: Don't query the server for input objects
2015-09-01 12:23:01 -07:00
Janet Kuo
b673920ccf
Get printer from factory to retrieve handled resources
2015-09-01 10:20:51 -07:00
Janet Kuo
23740d9080
Enable kubectl label resource type bash completion
2015-09-01 10:19:51 -07:00
Dan Mace
da5e4d7bd5
Rolling updater availability enhancements
...
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
deads2k
f1b81ff678
bind filenames var instead of looking up
2015-09-01 08:35:57 -04:00
k8s-merge-robot
a4d953f4b3
Merge pull request #13131 from hurf/anno_unused
...
Auto commit by PR queue bot
2015-09-01 04:32:13 -07:00
feihujiang
da03746b22
Aggregate errors when validate kubectl required parameters
2015-09-01 14:34:31 +08:00
Janet Kuo
94b4659b7b
Enable kubectl rolling-update rc name bash completion
2015-08-31 16:37:44 -07:00
k8s-merge-robot
f1acdbe3c6
Merge pull request #13188 from hurf/label_printer
...
Auto commit by PR queue bot
2015-08-28 18:04:01 -07:00
k8s-merge-robot
4c56d4962f
Merge pull request #13179 from feihujiang/showClientVersionAtLeastWhenCouldNotReadServerVersion
...
Auto commit by PR queue bot
2015-08-28 17:32:57 -07:00
Janet Kuo
18e87724c5
Deprecated kubectl flag "create-external-load-balancer"
2015-08-28 00:54:33 -07:00
kargakis
e86bb1aeca
expose: Don't query the server for input objects
...
Signed-off-by: kargakis <mkargaki@redhat.com>
2015-08-27 15:52:22 +03:00