Commit Graph

13639 Commits

Author SHA1 Message Date
Tim Hockin
abe5a7d5ad Merge pull request #14527 from thockin/lower-udp-timeout
Changes to make kube-proxy userspace scale better
2015-09-28 23:32:40 -07:00
k8s-merge-robot
226d97fa29 Merge pull request #14688 from brendandburns/fix3
Auto commit by PR queue bot
2015-09-28 23:08:19 -07:00
k8s-merge-robot
d11aec9217 Merge pull request #14595 from yujuhong/rm_containerlist
Auto commit by PR queue bot
2015-09-28 19:54:32 -07:00
Yifan Gu
4309cafff1 rkt: return non error if the pod doesn't exist in GetPodStatus().
Previously, GetPodStatus() will return error if the pod is never
created. However we've never seen the sync loop fail because in the
beginning of the loop, if the pod is not found, it will be created.

This works fine except the pod that keeps crashing. Because the above
logic will keep restarting the pod as if it's never created.

This PR fixes the bug.
2015-09-28 19:30:57 -07:00
Vishnu kannan
2788b47059 Avoid rewriting URLs in the proxy, if the application is proxy-aware. 2015-09-28 17:20:03 -07:00
Brendan Burns
afea127a3e Move the default schema cache to the home directory 2015-09-28 16:26:48 -07:00
Brendan Burns
c3a8dc0494 Deflake the max-in-flight limit test 2015-09-28 16:08:14 -07:00
nikhiljindal
c651c1ae30 Updating the semantics of MaxSurge and unavailability 2015-09-28 14:51:26 -07:00
Eric Tune
293055b38e Always set codec in setExperimentalDefaults
Without this, the Jobs client used by
kubectl had codec type v1.  You would not notice this
on, say, a GET.  But when you tried to do an
Update, which did client-side conversion, then
you would get an error.
2015-09-28 14:36:54 -07:00
nikhiljindal
153c57ffc8 Adding a DeploymentDescriber to kubectl 2015-09-28 14:21:24 -07:00
Mike Danese
2fa10f8ad6 delete job when namespace is deleted 2015-09-28 11:18:56 -07:00
Dr. Stefan Schimanski
a9582dfcbe Set NodeName on daemonset pods correctly
The pod template was overriding the NodeName.
2015-09-28 19:20:38 +02:00
Wojciech Tyczynski
5994e1d425 Merge pull request #14658 from mwielgus/describe_fix
Fix terminated pod printing in kubectl describe
2015-09-28 17:00:30 +02:00
Marcin Wielgus
62da43eef2 Fix terminated pod printing in kubectl describe 2015-09-28 16:54:12 +02:00
Justin Santa Barbara
fda6243c5e AWS: Recognize cn-north-1 & us-gov-west-1 regions
These two regions were accidentally omitted.  This list now matches the
list we use elsewhere (e.g. when choosing an AMI).

Fixes #14420
2015-09-28 07:01:45 -07:00
liguangbo
12299087da Change Oom to OOM 2015-09-28 18:18:04 +08:00
feihujiang
e31bc89232 Fix minor bugs in kubectl command 2015-09-28 13:58:31 +08:00
Daniel Martí
fdd7322b38 Use DeleteDropWatch instead of Delete in test
Using the latter resulted in receiving extra OnDelete event callbacks. Using
DeleteDropWatch removed the flake.

Fixes #14138.
2015-09-26 11:55:34 -07:00
Daniel Martí
61e4eb4e1f Proper format string for ints 2015-09-26 11:52:33 -07:00
Daniel Martí
011db554e5 Simplify fake controller lock 2015-09-26 11:52:17 -07:00
Clayton Coleman
4506f9f455 Linux bandwidth test doesn't work on Mac 2015-09-26 11:41:27 -04:00
Anastasis Andronidis
e8b9dde623 new kubectl explain command 2015-09-26 14:25:53 +03:00
Anastasis Andronidis
495433fbb7 client can return swagger schema 2015-09-26 14:25:53 +03:00
Trevor Pounds
ea85e2319b Use set interface methods. 2015-09-25 23:19:33 -07:00
Mikaël Cluseau
4bf0ef8ce2 setSysctl for bridge-nf-call-iptables should fail with a warning 2015-09-26 17:11:33 +11:00
Brian Grant
9f01981863 Revert "Maintain an IP address independent of the forwarding rule for GCE plus bug fixes" 2015-09-25 22:04:35 -07:00
Rajat Chopra
01dd813ce3 CNI network plugin
Add an experimental network plugin implementation named "cni" that
uses the Container Networking Interface (CNI) specification for
configuring networking for pods.

https://github.com/appc/cni/blob/master/SPEC.md
2015-09-25 22:30:37 -05:00
feisky
d25ae52d9b Refactor image manager for client/server implementation of the container runtime 2015-09-26 08:29:08 +08:00
Trevor Pounds
9cd91d111d Use AWS SDK EC2 metadata client. 2015-09-25 17:03:22 -07:00
Trevor Pounds
df0718caa1 Migrate source to aws-sdk-go v0.9.9.
Upgrading to aws-sdk-go >= v0.9.0 requires a
source migration via awsmigrate-renamer tool.

see: http://aws.amazon.com/releasenotes/2948141298714307
2015-09-25 17:03:22 -07:00
Yu-Ju Hong
d6aea667ba Remove ContainerList from fakeRuntime
Container runtime interface currently doesn't support GetContainers and no
test should be using fakeRuntime.ContainerList. Remove it to prevent accidental
use.
2015-09-25 16:36:51 -07:00
Brian Grant
efd19143f7 Revert "Refactor image manager for client/server implementation of the container runtime" 2015-09-25 15:24:18 -07:00
Brian Grant
15c585e3ad Merge pull request #14578 from derekwaynecarr/fix_flake
Fix flake in gc test
2015-09-25 15:14:01 -07:00
Tim Hockin
3c36439665 Don't log every connection by default 2015-09-25 14:02:24 -07:00
Tim Hockin
7509bf6318 Set UDP timeout to 1/4 second 2015-09-25 14:02:24 -07:00
derekwaynecarr
9bf88ddc6f Fix flake in gc test 2015-09-25 16:47:11 -04:00
Brian Grant
c6d5c6dbbf Merge pull request #14569 from a-robinson/network
Maintain an IP address independent of the forwarding rule for GCE plus bug fixes
2015-09-25 13:32:25 -07:00
Brian Grant
e3abcf7198 Merge pull request #14535 from derekwaynecarr/daemon_sets_status
DaemonSets adds a Status subresource
2015-09-25 13:30:55 -07:00
Brian Grant
2da7e8d41f Merge pull request #14316 from mikedanese/dedup
consolidate a bunch of FakePodControl testclients into a shared one
2015-09-25 13:29:13 -07:00
Brian Grant
0c278ce56a Merge pull request #14249 from markturansky/prov_claim_annotations
Allow pre-binding of Persistent Volumes to PVClaims
2015-09-25 13:26:29 -07:00
Brian Grant
2c92672827 Merge pull request #14227 from gmarek/fake_docker
Fix 'ContainersMap' feature in fake-docker-client.
2015-09-25 13:20:33 -07:00
Brian Grant
313918f561 Merge pull request #14148 from brendandburns/perf
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
Brian Grant
bbc90cd9ff Merge pull request #14035 from feiskyer/kubelet/client/server
Refactor image manager for client/server implementation of the container runtime
2015-09-25 13:18:53 -07:00
Brian Grant
f62432212a Merge pull request #14351 from zhengguoyong/del-unused-code
del the unused code
2015-09-25 13:16:06 -07:00
derekwaynecarr
2cb408d21e Add tests for job strategy 2015-09-25 15:10:43 -04:00
Alex Robinson
242d28cf68 Fix PR for maintaining a GCE IP independently of the forwarding rule.
This code was in rough shape, so I've fixed the issues with the original
PR as well as a few other changes:
1. Clarify the error messages related to the "gce Addresses" to make it
   clear we're talking about static IP addresses
2. Fix the bug in the original PR, which was a nil pointer dereference
   from passing op to waitForRegionOp when the address doesn't exist.
3. Rearrange the steps of EnsureTCPLoadBalancerDeleted to be the reverse
   of EnsureCreated, which mostly just seems like good practice to me.
   This is also supported by the following two bugs I found :(
4. Fix an independent bug of returning too early if the target pool
   doesn't exist, effectively stranding the firewall. This was likely
   introduced because target pools used to be the last thing deleted,
   so it was previously safe to return there.
5. Fix an independent bug of not returning an error waiting for the
   target pool to be deleted failed. This was very possibly causing
   target pool leaks in our e2e tests. This was similarly due to
   assuming that the target pool was the last thing deleted in the
   function, then having the firewall deletion stuck in after it.
2015-09-25 18:49:51 +00:00
Brian Grant
44b0bb1ae7 Merge pull request #14325 from mikedanese/podgc
add pod garbage collection
2015-09-25 11:24:01 -07:00
Brian Grant
51a3b80b99 Merge pull request #13372 from thockin/strict-compat-external-ip
easier auto-conversion, strict compat with deprecatedPublicIPs
2015-09-25 11:10:28 -07:00
Brian Grant
296888fb70 Merge pull request #14297 from derekwaynecarr/improve_namespace_controller
Improve conflict errors in namespace controller
2015-09-25 11:04:01 -07:00
Brian Grant
b90797d941 Merge pull request #14406 from hurf/config_message
Improve message from kubectl config
2015-09-25 11:01:34 -07:00