Chao Xu
8a4dffdcee
fix
2015-06-04 17:19:41 -07:00
Chao Xu
5a54a0118d
fix
2015-06-04 16:35:24 -07:00
Quinton Hoole
fc80fd6860
Merge pull request #9233 from lavalamp/no-ro-nonbreaking
...
Allow kubectl proxy to proxy everything
2015-06-04 16:22:07 -07:00
Chao Xu
1605fc7347
fix unit tests
2015-06-04 15:09:47 -07:00
James DeFelice
4b8995f009
parse apiserver prefix from client config host spec, with unit test
2015-06-04 20:20:19 +00:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
Chao Xu
080da97e1c
fix a comment
2015-06-04 10:35:10 -07:00
Brian Grant
656fa7bea1
Merge pull request #9225 from caesarxuchao/add-v1-tests-general
...
Add v1 tests
2015-06-03 22:18:21 -07:00
Brian Grant
c92b4255b3
Merge pull request #9217 from caesarxuchao/add-v1-tests-to-pkg/kubectl/cmd
...
add v1 tests to kubectl/cmd/*
2015-06-03 22:16:44 -07:00
Brian Grant
e7788771d6
Merge pull request #9030 from brendandburns/kubectl
...
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Chao Xu
ca72165b20
remove most references to api.PreV1Beta3
2015-06-03 20:09:03 -07:00
Daniel Smith
1bab36f772
Fix 'kubectl proxy' to allow the /metrics page to be proxied, without breaking the previous proxy behavior
2015-06-03 18:31:45 -07:00
Chao Xu
6b81c064ed
change v1beta3 to v1 in test cases
2015-06-03 17:50:22 -07:00
Chao Xu
8885025d25
add v1 tests to tests in kubectl/cmd/*
2015-06-03 13:57:54 -07:00
Daniel Smith
67f53d2eff
Make kubectl work inside a container in k8s
2015-06-03 12:48:07 -07:00
Brendan Burns
ab0c9b8e1e
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
2015-06-03 11:21:30 -07:00
Brian Grant
785740a0f8
Merge pull request #9164 from brendandburns/fix
...
Fix a bug in kubectl exec handling.
2015-06-02 20:24:55 -07:00
Brendan Burns
911e3e9594
Fix a bug in kubectl exec handling.
2015-06-02 19:45:51 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Brian Grant
6508c04f24
Merge pull request #9112 from kargakis/expose-nits
...
expose: Better error formatting and generic flag message
2015-06-02 13:10:52 -07:00
kargakis
0fba4820f5
expose: Better error formatting and generic flag message
...
Re error formatting:
$ osc expose svc frontend --port=5432 --generator='service/v2' --name=test
Before:
error: generator %!!(MISSING)q(<nil>) not found.
see 'osc expose -h' for help.
Now:
error: generator "services/v2" not found.
see 'openshift cli expose -h' for help.
2015-06-02 13:06:21 +02:00
Clayton Coleman
ce3a6a666d
Show terminating pods in get/describe
2015-06-01 19:24:01 -04:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
derekwaynecarr
b69f1ff5bd
Name is a required parameter for kubectl run, default-name is not
2015-06-01 14:05:05 -04:00
Eric Tune
1f526a5f89
Merge pull request #9027 from jlowdermilk/kubectl-deprecate-minion
...
Stop supporting the minion alias for nodes in kubectl
2015-06-01 10:26:51 -07:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Rohit Jnagal
99c9c54c05
Merge pull request #8983 from jlowdermilk/update-patch
...
Disable --patch for kubectl update
2015-05-29 16:30:16 -07:00
Jeff Lowdermilk
0c44be833d
Stop supporting the minion alias for nodes in kubectl
2015-05-29 15:40:47 -07:00
Rohit Jnagal
233ce46b83
Merge pull request #8923 from caesarxuchao/TerminationToTerminated
...
Update ContainerState.Termination to ContainerState.Terminated
2015-05-29 14:51:09 -07:00
Rohit Jnagal
11268baa92
Merge pull request #8804 from kargakis/expose-default-name-param
...
expose: Use separate parameters for default and custom name
2015-05-29 11:21:09 -07:00
Jeff Lowdermilk
90a5b8c845
Disable --patch for kubectl update
2015-05-29 09:31:49 -07:00
Anastasis Andronidis
9cb0eaf01a
Fixed get's help message
2015-05-29 11:31:16 +02:00
Chao Xu
2f6e5e2e08
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
2015-05-28 17:18:24 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
d355154181
Merge pull request #8556 from kargakis/label-parsing-fix
...
label: Invalidate empty or invalid value labels
2015-05-28 15:54:14 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
0dab399b6a
Merge pull request #8948 from jlowdermilk/proxy-help
...
update/fix kubectl proxy example in help string
2015-05-28 15:29:11 -07:00
Tim Hockin
32859c3954
Merge pull request #8778 from kargakis/show-pod-number
...
Show pods number when describing services
2015-05-28 14:59:02 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Jeff Lowdermilk
75314718eb
update/fix kubectl proxy example in help string
2015-05-28 13:59:39 -07:00
BC Broussard
581f4613c8
Fix NodePort in kubectl describe service
2015-05-28 12:09:31 -07:00
kargakis
93669a6bb5
Show pods number when describing services
2015-05-28 11:24:47 +02:00
kargakis
6c85040cef
expose: Use separate parameters for default and custom name
2015-05-28 11:03:16 +02:00
kargakis
fb63ab63bb
label: Invalidate empty or invalid value labels
2015-05-28 10:47:36 +02:00
Tim Hockin
eab1ceccd4
Merge pull request #8628 from jlowdermilk/delete-not-found
...
Delete fails on notfound errors.
2015-05-27 16:26:41 -07:00
Tim Hockin
ffabf17ed4
Merge pull request #8604 from brendandburns/kubectl
...
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 16:23:59 -07:00
Jeff Lowdermilk
3cf4d9b2e6
Delete fails on notfound errors.
...
If deleting multiple resources, command will continue on error and
report not found resources at the end.
2015-05-27 16:02:54 -07:00
Brendan Burns
2ec4b409e1
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 15:47:32 -07:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Anastasis Andronidis
d4a47bdb9e
rename run-container to run in kubectl
2015-05-27 19:07:17 +02:00
Anastasis Andronidis
5eae2378d6
Warn for every _ flag user or cmd defined
...
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Saad Ali
ee82d469c6
Merge pull request #8679 from jlowdermilk/rolling-update-stdin
...
Make rolling-update actually parse filenames from stdin
2015-05-26 18:55:12 -07:00
Cesar Wong
cb872e9243
Rename 'kubectl log' to 'kubectl logs'
2015-05-26 08:28:16 -04:00
Wojciech Tyczynski
ff8c772fe0
Increase timeout for deleting RC in e2e tests.
2015-05-25 11:51:11 +02:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Dawn Chen
cc6a31354e
Merge pull request #8169 from kargakis/expose-use-resource-builder
...
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Dawn Chen
8a14296145
Merge pull request #7024 from kazegusuri/all_namespace
...
Allow kubectl to handle all namespace
2015-05-22 10:15:30 -07:00
Clayton Coleman
3f66321e13
Merge pull request #8618 from kargakis/resize-enable-slash-syntax
...
resize: Enable resource type/name syntax
2015-05-22 13:05:25 -04:00
Clayton Coleman
dcbe815825
Merge pull request #8671 from kargakis/bump-timeout-back
...
bump timeout back to previous time
2015-05-22 12:57:55 -04:00
Jeff Lowdermilk
e1936d57f8
Make rolling-update actually parse filenames from stdin
2015-05-22 09:44:00 -07:00
kargakis
d2d1e5bf48
bump timeout back to previous time
2015-05-22 17:05:24 +02:00
Masahiro Sano
c2514a7524
print namespace with name in single column if withNamespace specified
2015-05-22 23:25:12 +09:00
Masahiro Sano
8ce64ec69e
add --all-namespaces flag to request across all namespaces
2015-05-22 23:25:12 +09:00
markturansky
bcd3c5a80f
fixed PV describe
2015-05-22 08:40:43 -04:00
Chao Xu
bda5e4376e
in docs, update "minions" to "nodes"
2015-05-21 09:59:40 -07:00
Dawn Chen
fdb44a9ad2
Merge pull request #8602 from caesarxuchao/rC-to-rc
...
in docs, update replicationController to replicationcontroller
2015-05-21 09:49:35 -07:00
Dawn Chen
8fe43514ea
Merge pull request #8591 from GoogleCloudPlatform/revert-8564-revert-8404-messageEmptyKind
...
Revert "Revert "Enhance error message from kubectl when 'kind' is emp…
2015-05-21 09:47:34 -07:00
Dawn Chen
49bf1ec0a1
Merge pull request #8573 from deads2k/fix-check-err
...
tolerate fatals without newlines
2015-05-21 09:34:58 -07:00
kargakis
6424a2bc63
resize: Enable resource type/name syntax
...
Also don't allow more than one objects in commands it makes sense
2015-05-21 17:39:01 +02:00
Chao Xu
5b8b5a0844
in docs, update replicationController to replicationcontroller
2015-05-20 17:31:15 -07:00
kargakis
30958f892d
expose: Use resource builder
...
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
Clayton Coleman
0a28e50511
Revert "Revert "Enhance error message from kubectl when 'kind' is empty""
2015-05-20 17:32:23 -04:00
kargakis
99655b342f
Reduce reaper poll interval and wait while resizing
...
When reaping a replication controller that handles an arbitrary amount of replicas, missing an interval means that `kubectl stop|delete` have to wait 3 more seconds to finish which seems more expensive from a user pov than a GET per 100ms.
Also I think `kubectl resize` should wait for all replicas to spin up before exiting. Feels more safe to know that your replication controller status is up to date.
2015-05-20 20:49:29 +02:00
deads2k
cd817aebd8
tolerate fatals without newlines
2015-05-20 13:15:49 -04:00
Clayton Coleman
633c56f8c0
Revert "Enhance error message from kubectl when 'kind' is empty"
2015-05-20 10:32:56 -04:00
feihujiang
6c8a1cdb17
Enhance error message from kubectl when 'kind' is empty
...
Enhance error message from kubectl when 'kind' is empty
Enhance error message
2015-05-20 15:23:47 +08:00
Nikhil Jindal
fadc76422a
Merge pull request #8437 from caesarxuchao/kubectl_run-container-doc
...
update the docs for kubectl-run-container to v1beta3
2015-05-18 16:41:14 -07:00
Chao Xu
013130f150
update the docs for kubectl-run-container to v1beta3
2015-05-18 13:29:24 -07:00
Prashanth Balasubramanian
4200033c0a
Add a simple master benchmark and a wrapper to run it.
2015-05-15 17:30:17 -07:00
Prashanth B
6144b49139
Merge pull request #8336 from brendandburns/kubectl
...
Add a test for status message generation.
2015-05-15 17:06:21 -07:00
Jeff Lowdermilk
46bd6f298a
Merge pull request #8237 from smarterclayton/continue_on_error
...
Make ContinueOnError actually work
2015-05-15 12:57:29 -07:00
Brendan Burns
a197b24fb7
Add a test for status message generation. Fix a bug in reason message handling.
2015-05-15 20:45:16 +01:00
Jeff Lowdermilk
a5bc6bdaf3
Merge pull request #8166 from kargakis/labels-for-object
...
expose: Re-use labels in case none was specified
2015-05-15 11:35:52 -07:00
Clayton Coleman
a47716e66d
Make ContinueOnError actually work
...
In resource.Builder ContinueOnError() should actually do so.
Reorganized util.CheckErr() to make it display bulk errors more
effectively and be more reusable. Clarified that CheckErr is not
specific to kubectl in Godoc. Changed the "Error: " prefix to
"error: " to more closely match Unix conventions.
2015-05-15 14:26:14 -04:00
kargakis
ac652d16e6
expose: Re-use labels in case none was specified
2015-05-15 11:54:41 +02:00
Victor Marmol
75c9228ea2
Merge pull request #8249 from kargakis/stop-fix
...
stop: Check for error when resizing rcs
2015-05-14 12:56:14 -07:00
kargakis
1c5309cc16
stop: Check for error when resizing rcs
2015-05-14 16:49:43 +02:00
Clayton Coleman
aec4196741
Merge pull request #8173 from brendandburns/kubectl
...
Fix a bug where IgnoreErrors was inverted.
2015-05-14 10:18:12 -04:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
Brendan Burns
ea3852ec69
Fix a bug where IgnoreErrors was inverted.
...
Also make an error message a little more verbose.
2015-05-13 16:26:01 +01:00
Nikhil Jindal
c2fecff3d5
Merge pull request #8067 from piosz/kubectl
...
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Derek Carr
c1158fa696
Merge pull request #7969 from smarterclayton/rest_fixes
...
Fixes to apiserver for subresources and naming
2015-05-12 10:57:34 -04:00
Derek Carr
a11819e4a6
Merge pull request #8057 from kargakis/rework-resize
...
resize: Use Resize method
2015-05-12 10:17:31 -04:00
Piotr Szczesniak
962f10ee58
Merge pull request #7771 from piosz/load_generator
...
Implemented first version of load test
2015-05-12 09:24:19 +02:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Jeff Lowdermilk
ac87ed6516
Merge pull request #8064 from deads2k/death-to-auth-path
...
eliminate auth-path
2015-05-11 15:41:41 -07:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Clayton Coleman
964bc8afda
Verify namespace is not set on root objects
2015-05-11 15:51:04 -04:00
kargakis
69a96f3ea1
resize: Use Resize method
2015-05-11 21:12:49 +02:00
Piotr Szczesniak
12e44ff8a9
Added label kubernetes.io/name to cluster services
...
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Nikhil Jindal
2cc8696425
Merge pull request #7919 from brendandburns/kubectl
...
Fix validation by moving it into the resource builder.
2015-05-11 10:20:14 -07:00
Dawn Chen
ecaf0874b2
Introduce --previous option to kubectl log
2015-05-11 10:14:22 -07:00
Nikhil Jindal
9c0fdc7afd
Merge pull request #8039 from nak3/delete-status
...
Delete status from displayable resources
2015-05-11 10:11:42 -07:00
Eric Paris
630aed6db1
Merge pull request #8016 from nak3/delete-empty-first-column-lines
...
Use template to get first column in __kubectl_parse_get()
2015-05-11 10:01:13 -05:00
Piotr Szczesniak
aa116e2033
Implemented first version of load test
...
As for now it creates a bunch of Replication Controllers and play with them
Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k
19784dbc4f
remove auth-path from kubeconfig
2015-05-11 10:40:23 -04:00
Clayton Coleman
2e3c40b5c2
Merge pull request #7774 from kargakis/load-object-for-more-safety
...
expose: Load input object for increased safety
2015-05-11 10:16:20 -04:00
Kenjiro Nakayama
c13f457885
Use template to get first column in __kubectl_parse_get()
2015-05-10 23:32:24 +09:00
Kenjiro Nakayama
5a0acecc54
Delete status from displayable resources
2015-05-10 19:28:02 +09:00
Shawn Smith
555ff0d1bc
Use Fprintf
2015-05-10 13:14:05 +09:00
Brendan Burns
7f11585972
Fix validation by moving it into the resource builder.
...
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00
deads2k
6498fc1fda
remove cmd respect for auth-path
2015-05-08 16:33:33 -04:00
Eric Paris
d28660ae49
Remove useless bash conditional
...
bash just returns the last return code, why are we testing and then
doing the same?
2015-05-08 12:22:07 -04:00
kargakis
93dc839b19
Load input object for increased safety
2015-05-08 03:17:54 +02:00
Abhi Shah
7b1e9adb47
Merge pull request #7620 from brendandburns/fix
...
Support recovery from in the middle of a rename.
2015-05-07 16:04:26 -07:00
Cesar Wong
d954c31b22
Update Exec and Portforward client to use pod subresource
2015-05-07 14:25:14 -04:00
Brendan Burns
63cbc715dd
Support recovery from in the middle of a rename.
2015-05-07 10:39:15 -07:00
Brendan Burns
c9e33e197d
Add support for --rollback.
2015-05-06 10:21:35 -07:00
Jeff Lowdermilk
c1ae69da14
Merge pull request #7705 from bprashanth/rollingupdate_2
...
Reliable updates in rollingupdate
2015-05-05 09:23:25 -07:00
kargakis
c9e79a3c28
Setup generators in factory
2015-05-05 12:00:13 +02:00
Prashanth Balasubramanian
faa65cbd20
More reliable updates in rollingupdate
2015-05-04 15:29:30 -07:00
Robert Bailey
93a781ff66
Merge pull request #7722 from eparis/minor-bash-fixes
...
Minor bash update found by shellcheck.net
2015-05-04 13:03:26 -07:00
Victor Marmol
90de73ac7a
Merge pull request #7536 from rjnagal/node
...
Add --hostport to run-container.
2015-05-04 12:55:12 -07:00
Clayton Coleman
dd8184247e
Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
...
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Clayton Coleman
82b939760e
Merge pull request #7699 from kargakis/make-expose-generic
...
expose: Create objects in a generic way
2015-05-04 15:01:37 -04:00
Eric Paris
87613eee87
Minor bash update found by shellcheck.net
2015-05-04 14:52:50 -04:00
Wojciech Tyczynski
72f9e940a8
Merge pull request #7694 from nak3/bash-comp-add-label
...
Add kubectl_label to custom functions in bash completion
2015-05-04 15:11:41 +02:00
kargakis
fa42901798
expose: Create objects in a generic way
2015-05-04 14:21:24 +02:00
Kenjiro Nakayama
c3485ca85c
Add kubectl_label to custom functions of bash completion
2015-05-04 20:57:56 +09:00
Wojciech Tyczynski
a020e054d8
Merge pull request #7662 from jlowdermilk/services-printer
...
Change IP to IP(S) in service columns for kubectl get
2015-05-04 13:35:09 +02:00
Filip Grzadkowski
be2b2466f3
Merge pull request #7076 from eparis/bash-5-kubectl-required-flags
...
annotate required flags for bash_completions
2015-05-04 13:26:11 +02:00
markturansky
2f5907b504
Fixed nil pointer issue in describe when volume is unbound
2015-05-02 06:49:19 -04:00
Jeff Lowdermilk
cd9e7fbc4f
Change IP to IP(S) in service columns for kubectl get
2015-05-01 16:47:21 -07:00
Rohit Jnagal
9cbfb0c3f9
Add --hostport to run-container.
...
This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
2015-05-01 23:45:03 +00:00
Chao Xu
4787c66214
Register the API versions to the DefaultRESTMapper in the order of preferred versions first.
...
This makes kubectl sends requests to URLs in the format defined by the latest API version.
2015-05-01 15:14:15 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Clayton Coleman
1a8845af61
Merge pull request #7490 from smarterclayton/alter_list
...
Do not automatically decode runtime.RawExtension
2015-05-01 16:48:26 -04:00
Jeff Lowdermilk
ec9942e995
Merge pull request #7540 from bprashanth/rollingupdate
...
Fix rolling update --image
2015-05-01 10:07:46 -07:00
Clayton Coleman
aa810e4e88
Merge pull request #7467 from brendandburns/qps
...
Augment describe to search for matching things if it doesn't match the original resource.
2015-04-30 20:17:34 -04:00
Prashanth Balasubramanian
c8ea0c27e9
Fix rollingupdate --image
2015-04-30 11:28:18 -07:00
Clayton Coleman
d03b5299f9
Merge pull request #7432 from piosz/termination_notice
...
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
2015-04-30 13:55:51 -04:00
Victor Marmol
5bd2e6d37f
Merge pull request #7552 from rjnagal/kubectl
...
Fix typo in 'kubectl expose' examples.
2015-04-30 09:19:37 -07:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Piotr Szczesniak
cfc73878b9
Added displaying external IPs to kubectl cluster-info
...
Fixes #7521
2015-04-30 10:47:58 +02:00
Rohit Jnagal
0a8b136ee6
Fix typo in 'kubectl expose' examples.
2015-04-30 06:02:16 +00:00
Brendan Burns
83cbd0cf4c
Add recovery for anonymous rollouts.
2015-04-29 16:53:30 -07:00
Brendan Burns
3a8a98c319
Augment describe to search for matching things if it doesn't match the original resource
2015-04-29 16:47:10 -07:00
Jeff Lowdermilk
9fd8cbae64
Merge pull request #7510 from eparis/cobra-rebase
...
Cobra rebase
2015-04-29 15:08:41 -07:00
Clayton Coleman
12ba4e2452
Do not automatically decode runtime.RawExtension
...
Make clients opt in to decoding objects that are stored
in the generic api.List object by invoking runtime.DecodeList()
with a set of schemes. Makes it easier to handle unknown
schema objects because decoding is in the control of the code.
Add runtime.Unstructured, which is a simple in memory
representation of an external object.
2015-04-29 12:53:07 -04:00
Daniel Smith
4d2f7a38c2
Merge pull request #6866 from bprashanth/rc_watch_pods
...
RcManager watches pods and RCs instead of polling every 10s
2015-04-29 09:10:55 -07:00
Eric Paris
a17a26643b
Update kube to support new pflag/cobra
2015-04-29 11:26:30 -04:00
Paul Morie
8fa21ebd62
Merge pull request #7419 from liggitt/secrets_etcd
...
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-29 09:59:22 -04:00
Piotr Szczesniak
9272fe2aea
Updated kubectl cluster-info to show v1beta3 addresses
...
Fixes #7016
2015-04-29 10:54:36 +02:00
Brendan Burns
e1256c0802
Make delete actually stop resources by default.
...
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Prashanth Balasubramanian
7592dabeba
RcManager uses informers
2015-04-28 13:45:15 -07:00
Jordan Liggitt
ac67fff1cf
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-28 15:00:20 -04:00
Alex Robinson
4c0c04f247
Merge pull request #7424 from thockin/print-named-endpt-ports
...
Print named ports in 'describe service'
2015-04-28 10:07:38 -07:00
Jeff Lowdermilk
4045dedc99
Merge pull request #7279 from brendandburns/update
...
Further implementation of rolling-update, add rename
2015-04-28 09:31:28 -07:00
kargakis
e6ee32a6c6
Fix getting services in expose cmd
2015-04-28 14:45:05 +03:00
Tim Hockin
eea949b3a3
Print named ports in 'describe service'
...
Also in 'describe service'. This got missed in all the multiport work.
2015-04-27 22:17:51 -07:00
Brendan Burns
591d98b6b2
Add replication controller renaming as a cleanup option.
2015-04-27 20:38:20 -07:00
Tim Hockin
6694eff020
Use pflags word separators to make - and _ equiv.
2015-04-27 15:10:52 -07:00
Brendan Burns
f40c793b37
Address a couple of TODO's in the recent rolling update change.
2015-04-24 16:47:37 -07:00
Brian Grant
7330ced1fe
Merge pull request #7268 from brendandburns/qps
...
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 16:11:07 -07:00
Brendan Burns
217e6ff0d0
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 15:19:00 -07:00
Clayton Coleman
9d0042e760
Merge pull request #7238 from csrwng/use_log_subresource
...
Switch kubelet log command to use pod log subresource
2015-04-24 15:16:50 -04:00
Cesar Wong
556faa4590
Switch kubelet log command to use pod log subresource
2015-04-24 14:04:51 -04:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Brian Grant
24cad22a88
Merge pull request #6674 from kargakis/error-on-invalid-label-spec
...
Tighten label parsing
2015-04-23 16:41:52 -07:00
David Oppenheimer
e8b28c59c6
Merge pull request #7228 from jlowdermilk/describe-examples
...
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
Brian Grant
38ea531487
Merge pull request #7194 from nikhiljindal/example
...
Updating the guestbook example to v1beta3
2015-04-23 15:26:47 -07:00
Jeff Lowdermilk
a8e2f6e9c8
Add examples for kubectl describe, and make gendocs less spammy
...
Makes hack/{run/verify}-gendocs.sh ignore generated-timestamp-only
changes so minor changes to kubectl don't have to touch the entire
set of md docs.
2015-04-23 14:53:10 -07:00
Satnam Singh
bb478a9e21
Merge pull request #7007 from jlowdermilk/kubeconfig-verbose
...
Add a --short flag to kubectl config view
2015-04-23 14:51:13 -07:00
nikhiljindal
1e323d77bc
Updating the guestbook example to v1beta3
2015-04-23 14:34:36 -07:00
Robert Bailey
c303c055d1
Merge pull request #7225 from relaxdiego/master
...
Add .yml to the list of recognized file extensions
2015-04-23 09:36:33 -07:00
Jeff Lowdermilk
fa6ce7b7bf
Add a --raw flag to kubectl config view
...
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07:00
Mark Maglana
4927d70dd0
Add .yml to the list of recognized file extensions
2015-04-23 08:57:45 -07:00
Clayton Coleman
e6e034af4f
Rename PodTemplate.Spec to PodTemplate.Template
2015-04-22 12:54:27 -04:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Victor Marmol
1a41ec9c86
Merge pull request #7116 from yujuhong/container_status
...
Print container statuses in `kubectl get pods`
2015-04-22 09:18:14 -07:00
Brian Grant
15c2986a07
Merge pull request #7067 from ravigadde/master
...
Added field selector for listing pods
2015-04-22 07:12:21 -07:00
Yu-Ju Hong
06125f37d3
Print container statuses in `kubectl get pods`
...
`kubectl get pod` already prints one container per line. This change fills in
the status for each container listed. This aims to help users quickly identify
unhealthy pods (e.g. in a crash loop) at a glance.
- The first row of every pod would display the pod information and status
- Each row of the subsequent rows corresponds to a container in that pod:
* STATUS refers to the container status (Running, Waiting, Terminated).
* CREATED refers to the elapsed time since the last start time of the
container.
* MESSAGE is a string which explains the last termination reason, and/or
the reason behind the waiting status.
2015-04-21 15:42:18 -07:00
Brian Grant
7d3c15dd4d
Merge pull request #6996 from ironcladlou/rolling-updater-cleanup-policy
...
Add cleanup policy to RollingUpdater
2015-04-21 13:47:12 -07:00
Dan Mace
093b7c2e25
Add cleanup policy to RollingUpdater
...
* Support configurable cleanup policies in RollingUpdater. Downstream
library consumers don't necessarily have the same rules for post
deployment cleanup; making the behavior policy driven is more flexible.
* Refactor RollingUpdater to accept a config object during Update instead
of a long argument list.
* Add test coverage for cleanup policy.
2015-04-21 10:51:38 -04:00
Ravi Gadde
bf8f258471
Added field selector for listing pods.
2015-04-21 06:33:28 -07:00
derekwaynecarr
7638107f8b
Make describeEvents DescribeEvents
2015-04-21 00:24:12 -04:00
Brian Grant
9dcf3e0a33
Merge pull request #7082 from fabioy/api-cs.fix
...
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Daniel Smith
462534ca5d
Merge pull request #7068 from krousey/api_pod_pointer
...
Changing a few more instances of api.Pod to *api.Pod
2015-04-20 17:09:28 -07:00
Clayton Coleman
1bc4912f51
Merge pull request #7030 from liggitt/skip_fetch_delete
...
Skip fetching from server when deleting a named resource
2015-04-20 19:38:10 -04:00
Eric Paris
0620940d26
annotate required flags for bash_completions
...
some commands require that certain flags be set in order to function.
Annotate those flags so the bash completions will suggest to the user
that they be set.
2015-04-20 18:33:00 -04:00
Kris Rousey
594f514843
Changing a few remaining instances of passing pods around by value. I
...
avoided changing api.PodList.Items to []*api.Pod.
2015-04-20 15:26:45 -07:00
Brendan Burns
d7b0b4a95b
Merge pull request #6834 from eparis/bash-4-kubectl-describe
...
Annotate kubectl describe with describable object for bash completions
2015-04-20 14:13:53 -07:00
Jordan Liggitt
feb8ba9c4e
Allow resource builder to avoid fetching objects
2015-04-20 15:00:52 -04:00
Clayton Coleman
545a5a865f
List output with differing types should be more resilient
...
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.
Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Brendan Burns
e079e23e47
Merge pull request #6597 from fabioy/kubectl-validate
...
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Brendan Burns
29875191ad
Merge pull request #7000 from deads2k/deads-allow-many-modifications
...
allow multiple changes in kubeconfig modifyconfig
2015-04-20 10:46:12 -07:00
Avesh Agarwal
a2ac72c4e7
This commit fixes "kubectl get nodes" output and makes it more sane, and also adds new unit test cases for SchedulingDisabled.
2015-04-20 00:12:18 -04:00
deads2k
d24b672aa0
allow multiple changes in kubeconfig modifyconfig
2015-04-17 16:02:36 -04:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -07:00
Clayton Coleman
4b85c0866a
Don't insert duplicate arguments in SplitResourceArgs
2015-04-17 11:36:25 -04:00
Clayton Coleman
4833578a57
Merge pull request #6958 from smarterclayton/args_remain_in_order
...
`kubectl get rc,pods` should invoke in that order
2015-04-17 11:30:09 -04:00
Clayton Coleman
3bc42f1635
Merge pull request #6573 from kargakis/setup-resource-aliases
...
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis
9d056c6bd8
Support setting up aliases for groups of resources
...
Closes #5278
2015-04-17 16:31:59 +02:00
Clayton Coleman
2c11835612
`kubectl get rc,pods` should invoke in that order
...
SplitResourceArguments should not use a golang map
2015-04-17 00:57:02 -04:00
Jeff Lowdermilk
97e4549170
Merge pull request #6680 from deads2k/deads-change-kubeconfig-chain
...
change kubeconfig loading chain
2015-04-16 13:57:31 -07:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
deads2k
de4be5422c
change kubeconfig loading order
2015-04-16 13:05:09 -04:00
Dan Mace
bd7b719944
Make default impls private
2015-04-15 16:50:08 -04:00
Dan Mace
312ccad3c1
Use narrowly scoped interfaces for client access
...
Use custom narrowly scoped interfaces for client access from the
RollingUpdater and Resizer. This allows for more flexible downstream
integration and unit testing without imposing a burden to implement
the entire client.Interface for just a handful of methods.
2015-04-15 14:28:59 -04:00
Eric Paris
f272e836e0
Annotate kubectl describe with describable object for bash completions
2015-04-14 18:51:18 -04:00
Eric Paris
de3864a1c2
bash_completions: Generic function for --filename arguments
...
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00
Jeff Lowdermilk
037407f49e
Merge pull request #6791 from eparis/bash-2-kubectl-get-resources
...
bash_completions: annotate kubectl get with resources
2015-04-14 15:02:34 -07:00
Jeff Lowdermilk
4f552053f1
Merge pull request #6789 from eparis/bash-custom-functions
...
Add bash completion custom functions
2015-04-14 11:54:22 -07:00
deads2k
bac5cbbe82
add flattening and minifying options to config view
2015-04-14 10:23:10 -04:00
Eric Paris
c75ecbd8e3
bash_completions: annotate kubectl get with resources which can be 'gotten'
...
A user types:
kubectl get $resource
This will cause the bash completions to suggest the possible objects the
user can ask for. The complete list right now is:
endpoints
event
limitrange
namespace
node
persistentvolume
persistentvolumeclaim
pod
replicationcontroller
resourcequota
secret
service
status
But this list should stay up2date as api objects are added or deleted
2015-04-13 19:11:26 -04:00
Fabio Yeon
e99141de0d
Merge pull request #6729 from smarterclayton/chaosclient
...
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Dawn Chen
fb25f9e12c
Merge pull request #6768 from deads2k/deads-allow-flag-elimination
...
allow selective removal of kubeconfig override flags
2015-04-13 16:00:23 -07:00
Eric Paris
f6878aed3c
Add bash completion custom functions
...
These functions call out to kubectl to get information about running
resources. They give us completions which are kubernetes aware and thus
obviously better than just cobra subcommands and flags.
2015-04-13 18:49:28 -04:00
Clayton Coleman
ca335d7be9
Add support for chaos to Kubelet and hack/local-up-cluster.sh
2015-04-13 18:21:20 -04:00
deads2k
e7baa94404
allow selective removal of kubeconfig override flags
2015-04-13 13:14:23 -04:00
kargakis
ae960552c8
Remove deprecated call to ResourceFromArgs
...
Continuing from #6571
2015-04-11 08:14:25 +02:00
Dawn Chen
cf357dfa21
Merge pull request #6701 from dchen1107/podstatus
...
Fix a small regression on api server proxy after switch to v1beta3.
2015-04-10 14:22:54 -07:00
Dawn Chen
c1e13b3431
Fix a small regression on api server proxy after switch to v1beta3.
2015-04-10 13:42:46 -07:00
Daniel Smith
f591873af7
Add DeepCopy! Also-- optimize conversion for []byte
2015-04-10 13:26:46 -07:00
kargakis
c0ab76f539
Tighten label parsing
2015-04-10 11:36:49 +02:00
Jeff Lowdermilk
96076eb129
Merge pull request #6585 from deads2k/deads-config-takes-factory
...
make kubectl config behave more expectedly
2015-04-09 14:54:55 -07:00
Clayton Coleman
92a68ad7bf
The versioned printer should be initialized with the mapping apiversion
...
VersionedPrinter handles fallback when multiple different APIVersions
are present if multiple arguments are passed (for instance, both Kube
resources at v1beta3 and a third party's API objects which are only
at v1). The cmd PrinterForMapping should always include the current
object's "mapping version" as a fallback in the event the preferred
API version does not map to the actual object.
2015-04-09 15:45:06 -04:00
deads2k
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
Vish Kannan
2215a64567
Merge pull request #6571 from kargakis/describe-fix
...
describe: Support resource type/name syntax
2015-04-09 10:54:24 -07:00
Jeff Lowdermilk
ca6f1a1bc7
Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
...
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
nikhiljindal
08d9e244f7
Removing some references to v1beta1 from test code
2015-04-08 17:28:06 -07:00
nikhiljindal
fe60be3179
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 13:08:13 -07:00
kargakis
a8987b661a
describe: Support resource type/name syntax
...
This makes `kubectl describe` resource syntax consistent with `kubectl delete`
2015-04-08 16:03:22 +02:00
gmarek
72182735b9
Remove Node Controllers ability to pull status from Kubelet
2015-04-08 09:44:42 +02:00
Clayton Coleman
bb137f0bba
Merge pull request #6534 from deads2k/deads-kubeconfig-cmd-factory
...
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 17:02:20 -04:00
Clayton Coleman
51db3bd654
Create a new testclient package that can be backed by disk files
...
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
Clayton Coleman
31b7f75c60
Merge pull request #6516 from ncdc/fix-exec-portforward-proxy-resource
...
Fix exec/portforward minions->nodes
2015-04-07 11:47:46 -04:00
Brian Grant
530fe89726
Merge pull request #6411 from gmarek/schedulable
...
Remove Schedulable Condition. Only Unschedulable bit from Spec will be used.
2015-04-07 08:38:30 -07:00
gmarek
ef56dca6b6
Remove ConditionSchedulable
2015-04-07 17:01:07 +02:00
Andy Goldstein
1c92133b77
Fix exec/portforward minions->nodes
...
Exec and port forward weren't working with v1beta3 because they were
proxying minions. Change minions to nodes. This appears to work with
v1beta1 and v1beta2 as well.
2015-04-07 09:48:46 -04:00
Young
ad3712d07c
RunCreate don't need the cmd arg any more
2015-04-07 21:39:48 +08:00
deads2k
06c9dbd32f
add example for default view serialization
2015-04-07 08:07:24 -04:00
deads2k
5c4b6583e4
fix kubectl config view to respect serialization formats
2015-04-07 08:07:24 -04:00
Daniel Smith
44bc29631e
compute query parameter names in the client.
2015-04-06 16:54:26 -07:00
Rohit Jnagal
dbbfac3b54
Merge pull request #6479 from TamerTas/refactor
...
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 13:43:44 -07:00
Tamer Tas
6d84838c0f
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 22:50:07 +03:00
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
Yu-Ju Hong
dbd7b186a0
Merge pull request #6338 from smarterclayton/improve_config_error
...
Return a typed error for config validation, and make errors simple
2015-04-03 18:08:15 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Quinton Hoole
40e2eae5b4
Retry replication controller rolling updates on version mismatch.
...
When kubectl does rolling updates of replication controllers, retry updates that
fail due to version mismatches (caused by concurrent updates by other clients).
These failed rolling updates were causing intermittent e2e test failures
(e.g. issue 5821)
2015-04-02 17:53:34 -07:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Prashanth B
620af16892
Merge pull request #6097 from derekwaynecarr/limit_range_default_value
...
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
Jeff Lowdermilk
96bdee8c28
Merge pull request #6312 from brendandburns/services
...
Make expose use introspection to grab the port value if possible.
2015-04-02 13:32:50 -07:00
Brian Grant
414be101b6
Merge pull request #6352 from piosz/api
...
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Brendan Burns
674efe6de8
Make expose use introspection to grab the port value if possible.
...
Also improve service printing to include public IP addresses.
2015-04-02 13:08:47 -07:00
Brendan Burns
fdf7ccbcfe
Merge pull request #6361 from vmarmol/describe
...
Include ContainerStatus in "describe pod".
2015-04-02 09:23:21 -07:00
Victor Marmol
657bc33500
Include ContainerStatus in "describe pod".
...
Fixes #6076 .
2015-04-02 08:51:41 -07:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
Clayton Coleman
323a44e54a
Make kubectl errors even more user-friendly
...
Omit glog prefix when v < 2, show multiline errors for configuration
problems, add new generic messages for server errors that hide some
complexity that is not relevant for users.
2015-04-02 01:40:15 -04:00
Rohit Jnagal
e0ff139279
Remove validation for Capacity as it got moved from Spec to Status.
...
Also fix breakage from ExternalID validation: Default ExternalID to node name when not specified.
2015-04-02 00:51:52 +00:00
Alex Robinson
2db427a34a
Merge pull request #6293 from kargakis/delete-short-msg
...
Update delete short usage message
2015-04-01 14:20:14 -07:00
derekwaynecarr
c2b670513c
Introduce concept of a default limit
2015-04-01 16:31:25 -04:00
Deyuan Deng
6bb9701489
Remove Reachable Condition
2015-04-01 13:56:43 -04:00
kargakis
3c09d4d383
Update delete short usage message
2015-04-01 17:14:13 +02:00
Victor Marmol
2de37624e8
Merge pull request #6252 from krousey/string_format_cleanup
...
Fixing a lot of string formatting issues
2015-03-31 16:57:36 -07:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Dawn Chen
b8de2f00ce
kubectl describe nodes id shows node components version info.
2015-03-31 09:32:29 -07:00
Tim Hockin
b420871a11
fixes from testing
2015-03-31 09:30:56 -07:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Victor Marmol
b9499b8c5b
Merge pull request #6126 from ghodss/reduce-some-kubectl-spacing
...
Reduce some tab spacing in kubectl
2015-03-27 18:34:36 -07:00
Sam Ghods
f8d8b09a0a
Reduce some tab spacing in kubectl
2015-03-27 18:05:20 -07:00
Victor Marmol
3bc933645b
Merge pull request #6083 from jlowdermilk/fix-log
...
Fix kubectl log for single-container pods
2015-03-27 17:51:33 -07:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Jeff Lowdermilk
243de3a472
Fix kubectl log for single-container pods
2015-03-27 12:26:00 -07:00
Jeff Lowdermilk
803086c2c6
Merge pull request #6034 from thockin/target_port_flag
...
Alias --container-port to --target-port in kubectl
2015-03-27 09:56:33 -07:00
Young
84bfda0587
remove cmd arg
...
related issue "Remove cmd from kubectl/cmd/factory arguments #4470"
2015-03-27 21:46:17 +08:00
feihujiang
6b79dcaa4d
add source filename in error message
2015-03-27 09:28:48 +08:00
Tim Hockin
f928f52a4a
Alias --container-port to --target-port in kubectl
2015-03-26 17:59:46 -07:00
Vish Kannan
f2c7dda6da
Merge pull request #6026 from dchen1107/clean
...
kubectl describe nodes id reports related events
2015-03-26 17:39:21 -07:00
Dawn Chen
688363ad53
Kubectl describe nodes id with events.
2015-03-26 16:43:29 -07:00
Jeff Lowdermilk
653b7e629d
Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
...
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Jeff Lowdermilk
fc2eb66d9f
Merge pull request #5976 from smarterclayton/support_resource_builder_on_label
...
`kubectl label` should support resource builder
2015-03-26 13:21:56 -07:00
Brian Grant
3b0db99692
Merge pull request #5915 from piosz/api
...
Changed PodInfo to be a list
2015-03-26 12:46:50 -07:00
Clayton Coleman
64f91f7dac
Allow `kubectl expose` to be polymorphic to the source of the selector
...
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).
Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00
Clayton Coleman
1e496696ca
Merge pull request #5903 from smarterclayton/support_resources_by_type_and_name
...
Allow resource.Builder commands to take arguments by type/name
2015-03-26 14:23:03 -04:00
Clayton Coleman
80aa498ba5
Merge pull request #5978 from smarterclayton/order_commands
...
Order the commands in kubectl by importance and function
2015-03-26 14:22:04 -04:00
Clayton Coleman
68c46e7f52
`kubectl label` should support resource builder
...
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04:00
gmarek
5a11748018
Move Capacity from NodeSpec to NodeStatus
2015-03-26 15:28:48 +01:00
Clayton Coleman
0dd625ffd3
Order the commands in kubectl by importance and function
...
Move the client config commands towards the bottom, keep the primary
verbs near the top. Version goes at the bottom.
2015-03-26 10:19:06 -04:00
Piotr Szczesniak
31901ed9d0
Changed PodInfo to be a list
...
This change is to make API consistent with our convention.
Fixes #3622
2015-03-26 10:15:25 +01:00
Clayton Coleman
581d7cd789
Allow resource.Builder commands to take arguments by type/name
...
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00