AdoHe
aa5c036a5c
add DESIRED and CURRENT columns to rcs,ds,rs
2016-02-23 10:11:19 -05:00
AdoHe
10feb3e6fd
change CONTROLLER, ReplicaSet and Job column titles to NAME
2016-02-16 23:14:12 -05:00
AdoHe
53d4b15b87
move columns into wide option to make result more readable
2016-02-14 03:55:00 -05: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
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
AdoHe
714d12cf72
kubectl add show-labels flag to make it more readable
2016-02-04 02:08:44 -05:00
Janet Kuo
f49aef535d
Print availableReplicas when kubectl get deployments
2016-01-28 20:11:59 -08: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
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
Brendan Burns
4123a61df7
Add the client side bits of kubectl export
2015-12-22 10:41:59 -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
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
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
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
derekwaynecarr
5e0948586c
Add kubectl create [SUBCOMMAND] pattern
2015-12-14 13:43:45 -05:00
deads2k
ec87d74ecb
update InterfacesFor to use GroupVersion
2015-12-11 13:45:41 -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
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
deads2k
f764e0099c
Update ObjectTyper to GroupVersion
2015-12-07 08:35:05 -05:00
jiangyaoguo
7153ff80ff
print absolute time when watch event
2015-12-05 13:52:53 +08: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
c40dd0335a
make DefaultRESTMapper methods type correct
2015-11-24 14:17:37 -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
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
kargakis
4fdb6d1331
logs: Use resource builder
2015-11-05 14:54:55 +01: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
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
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
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
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
Brendan Burns
9ba13ff361
Address comments
2015-09-11 13:55:16 -07:00
kargakis
a49230e736
Test for exposable services
2015-09-11 15:30:17 +02:00
Brendan Burns
d9e1a00a14
Add caching for swagger schemas
2015-09-10 21:18:52 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Janet Kuo
b673920ccf
Get printer from factory to retrieve handled resources
2015-09-01 10:20:51 -07:00
Janet Kuo
5823ef771b
Make --validate default on and shows how to turn if off
2015-08-25 03:18:32 -07:00
Janet Kuo
44a7a52a94
Hide failed/succeeded pods in 'kubectl get pods' by default
2015-08-18 13:47:19 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Brendan Burns
79fb674679
Fix the service printer to be a single line per service
2015-08-10 10:57:45 -07:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
hurf
e450c3b771
Add age column for all resources when using kubect get
...
Dispaly human readable creation time like age column do in `kubectl
get po` for all resources.
2015-08-07 21:18:30 +08:00