Commit Graph

25502 Commits

Author SHA1 Message Date
James Ravn and Yoseph Samuel
9f62e81be5 Disable aws node security group ingress creation
Add aws cloud config:

    [global]
    disableSecurityGroupIngress = true

The aws provider creates an inbound rule per load balancer on the node
security group. However, this can quickly run into the AWS security
group rule limit of 50.

This disables the automatic ingress creation. It requires that the user
has setup a rule that allows inbound traffic on kubelet ports from the
local VPC subnet (so load balancers can access it). E.g.  `10.82.0.0/16
30000-32000`.

Limits: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html#vpc-limits-security-groups

Authors: @jsravn, @balooo
2016-02-23 15:24:50 +00:00
AdoHe
aa5c036a5c add DESIRED and CURRENT columns to rcs,ds,rs 2016-02-23 10:11:19 -05:00
k8s-merge-robot
58783bc256 Merge pull request #21684 from justinsb/fix_21200
Auto commit by PR queue bot
2016-02-23 07:06:08 -08:00
Chris Batey, James Ravn and Yoseph Samuel
087ff78cf9 Only find running aws hosts by nodename
When finding instance by node name in AWS, only retrieve running
instances.  Otherwise terminated, old nodes can show up with the same
tag when rebuilding nodes in the cluster.

Another improvement made is to filter instances by the node names
provided, rather than selecting all instances and filtering in code.

Authors: @jsravn, @chbatey, @balooo
2016-02-23 14:47:16 +00:00
k8s-merge-robot
7f1b699880 Merge pull request #21071 from soltysh/server_close
Auto commit by PR queue bot
2016-02-23 06:34:27 -08:00
k8s-merge-robot
a89b607a9c Merge pull request #21666 from wojtek-t/registry_options
Auto commit by PR queue bot
2016-02-23 05:54:47 -08:00
Piotr Szczesniak
0dfeb81390 HPA update its status even if getting metrics failed 2016-02-23 14:30:03 +01:00
k8s-merge-robot
725a8e8b36 Merge pull request #21369 from AdoHe/kubectl_change_column_titles
Auto commit by PR queue bot
2016-02-23 05:20:38 -08:00
k8s-merge-robot
d3661414a1 Merge pull request #21273 from kargakis/rolling-updater-fix
Auto commit by PR queue bot
2016-02-23 04:50:59 -08:00
k8s-merge-robot
aa9e139894 Merge pull request #21726 from janetkuo/log-on-timeout
Auto commit by PR queue bot
2016-02-23 04:16:49 -08:00
k8s-merge-robot
9470a7e61c Merge pull request #21627 from justinsb/fix_11324
Auto commit by PR queue bot
2016-02-23 03:45:10 -08:00
k8s-merge-robot
6b649d7f9f Merge pull request #21706 from liggitt/token-controller
Auto commit by PR queue bot
2016-02-23 02:40:26 -08:00
Piotr Szczesniak
762e155f3e Refactoring of pod autoscaler controller 2016-02-23 11:29:40 +01:00
k8s-merge-robot
ac644e03bd Merge pull request #20769 from bprashanth/ing_config
Auto commit by PR queue bot
2016-02-23 02:09:15 -08:00
kargakis
69cd75c6a8 registry: remove todos about rc/rs label/annotation updates 2016-02-23 10:24:02 +01:00
Yu-Ju Hong
a68f534264 kubelet: fix duplicated status updates at pod cleanup
cleanupTerminatedPods is responsible for checking whether a pod has been
terminated and force a status update to trigger the pod deletion. However, this
function is called in the periodic clenup routine, which runs every 2 seconds.
In other words, it forces a status update for each non-running (and not yet
deleted in the apiserver) pod. When batch deleting tens of pods, the rate of
new updates surpasses what the status manager can handle, causing numerous
redundant requests (and the status channel to be full).

This change forces a status update only when detecting the DeletionTimestamp is
set for a terminated pod. Note that for other non-terminated pods, the pod
workers should be responsible for setting the correct status after killling all
the containers.
2016-02-23 01:03:04 -08:00
Random-Liu
da99f672fc Fix bug in fake docker client 2016-02-23 00:59:15 -08:00
k8s-merge-robot
b034050f6a Merge pull request #21725 from spxtr/remove-e2e-from-release
Auto commit by PR queue bot
2016-02-23 00:49:32 -08:00
k8s-merge-robot
84e5cabdf7 Merge pull request #21642 from mitake/remove-kube-dump
Auto commit by PR queue bot
2016-02-23 00:49:31 -08:00
k8s-merge-robot
be623ae3fa Merge pull request #18562 from fgimenez/added-missing-juju-dependency-to-doc
Auto commit by PR queue bot
2016-02-23 00:49:29 -08:00
k8s-merge-robot
3a12b03710 Merge pull request #21448 from timstclair/worker-race
Auto commit by PR queue bot
2016-02-23 00:49:28 -08:00
k8s-merge-robot
599af17e0d Merge pull request #21685 from gmarek/resource-usage
Auto commit by PR queue bot
2016-02-23 00:16:21 -08:00
k8s-merge-robot
2acae62709 Merge pull request #21683 from justinsb/fix_20912
Auto commit by PR queue bot
2016-02-22 23:45:45 -08:00
k8s-merge-robot
5d4007f2fa Merge pull request #21644 from thibserot/dns2
Auto commit by PR queue bot
2016-02-22 23:45:44 -08:00
k8s-merge-robot
0afbc71f31 Merge pull request #21030 from janetkuo/deployment-label-adopted
Auto commit by PR queue bot
2016-02-22 23:45:42 -08:00
Justin Santa Barbara
aa57beb885 AWS Jessie: Find image by name
This means we don't have to code the AMI ids for each region.
2016-02-23 00:02:54 -05:00
Brian Grant
7662a5ee54 Merge pull request #21734 from janetkuo/rollover-flake
Wait for pods to become available before rolling over in deployment e2e test
2016-02-22 20:15:33 -08:00
Phillip Wittrock
a3623c0c14 Refactor node e2e tests
- Add Makefile targets
- Start services in the test harness and connect locally
- Build test into binary and copy to remote host to start services
- Use tar to copy binaries to remote hosts to simplify design
2016-02-22 20:06:15 -08:00
Justin Santa Barbara
977a4a56e4 AWS Debian Jessie: Install Docker 1.9.1 2016-02-22 22:55:11 -05:00
Justin Santa Barbara
91eb370931 AWS Debian: Only install linux-image-extra on Ubuntu
It isn't available (and hopefully not needed) on Debian
2016-02-22 22:54:41 -05:00
Janet Kuo
ecce9492cc Wait for pods to become available before rolling over in deployment e2e test 2016-02-22 18:36:39 -08:00
Minhan Xia
973b01ee29 fix cascading backoff 2016-02-22 18:25:42 -08:00
Brian Grant
f4de3ea676 Merge pull request #21710 from janetkuo/flake-event-order
Don't rely on events in deployment rollback e2e test
2016-02-22 17:54:07 -08:00
Prashanth B
c833a14898 Merge pull request #21727 from dchen1107/test
Remove potential corrupted docker network checkpoint file before star…
2016-02-22 17:52:16 -08:00
Daniel Smith
9d87b47d77 add readiness probe to proxy test 2016-02-22 17:43:25 -08:00
Janet Kuo
4369a21969 Log deployment, RSes and pods on waitForDeploymentStatus timeout / condition mismatch 2016-02-22 17:29:44 -08:00
Chao Xu
78fc311f1f adding a apiserver log message when patch fails because a meaningful conflict 2016-02-22 17:10:53 -08:00
Dawn Chen
d922ddef8c Remove potential corrupted docker network checkpoint file before start docker
again.
2016-02-22 17:08:31 -08:00
Joe Finney
454cec71e8 Remove hack/e2e-from-release.sh. 2016-02-22 16:45:29 -08:00
Brian Grant
6cecf2b357 Merge pull request #21715 from janetkuo/remove-racy-check
Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead
2016-02-22 16:22:14 -08:00
k8s-merge-robot
be68276db0 Merge pull request #21708 from spxtr/fix-trusty
Auto commit by PR queue bot
2016-02-22 16:16:54 -08:00
k8s-merge-robot
789fd731d2 Merge pull request #21686 from justinsb/aws_kubeup_build_config_early
Auto commit by PR queue bot
2016-02-22 16:16:53 -08:00
k8s-merge-robot
8afccef608 Merge pull request #21632 from justinsb/docker_191
Auto commit by PR queue bot
2016-02-22 16:16:51 -08:00
David McMahon
c0fe6b765e Remove redundant call of kube::release::gcs::release.
This is called by build/push-official-release.sh.
2016-02-22 16:11:48 -08:00
Dawn Chen
84e5ea9940 Merge pull request #21518 from jlowdermilk/node-labels
Plumb node labels through salt
2016-02-22 16:11:01 -08:00
Jeff Lowdermilk
c406665b2b Plumb node labels through salt
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Joe Finney
892c8e5153 Comment upgrade YAML. 2016-02-22 15:16:56 -08:00
Dawn Chen
699c80b752 Merge pull request #21641 from bprashanth/promisc
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Dawn Chen
201d60b426 Merge pull request #21440 from bprashanth/glbc_name
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Janet Kuo
d2c9d51999 Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead 2016-02-22 14:47:38 -08:00