Commit Graph

6708 Commits (e72c0428bd7c2e7db17a20bbe3d732215317c093)

Author SHA1 Message Date
Alex Robinson 057be1fc8d Merge pull request #12406 from smarterclayton/namespace_estimate_delete
Namespace must estimate and requeue content deletions
2015-08-10 15:01:35 -07:00
Alex Robinson d6b7fcc69f Merge pull request #11988 from brendandburns/tc
Add some utilities for limiting bandwidth using 'tc'
2015-08-10 14:23:04 -07:00
Alex Robinson 20c189d752 Merge pull request #12471 from peter-edge/docker-new-client-from-env
Use docker.NewClientFromEnv for creation of docker.Client
2015-08-10 14:22:21 -07:00
Alex Robinson cd3c3fe479 Merge pull request #12373 from cjcullen/network
Use full URLs for GCE networks
2015-08-10 14:21:42 -07:00
Alex Robinson 33178dce96 Merge pull request #12496 from nikhiljindal/portDescription
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal a698acd3c8 Fixing a typo in port swagger description 2015-08-10 13:32:46 -07:00
Alex Robinson 9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Janet Kuo 0ac6dba3f4 Make kubectl describe node include allocated resource 2015-08-10 13:25:59 -07:00
Alex Robinson 531d3def98 Merge pull request #12482 from tmrts/refactor/iota
Refactor probe.Result enumeration
2015-08-10 13:20:04 -07:00
Jordan Liggitt 848ec0491e fix ABAC tests 2015-08-10 16:07:08 -04:00
Alex Robinson 11fcd3bb39 Merge pull request #12478 from eparis/use-pflag-network
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Alex Robinson 1e39eb07e1 Merge pull request #12488 from pweil-/fix-conversions
use package from out value
2015-08-10 11:52:48 -07:00
Alex Robinson 4593478c65 Merge pull request #12461 from hurf/humanize_time2
Print human readable time for event
2015-08-10 11:52:33 -07:00
Brendan Burns dcd6b00d83 Add a package for bandwidth control 2015-08-10 11:24:02 -07:00
Yifan Gu 7e5cfd137a Godeps: bump appc/spec to v0.6.1+git. 2015-08-10 11:21:28 -07:00
Alex Robinson 933c855fba Merge pull request #12354 from mjibson/replace-cascade-fix
Fix flag docs for replace cascade
2015-08-10 11:06:41 -07:00
Alex Robinson 462fed62b7 Merge pull request #12189 from feihujiang/describeKindNoArguments
kubectl describe <kind> work with no arguments
2015-08-10 11:05:34 -07:00
Paul Weil 26d80cdb7f use package from out value 2015-08-10 14:00:20 -04:00
Brendan Burns 79fb674679 Fix the service printer to be a single line per service 2015-08-10 10:57:45 -07:00
Tamer Tas 16b4428043 Fix usage of format specifier %s 2015-08-10 20:44:36 +03:00
Paul Weil e490c20c22 add non-root directive to SC and kubelet checking 2015-08-10 13:30:34 -04:00
Alex Robinson 79f171542a Merge pull request #12484 from tmrts/doc/pkg/kubelet/rkt
Add documentation for pkg/kubelet/rkt
2015-08-10 10:07:25 -07:00
Alex Robinson c5e221dca7 Merge pull request #12440 from BenTheElder/proxy_config_handler_refactor
Refactor `pkg/proxy/config`'s ServiceConfigHandler and EndpointsConfigHandler.
2015-08-10 09:44:38 -07:00
Tamer Tas f5d5befe17 Add documentation for pkg/kubelet/rkt 2015-08-10 19:34:36 +03:00
Tamer Tas be7c223043 Refactor probe.Result enumeration 2015-08-10 19:08:15 +03:00
Matt Jibson 2c0f32e9b8 Fix flag docs for replace cascade 2015-08-10 12:03:43 -04:00
Clayton Coleman 62b6ca1643 Namespace must estimate and requeue content deletions 2015-08-10 11:20:21 -04:00
Marek Grabowski 9ddcfb7d54 Merge pull request #12421 from jlowdermilk/replace-help-text
Clarify help text of kubectl replace
2015-08-10 16:34:17 +02:00
Marek Grabowski 5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski 08f67e5888 Merge pull request #12469 from xiejunan/auth_example
change "ns" to "namespace" in example and doc for ABAC authorization
2015-08-10 16:33:22 +02:00
Marek Grabowski 87250d075f Merge pull request #12217 from mwielgus/exp_scale
Experimental Scale subresource
2015-08-10 16:32:59 +02:00
Marek Grabowski d239d51f3a Merge pull request #12414 from krousey/versioned_codec
Adding a way to decode to a specified version.
2015-08-10 16:32:36 +02:00
Eric Paris 9de64328a5 Bash completion annotations for rollingupdates 2015-08-10 10:26:18 -04:00
Eric Paris f3282ff4d2 Use pflag IPNet instead of our own helpers
Since pflag can handle net.IPNet arguements use that code. This means
that our code no longer has casts back and forth and just natively uses
net.IPNet.
2015-08-10 10:15:08 -04:00
Eric Paris fe6b633e2a Convert for util.IP to just use a net.IP
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Marek Grabowski 8580e17ff1 Merge pull request #12374 from wulonghui/wulonghui-patch-1
Add NodeInternalIP for Node's Addresses when cloud provider is nil
2015-08-10 15:01:00 +02:00
Marek Grabowski a0371b3985 Merge pull request #11919 from samsabed/descLaststatus
kubectl describe pod should print lastState
2015-08-10 14:56:44 +02:00
Marek Grabowski e27787c9d3 Merge pull request #12292 from brendandburns/stdin3
Add support for `--restart`
2015-08-10 14:54:54 +02:00
peter-edge 0458d707ac use docker.NewClientFromEnv for creation of docker.Client 2015-08-10 13:29:56 +02:00
Wojciech Tyczynski 79125f460c Services using standard REST storage 2015-08-10 13:27:44 +02:00
Wojciech Tyczynski d11ab96446 Extract non-storage operations from service etcd 2015-08-10 13:27:44 +02:00
xiejunan 8d99ba94c8 modify example and doc for ABAC authorization 2015-08-10 18:46:13 +08:00
Marek Grabowski e034712456 Merge pull request #11788 from HaiyangDING/ImproveClarityResource
Improve clarity around PodFitsResource(issue#11453)
2015-08-10 09:56:32 +02:00
Marek Grabowski 41aa56a6c6 Merge pull request #12448 from smarterclayton/extra_newlines
Extra newlines in error output
2015-08-10 09:55:25 +02:00
hurf dd647db5ac Print human readable time for event
Reduce the length of event time as AGE column does.
2015-08-10 15:00:24 +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
Jeff Lowdermilk 1956484816 Clarify help text of kubectl replace
Help the next poor soul avoid the confusion I had when
```
$ kubectl create -f pod.yaml
$ kubectl replace -f pod.yaml
```
doesn't work.
2015-08-09 12:30:03 -07:00
Clayton Coleman c46165de19 Extra newlines in error output
StandardErrorMessage does not have a newline by default, other
error messages should not end with a newline.
2015-08-09 11:41:52 -04:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
BenTheElder 6bbf2aaab7 Refactor pkg/proxy/config's ServiceConfigHandler and EndpointsConfigHandler to have different update methods.
Refactor `pkg/proxy/config`’s ServiceConfigHandler.OnUpdate and
EndpointsConfigHandler.OnUpdate to different method names as they have
different signatures.

This will let the new proxy
(https://github.com/GoogleCloudPlatform/kubernetes/issues/3760)
implement both interfaces.

Since we won’t need a separate loadbalancer structure (load balancing
is handled in the proxy rules), we will simply handle both event types
from the same object.
2015-08-08 15:16:55 -04:00
Derek Parker 48fadc1570 Handle full hostname when computing host tag on GCE
The current code assumes the full domain name will not be included,
which is not always the case. This patch adds support for computing the
host tag from a fully qualified domain name.
2015-08-08 10:20:29 -05:00
BenTheElder f6d257c0f3 fix missing import in roundrobin_test.go 2015-08-08 00:02:35 -04:00
BenTheElder 962a7b492b in pkg/proxy, merge proxy_provider.go and service_port_name.go to types.go 2015-08-07 21:10:34 -04:00
BenTheElder 1f6baa6549 Move userspace code to sub-package in proxy.
Moves the userspace code in proxy to a sub-package and adds the
ProxyProvider interface.

This is in preparation for landing an implementation of
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760, which
will mostly be in another sub package for iptables.
2015-08-07 20:07:15 -04:00
Satnam Singh c3b72dd0e0 Merge pull request #12416 from BenTheElder/iptables_save_restore
Add Save, SaveAll, Restore, RestoreAll to pkg/util/iptables
2015-08-07 16:37:20 -07:00
BenTheElder 5867fca8bf Fix iptables Interface mocking, move Restore/RestoreAll to shared impl
also put TODO for unit tests, move defer file deletion until after file
creation error is checked.
2015-08-07 19:08:21 -04:00
Satnam Singh b071857c0f Merge pull request #10816 from feihujiang/kubectlDescribeAcceptFileNameParam
Kubectl describe command accepts a filename param
2015-08-07 15:23:57 -07:00
Satnam Singh 4ece39ac20 Merge pull request #9452 from yifan-gu/img_pulling
kubelet: Add 'image pulling' event. Refactor dockerManager.createPodInfraContainer()
2015-08-07 15:23:24 -07:00
CJ Cullen 5882c35e45 Use full URLs for GCE networks 2015-08-07 14:58:28 -07:00
Satnam Singh bee48f4ce5 Merge pull request #12035 from AnanyaKumar/requests
Add support for request
2015-08-07 14:27:34 -07:00
Satnam Singh 950ec96db0 Merge pull request #12182 from AnanyaKumar/qos-node
Add QoS support on node
2015-08-07 14:27:02 -07:00
Kris Rousey 6e64a63a84 Adding a way to decode to a specified version.
This is largely needed as a way to get a versioned client without
requiring everyone to switch to versioned types at once.
2015-08-07 14:16:24 -07:00
BenTheElder 6b3906b07e Add Save, SaveAll, Restore, RestoreAll to pkg/util/iptables
Adds utility wrappers for `iptables-save` and `iptables-restore` to the
iptables Interface in pkg/util/iptables. Also const’s command strings.
2015-08-07 16:55:14 -04:00
Brendan Burns e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
Yifan Gu 053db8dba7 kubelet/dockertools: Refactor image pulling for pod infra container.
Replace the trunk of pull image code with dockerManagner.pullImage().
Also add tests to verify the image pulling/pulled events.
2015-08-07 11:42:04 -07:00
Ananya Kumar 6ef3de1d5f Add QoS support on node 2015-08-07 11:18:16 -07:00
Satnam Singh fbb5ce6636 Merge pull request #10390 from mesosphere/non-unique-endpoint-ip
Don't wrongly identify endpoint addresses only due to equal IP
2015-08-07 11:08:29 -07:00
Satnam Singh 18dc230418 Merge pull request #10008 from hurf/age_all
Add age column for all resources when using 'kubect get'
2015-08-07 11:07:59 -07:00
Satnam Singh 9f9657d74e Merge pull request #9646 from rajatchopra/status_hook
status hook for the container network
2015-08-07 11:07:19 -07:00
Yifan Gu eb0fb43453 kubelet: Add image pulling event.
Since it takes a while (1-2mins) for kubelet to pulling a big image
(>500MB). Just showing "Pending" for pod status is not very helpful.

This commit introduces a "pulling" event, and inserts it before the
kubelet starts to pull an image.
2015-08-07 10:50:39 -07:00
Clayton Coleman 61c7beb51f Add an Enqueue method to framework.Controller
Allows clients to requeue delta events in the event they
need to delay processing.
2015-08-07 13:21:49 -04:00
Jerzy Szczepkowski acefdc9daf Merge pull request #12355 from derekwaynecarr/test_events_ns
Event test client may or may not be namespaced
2015-08-07 15:26:52 +02: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
Jerzy Szczepkowski bb49fdabdc Merge pull request #12268 from wojtek-t/create_watch_cache
Implement watchCache structure.
2015-08-07 12:59:03 +02:00
Jerzy Szczepkowski 372508cfbb Merge pull request #12117 from davidwalter0/wip
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
Marcin Wielgus 91584c6b3b Experimental Scale subresource 2015-08-07 12:00:42 +02:00
feihujiang 90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
dinghaiyang dab7280ae4 Improve clarity around PodFitsResource by showing pods limits in `kubectl describe node` 2015-08-07 16:58:11 +08:00
feihjiang 2ca200f087 Kubectl describe command accepts a filename param 2015-08-07 16:28:51 +08:00
Dr. Stefan Schimanski 79e54c2679 Add unit tests for RepackSubsets to take pod UID into consideration 2015-08-07 08:32:49 +02:00
Dr. Stefan Schimanski 55daf3b80e Don't wrongly identify endpoint addresses only due to equal IP
Before this patch the endpoint IP was used to identify endpoint addresses. This
leads to wrong unification of endpoints of different pods having the same IP (e.g.
non container IP in case of Mesos). This patch takes the EndpointAddress.targetRef.UID
into consideration as well.
2015-08-07 08:31:59 +02:00
Wojciech Tyczynski 52e3af4e93 Implement watchCache structure. 2015-08-07 08:29:17 +02:00
Brendan Burns 9ac50b4980 Add interactive run that combines run and attach. 2015-08-06 20:20:14 -07:00
David Walter 792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Sam Abed e7dcec075a show LastTerminationState in kubectl describe pod
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-08-07 11:45:20 +10:00
wulonghui b50e736184 Add NodeInternalIP for Node's Addresses when cloud provider is nil 2015-08-07 09:08:56 +08:00
Eric Paris 7cbb52ce04 Use the pflag StringSlice instead of implementing it ourselves
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Dawn Chen 122d76a2ef Merge pull request #11820 from liggitt/reuse_round_tripper
Reuse round tripper for identical TLS configurations
2015-08-06 16:04:02 -07:00
Dawn Chen 7a95f71aeb Merge pull request #11801 from AnanyaKumar/daemon-api
Add Daemon API
2015-08-06 15:57:17 -07:00
Rajat Chopra 1ce6d80a89 ipv6 test 2015-08-06 15:46:05 -07:00
Rajat Chopra 58a742e667 status hook for the container network 2015-08-06 15:46:04 -07:00
Jordan Liggitt 5ec4909610 Reuse round tripper for identical TLS configurations 2015-08-06 17:51:31 -04:00
AnanyaKumar d9b85652ae Add Daemon API 2015-08-06 13:15:19 -07:00
Dawn Chen 9f495e7f69 Merge pull request #12277 from gmarek/node_delete
Correctly handle Node deletion in NodeController
2015-08-06 13:02:44 -07:00
Dawn Chen c1c03bb4ca Merge pull request #12139 from kargakis/avoid-reallocs-in-index
cache: Avoid reallocs in Index
2015-08-06 13:00:02 -07:00
derekwaynecarr 72be244383 Event test client may or may not be namespaced 2015-08-06 15:22:52 -04:00
Dawn Chen 536313c82c Merge pull request #9472 from deads2k/expose-name-validation
expose common name validation methods
2015-08-06 10:51:51 -07:00
Dawn Chen 5175bb0b91 Merge pull request #10608 from stefwalter/proxy-unix-socket
kubectl: Add proxy --unix-socket=/file/path option
2015-08-06 10:47:19 -07:00
gmarek 819777e9e8 Correctly handle Node deletion in NodeController 2015-08-06 15:17:44 +02:00
Wojciech Tyczynski fcc78cd0f3 Fix head 2015-08-06 13:57:23 +02:00