Commit Graph

6815 Commits

Author SHA1 Message Date
Tim Hockin
86f4535871 Check loopback and link-local multicast endpoints
Previously we just disallowed link-local (unicast).  This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -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
Robert Bailey
5000252e46 Merge pull request #12669 from deads2k/tolerate-missing-template-flag
tolerate output without template file
2015-08-18 11:49:53 -07:00
Robert Bailey
6e94e44d9c Merge pull request #12860 from nak3/exec-help
Modify kubectl exec help to set -c CONTAINER as optional
2015-08-18 11:48:26 -07:00
Robert Bailey
f93027031c Merge pull request #12868 from mikedanese/fix-tag
tab => space in struct tag, to fix compatibility with reflect.StructTag.Get
2015-08-18 11:48:17 -07:00
Robert Bailey
11d5712278 Merge pull request #12736 from deads2k/relax-pull-secret-constraints
tolerate missing image pull secrets:
2015-08-18 11:48:01 -07:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Kris Rousey
9cea046f42 Get the unversioned client to build 2015-08-18 10:03:19 -07:00
Kris Rousey
7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Mike Danese
766e1c3a3e tab => space, to fix compatibility with reflect.StructTag.Get 2015-08-18 09:49:05 -07:00
Robert Bailey
ca168ce285 Merge pull request #12262 from jgriffiths1993/hf-12261
Replace Port with NodePort for creating LB members
2015-08-18 09:14:30 -07:00
Robert Bailey
c45747bfad Merge pull request #12764 from thockin/proxy-nodeports
More corner cases with iptables proxy
2015-08-18 09:13:20 -07:00
Kenjiro Nakayama
c50d7dd1d5 Modify kubectl exec help to set -c CONTAINER as optional 2015-08-18 23:14:24 +09:00
Filip Grzadkowski
8d74f610f7 Merge pull request #12659 from mwielgus/horizontal_status
HorizontalPodAutoscaler status
2015-08-18 15:30:01 +02:00
Clayton Coleman
5ddcef24a6 Fix failing test 2015-08-18 09:08:46 -04:00
Clayton Coleman
adc97bf936 Conversions 2015-08-18 09:08:45 -04:00
Clayton Coleman
edb108802d Handle gracefully terminated pods in node controller
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman
780accb3ba Kubelet should garbage collect dead pods
The sync loop should check for terminated pods that are no longer
running and clear them. The status loop should never write status
if the pod UID changes. Mirror pods should be deleted immediately
rather than gracefully.
2015-08-18 09:08:44 -04: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
deads2k
969d526ca5 tolerate output without template file 2015-08-18 08:58:04 -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
Filip Grzadkowski
919c7e94e2 Merge pull request #12797 from wojtek-t/refactor_registry_test
Prepare for refactoring registry etcd tests
2015-08-18 12:56:45 +02:00
Marcin Wielgus
cac7038b3b HorizontalPodAutoscaler status 2015-08-18 11:46:54 +02:00
Wojciech Tyczynski
6cea2c8940 Prepare for refactoring registry etcd tests 2015-08-18 09:53:23 +02:00
Wojciech Tyczynski
3a71eb1bcc Store previous value in WatchCache for filtering 2015-08-18 09:33:34 +02:00
Tim Hockin
6f34be30a3 Limit float precision to 5 points 2015-08-17 20:57:44 -07:00
Tim Hockin
7e9c685ba6 Require same min iptables version as -C 2015-08-17 20:57:44 -07:00
Tim Hockin
3d309700d0 Make iptables use semver lib 2015-08-17 20:57:44 -07:00
Tim Hockin
3a5c23d727 test for and set bridge-nf-call-iptables sysctl 2015-08-17 20:57:44 -07:00
Tim Hockin
9cf33772b4 test for and set route_localnet sysctl 2015-08-17 20:52:06 -07:00
Tim Hockin
f1a48574a6 Clean up logging, make initial sync faster 2015-08-17 20:52:06 -07:00
Tim Hockin
d72892d0b0 Include protocol in the hash for chain names 2015-08-17 20:52:06 -07:00
Tim Hockin
731d5e5191 Clean up iptables rules, add nodeport support 2015-08-17 20:52:06 -07:00
Tim Hockin
d14c98f6cc Add nodepoprt chain and link it in, add unused MASQ rule 2015-08-17 20:52:06 -07:00
Robert Bailey
736945faba Merge pull request #12831 from thockin/nodeport-optional
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin
75941afab2 Make nodePort optional in v1 API 2015-08-17 15:44:37 -07:00
Robert Bailey
b937511e5e Merge pull request #12798 from pmorie/bugs/10587
Fix issue 10587; update SecurityContext godoc
2015-08-17 13:53:39 -07:00
Robert Bailey
17c005bb6a Merge pull request #12730 from eparis/bash-completions-delete-label
bashcompletions: suggest resources to delete in kubectl delete
2015-08-17 13:52:53 -07:00
Robert Bailey
6fcdcec25d Merge pull request #12658 from sdminonne/bug_fix2
to fix govet issue
2015-08-17 10:58:10 -07:00
Paul Morie
8ddef45679 Fix issue 10587; update SecurityContext godoc 2015-08-17 11:23:11 -04:00
Maciej Szulik
686f764fc7 Allow other client's implementation to reuse NewListWatchFromClient by passing in the Getter interface, responsible for accessing RESTClient's Get method. 2015-08-17 15:25:03 +02:00
Marek Grabowski
2816632cad Merge pull request #11996 from jayunit100/maxTimes
Fix maxTimes comment to clarify infinit waits
2015-08-17 11:57:44 +02:00
Marek Grabowski
48184026f1 Merge pull request #12729 from cjcullen/gce
Clean up GCE metadata calls. Remove GetNodeResources from all providers.
2015-08-17 10:48:48 +02:00
Joshua Griffiths
a9aa2c6acc Replace Port with NodePort for creating LB members 2015-08-17 08:47:00 +01:00
Brendan Burns
a9580a0ad0 Merge pull request #12595 from smarterclayton/add_pod_status_ip
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns
9cc5156b69 Merge pull request #12685 from eparis/goimports
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Brendan Burns
eb8b1aa87e Merge pull request #12694 from yifan-gu/rkt_patch
kubelet/rkt: minor updates to match rkt v0.7.0.
2015-08-14 20:27:30 -07:00
Brendan Burns
c5cfc1b83c Merge pull request #12706 from smarterclayton/test_fails_on_no_ipv6
Unit test fails when ipv6 is not available
2015-08-14 20:26:40 -07:00
Clayton Coleman
01f3785426 Add status.podIP as a valid downward API target
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00