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
Janet Kuo
5a608446ba
pull "kubectl edit" from openshift upstream
2015-09-15 19:16:23 -07:00
Jeff Lowdermilk
ebc0b02b7d
Merge pull request #13613 from eparis/rework-doc-generation
...
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
feihujiang
98689a99ec
Limit the type for kubectl expose command
2015-09-15 11:17:04 +08:00
Chao Xu
f734a6f038
register experimental/v1 in test-cmd.sh and test-integration.sh
2015-09-11 17:34:32 -07:00
Eric Paris
9cf7bb6b4f
Automatically clean up KUBE_TEMP
...
kube::util:ensure-temp-dir claims that it will automatically clean it
up. But it obviously doesn't. Since we cannot add multiple trap in bash
add a function that lets us trap and clean up KUBE_TEMP even if someone
already set a trap.
2015-09-11 18:58:49 -04:00
Daniel Martí
c054b20148
Avoid using two periods in templates
...
Since $id_field already starts with a period, .$id_field would result in the
following in Go 1.5:
error: error parsing template {{range.items}}{{..metadata.name}}:{{end}}, template: output:1: unexpected . after term "."
Apparently, Go 1.4 allowed this. Unnecessary anyway.
2015-09-10 11:44:14 -07:00
Dai Zuozhuo
2e2ef3e830
change -o template to -o go-template=...
2015-09-05 22:30:47 +08: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
Anastasis Andronidis
10747841a0
move type documentation from tags to comments
2015-08-22 03:24:35 +02:00
Saad Ali
489e75e073
Merge pull request #12202 from daizuozhuo/kubectl
...
add jsonpath to kubectl
2015-08-20 14:31:45 -07:00
Clayton Coleman
9267f829eb
Update tests to prepare for graceful deletion
...
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Dai Zuozhuo
b61a905b19
add jsonpath to kubectl
2015-08-20 08:57:24 +08:00
Saad Ali
14eadcccac
Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
...
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
feihujiang
1e10a7cc59
Kubectl scale command accepts a filename param
2015-08-13 14:26:25 +08:00
feihujiang
0110f3176b
Kubectl patch command accepts a filename param
2015-08-13 11:13:31 +08:00
feihujiang
73b694e6c1
kubectl describe <kind> work with no arguments
...
Add describe_resource_assert to test describe <kind> with no object arg
2015-08-10 14:08:38 +08:00
Eric Paris
7715290bbd
Convert hack/ from --flag_name= to --flag-name=
2015-08-07 11:00:13 -04:00
derekwaynecarr
577f2fa0a5
LimitRange documentation should be under admin
2015-08-05 10:26:52 -04:00
Mike Danese
cf4cb1a6a3
Merge pull request #10474 from kargakis/scale-multiple-controllers
...
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
kargakis
0e796ca09a
Enable scaling multiple controllers
2015-07-31 10:24:59 +02:00
Clayton Coleman
5df2188d3d
hack/test-cmd.sh can fail when ~/.kube/config exists
...
Use the KUBE_TEMP dir for HOME
2015-07-30 00:47:50 -04:00
Mike Danese
c0acfbcd4b
Merge pull request #11421 from nikhiljindal/exposeServcPort
...
Updating kubectl expose to extract ports from the service being cloned
2015-07-24 17:16:31 -07:00
nikhiljindal
242910e57c
kubectl expose should extract ports from service
2015-07-24 15:17:48 -07:00
Prashanth Balasubramanian
be0bfa97cc
Fix resource aliasing flake
2015-07-24 11:15:38 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
136d53466a
Merge pull request #10892 from nikhiljindal/beta1
...
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
nikhiljindal
496f30a92f
Introduce a new service generator that leaves service port unnamed
2015-07-16 20:40:40 -07:00
Tim Hockin
f330a43329
fix test-cmd from file moves
2015-07-14 17:59:59 -07:00
Tim Hockin
43e315d686
Fix test-cmd after file moves
2015-07-14 15:57:41 -07:00
derekwaynecarr
c8ad995462
LimitRange example improvements, detailed README
2015-07-10 11:07:54 -04:00
nikhiljindal
fc4da6844e
removing references to pre v1beta3 apis
2015-07-08 13:51:43 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Chao Xu
7f89a29aad
add "kubectl patch". It will replace "kubectl udpate --patch" in the future
2015-06-29 16:36:45 -07:00
Alex Robinson
764d34d363
Merge pull request #10468 from caesarxuchao/add-cmd-replace
...
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
Anastasis Andronidis
697e07f864
Correctly parse multiple resources from files
...
Refactored how files, directories and stdin are handled. Every file must pass
through the FileVisitor and then streamed through StreamVisitor. FileVisitor
takes care of opening/closing files and StreamVisitor is parsing multiple
resources.
2015-06-29 23:11:46 +02:00
Chao Xu
9b3d42c090
Add command "kubectl replace". "kubectl update" is still supported as an alias.
...
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Robert Bailey
91589143a3
Merge pull request #10370 from mikedanese/no-more-machines
...
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
508f7f1697
Merge pull request #10358 from caesarxuchao/add-force-update
...
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Mike Danese
1e130e0794
remove --machines from code and docs
2015-06-25 18:29:11 -07:00
Chao Xu
ef5de91fd7
add "--force" flag to "kubectl update";
...
update relevant tests
2015-06-25 17:16:20 -07:00
Daniel Smith
5eb5b4a130
Test kubectl proxy in test-cmd.sh
2015-06-24 13:54:15 -07:00
Chao Xu
59b654c996
fix tests for 22f1b07858
2015-06-22 17:10:09 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Jeff Lowdermilk
1a7d811b4a
Add a test to test-cmd.sh for update --patch
2015-06-18 12:06:46 -07:00
Daniel Smith
97ebc1aad9
improve output of kube_get_url
2015-06-09 15:26:09 -07:00
Chao Xu
5a54a0118d
fix
2015-06-04 16:35:24 -07:00