Commit Graph

6598 Commits (9f77e491091c88b4498e8cc90c773dff00d33330)

Author SHA1 Message Date
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01: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
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
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
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
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
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
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
Wojciech Tyczynski 29aaf1a4d2 Merge pull request #12168 from brendandburns/stdin2
Support Stdin and TTY in the kubelet
2015-08-06 13:45:59 +02:00
Wojciech Tyczynski 79684af47b Merge pull request #12241 from uluyol/clientexp
Add experimental client
2015-08-06 13:43:06 +02:00
Stef Walter f6da3fdbe1 kubectl: Add proxy --unix-socket=/file/path option
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.

We make sure the socket starts its life only accessible by the
current user using Umask.

This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Stef Walter cd30bd6167 util: Add util.Umask wrapper
This function compiles to a stub on Windows.
2015-08-06 11:39:29 +02:00
Wojciech Tyczynski 871ca7a05f Merge pull request #12320 from mikedanese/rewrite-pr-issue-links
rewrite all links to issues and PRs to k8s links
2015-08-06 09:55:44 +02:00
Wojciech Tyczynski 20e84d2eb1 Remove unused members 2015-08-06 09:00:42 +02:00
Brendan Burns 901a04a3d6 Add support for interactive contaienrs to the kubelet 2015-08-05 22:14:56 -07:00
Mike Danese 8326697055 rewrite all links to prs to k8s links 2015-08-05 21:11:11 -07:00
Mike Danese fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00