Commit Graph

10895 Commits (ec77d0841d288a4533c841a7ae57544661e475e0)

Author SHA1 Message Date
Alex Mohr 0816fa2072 Add support for more than 500 results to GCE cloud provider API calls
for Instance.List and Routes.List which we will definitely have
more than 500 of when supporting 1000 nodes.

Add TODOs for other GCE List API calls to do similar fixes.

Add more logging to GCE's routecontroller.go when creating or deleting routes.
2016-02-26 16:03:01 -08:00
Fabio Yeon 53859b032f Merge pull request #22067 from derekwaynecarr/ns_controller_errors
e2e flake fix: Namespace controller error handling improvements
2016-02-26 15:59:32 -08:00
Fabio Yeon 9eed320088 Merge pull request #21740 from Random-Liu/fix-syncpod-unit-test
Fix error logic and leaking goroutine in docker unit test.
2016-02-26 15:51:35 -08:00
Fabio Yeon 97bae1099b Merge pull request #21661 from AdoHe/describe_container_status_optional
make show status in describe.DescribeContainers optional
2016-02-26 15:48:46 -08:00
Fabio Yeon 7d0684e9c4 Merge pull request #21628 from smarterclayton/suppress_debug_logging
Reduce volume of logs generated at v(3)
2016-02-26 15:47:31 -08:00
Fabio Yeon d25449d58e Merge pull request #21310 from wojtek-t/require_versioner
Require versioner in etcdHelper to be non-null.
2016-02-26 15:44:59 -08:00
Fabio Yeon a4c9a7c4c0 Merge pull request #19988 from soltysh/annotate_cmd
Fix kubectl annotate and label to use versioned objects when operating
2016-02-26 15:38:26 -08:00
Janet Kuo 9185c05a91 When comparing timestamp of pods, kill pods with zero timestamps first 2016-02-26 15:35:06 -08:00
Janet Kuo 2b81e751e1 Better choices of what pods to kill 2016-02-26 15:35:06 -08:00
Brian Grant f5a92cc13c Merge pull request #21865 from piosz/cluster-autoscaling-cleanup
Cluster autoscaling cleanup
2016-02-26 15:25:55 -08:00
Fabio Yeon a56a315d99 Revert "kubelet: fix duplicated status updates at pod cleanup" 2016-02-26 14:39:11 -08:00
Fabio Yeon 1bd3e83ce4 Merge pull request #22069 from a-robinson/keymutex-v2
Protect against race conditions in the service controller
2016-02-26 14:37:37 -08:00
Fabio Yeon 90fce905ce Merge pull request #21992 from sky-uk/fix-ebs-volume-instance-lookup
Fix EBS when hostname is not the node name
2016-02-26 13:21:54 -08:00
Fabio Yeon a7165042af Merge pull request #21781 from ncdc/skip-probe-if-container-id-not-set
Skip probe if container ID not yet set
2016-02-26 13:20:48 -08:00
Fabio Yeon caf7b9eba7 Merge pull request #21688 from pmorie/kubectl-describe-pod-config
Add describe output for ConfigMap volumes
2016-02-26 13:16:49 -08:00
Fabio Yeon fedca86c75 Merge pull request #21884 from swagiaal/remove-be-formatted
Remove 'be formatted' from VolumeSource docs
2016-02-26 13:06:01 -08:00
Fabio Yeon e4dd1e66fb Merge pull request #22030 from mikedanese/ds-nil
fix nil pointer in dameonset controller
2016-02-26 13:01:24 -08:00
Alex Robinson ab797d1b65 A load balancer should be updated if a service's UID has changed.
The load balancer's name is determined by the service's UID. If the
service's UID has changed (presumably due to a delete and recreate),
then we need to recreate the load balancer as well to avoid eventually
leaking the old one.
2016-02-26 20:26:27 +00:00
Alex Robinson 4ce5f68ed0 Protect against race conditions in the service controller.
Re-GET the service object when we process it rather than trusting the
delta. This will make for a lot more service get requests given that we
resync all the services every 5 minutes, but will avoid re-ordering of
updates and continually retrying stale updates, as has been described in
a few other issues and PRs.
2016-02-26 20:26:22 +00:00
Fabio Yeon 3dab166da4 Merge pull request #21776 from erictune/job-sel-gen
Selector generation for batch/v1 Job
2016-02-26 11:58:21 -08:00
derekwaynecarr a301a2565e Namespace controller error handling improvements 2016-02-26 14:08:28 -05:00
k8s-merge-robot cab55f856b Merge pull request #22044 from davidopp/wait
Auto commit by PR queue bot
2016-02-26 10:33:15 -08:00
Brian Grant 533296b265 Merge pull request #21963 from bgrant0607/bugfix1
Fix expectations in Deployment.
2016-02-26 09:23:24 -08:00
Steve Kuznetsov e5b696ee43 added 'kubectl create sa' to create serviceaccounts 2016-02-26 10:27:37 -05:00
k8s-merge-robot d7ae892e8e Merge pull request #22050 from mwielgus/describe-hpa-annotations
Auto commit by PR queue bot
2016-02-26 05:51:08 -08:00
k8s-merge-robot 93c005e37c Merge pull request #21999 from yujuhong/log_more
Auto commit by PR queue bot
2016-02-26 05:51:07 -08:00
k8s-merge-robot f15d8528b6 Merge pull request #21603 from madhusudancs/scale-internal-autoscale
Auto commit by PR queue bot
2016-02-26 03:48:11 -08:00
Marcin Wielgus d174353ec9 Print annotations in HPA describe` 2016-02-26 12:04:19 +01:00
David Oppenheimer 690aae1e67 Wait for goroutines creating routes to finish. 2016-02-25 22:36:51 -08:00
Brian Grant 39f0edca75 Fix expectations in Deployment. Ref #19299. 2016-02-26 06:15:26 +00:00
k8s-merge-robot 95b7fbf6f8 Merge pull request #21959 from Random-Liu/terminated_pods
Auto commit by PR queue bot
2016-02-25 20:41:55 -08:00
k8s-merge-robot 8c60068b36 Merge pull request #21794 from caesarxuchao/fix-19715
Auto commit by PR queue bot
2016-02-25 18:31:52 -08:00
Mike Danese d7a7f87eee fix nil pointer in dameonset controller 2016-02-25 16:17:33 -08:00
Madhusudan.C.S b69ec9faff Teach serde test to deal with autoscaling group's duality. 2016-02-25 15:05:28 -08:00
James Ravn f568b6511a Handle aws implicit and shared routing tables
Fix the AWS subnet lookup that checks if a subnet is public, which was
missing a few cases:

- Subnets without explicit routing tables, which use the main VPC
  routing table.
- Routing tables not tagged with KubernetesCluster. The filter for this
  is now removed.
2016-02-25 22:52:26 +00:00
Prashanth Balasubramanian fcc7e99b83 Log response body when http probe fails. 2016-02-25 13:29:06 -08:00
Sami Wagiaalla d7c6eb92d9 Remove 'be formatted' from VolumeSource docs
Volumes do not need to be formatted as we now have the
SafeFormatAndMount utility which formats volumes when needed.
2016-02-25 16:19:35 -05:00
Sami Wagiaalla 8c21967dd8 Only call Detacher after the final unmount 2016-02-25 14:11:07 -05:00
childsb 8d4aa5d387 Run through gofmt -s 2016-02-25 13:00:12 -06:00
Fabiano Franz 5bffa5b858 SPDY roundtripper support to proxy with Basic auth 2016-02-25 15:54:50 -03:00
Chao Xu b94e15d6c1 Merge pull request #21723 from caesarxuchao/log-in-patch
Adding an apiserver log entry when Patch fails because of a meaningful conflict
2016-02-25 10:28:18 -08:00
Brian Grant 63feac0afc Merge pull request #21872 from kargakis/maxUavailability-fix
kubectl: preserve availability when maxUnavailability is not 100%
2016-02-25 09:35:37 -08:00
Eric Tune 2afcc7d165 Regenerate 2016-02-25 09:28:07 -08:00
Eric Tune 79d4ab77fc Conversion between manualSelector and autoSelector 2016-02-25 09:28:07 -08:00
Eric Tune 875755f992 Added Selector Generation to Job.
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.

Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.

Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal.  Conversion between those two
is automatic.

Adds "autoSelector" field to extensions/v1beta1 Job.  Used for storing batch/v1 Jobs
    - Default for v1 is to do generation.
    - Default for v1beta1 is to not do it.
    - In both cases, unset == false == do the default thing.

Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.

The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
  job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
  In v1, a unique label is generated and added to the pod template, and used as the selector (other
  labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
  versus a more error-prone but more flexible "manual" (not generated) seletor.  Most users
  will not need to use this field and should leave it unset.

Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior.  They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
Dogan Narinc and Yoseph Samuel aa65fe8903 Fix EBS when hostname is not the node name
Similar to #11543, the local hostname is not guaranteed to be the node
name, as the AWS cloud provider looks up node name using
`private-dns-name`. This value can be different such as when using a
private hosted zone.

The previous code uses GetHostName(), which fails in this case. Instead,
pass in an empty string so the aws cloud provider will use the cached
self instance to find the instance id.

Authors: @balooo, @dogan-sky, @jsravn
2016-02-25 16:45:44 +00:00
Justin Santa Barbara 1cdfc9ad84 AWS: Find the correct security group by looking at tags
Like everything else AWS, we differentiate between k8s-owned security
groups and k8s-not-owned security groups using tags.

When we are setting up the ingress rule for ELBs, pick the security
group that is tagged over any others.

We continue to tolerate a single security group being untagged, but
having multiple security groups without tagging is now an error, as it
leads to undefined behaviour.

We also log at startup if the cluster tag is not defined.

Fix #21986
2016-02-25 11:20:58 -05:00
AdoHe aa6f07636b kubectl add job DESIRED column 2016-02-25 10:43:04 -05:00
Wojciech Tyczynski 506899008f Parallelization of namespace deletion 2016-02-25 16:33:25 +01:00
k8s-merge-robot cbf5dc1228 Merge pull request #21272 from deads2k/add-priority-restmapper
Auto commit by PR queue bot
2016-02-25 07:26:41 -08:00
Harry Zhang 636e982ecd Implement checking in predicates 2016-02-25 21:25:36 +08:00
k8s-merge-robot a7f06905c3 Merge pull request #21185 from fabianofranz/fix_spdy_roundtripper_verify_hostname
Auto commit by PR queue bot
2016-02-25 04:45:12 -08:00
deads2k cf6234d219 add prioritized RESTMapper to registered 2016-02-25 07:35:23 -05:00
deads2k 9c42d219bc allow disambiguation of resouces 2016-02-25 07:35:23 -05:00
deads2k 2b84d58b6d add a PriorityRESTMapper that can choose particular group/version of a resource 2016-02-25 07:35:23 -05:00
deads2k 2e64a0d10c update multiRESTMapper to properly union constituent RESTMappers 2016-02-25 07:35:22 -05:00
deads2k 94d683e89b fix ShortcutRESTMapper and prevent it from ever silently failing again 2016-02-25 07:35:22 -05:00
k8s-merge-robot 82b0f0ff5e Merge pull request #20940 from pwittrock/volume-sync
Auto commit by PR queue bot
2016-02-25 02:29:31 -08:00
k8s-merge-robot 33ef7a93a4 Merge pull request #20647 from dcbw/allow-disabling-bridge-nf-call-iptables
Auto commit by PR queue bot
2016-02-25 01:27:47 -08:00
kargakis 9cc19102f3 kubectl: preserve availability when maxUnavailability is not 100% 2016-02-25 10:10:41 +01:00
k8s-merge-robot 5f86dd1b2f Merge pull request #21906 from justinsb/util_sets_docstring
Auto commit by PR queue bot
2016-02-25 00:24:54 -08:00
k8s-merge-robot 2a58c0062d Merge pull request #17913 from jtblin/jtblin/17912-pick-public-subnets
Auto commit by PR queue bot
2016-02-24 23:48:15 -08:00
Brian Grant b27edde38d Merge pull request #21957 from mqliang/deployment-preserve-availability
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-24 22:09:54 -08:00
Brian Grant be6515ca90 Merge pull request #21935 from janetkuo/nil-pointer
Fix the nil pointer dereference when counting RS replicas
2016-02-24 21:58:41 -08:00
Jordan Liggitt ea59b4c741 Fix sinceTime pod log options 2016-02-25 00:46:13 -05:00
mqliang 06d57ec7f4 Deployment: preserve availability when maxUnavailability is not 100% 2016-02-25 13:30:06 +08:00
Brian Grant 63c85691bd Merge pull request #21795 from janetkuo/deployment-e2e-flake-panic
Fix the nil pointer dereference in addHashKeyToRSAndPods
2016-02-24 21:25:35 -08:00
Yu-Ju Hong 99587b7e3a 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-24 21:23:41 -08:00
Random-Liu 61f7a5d228 Fix bug in fake docker client 2016-02-24 21:23:41 -08:00
k8s-merge-robot 9a4e3f8470 Merge pull request #21870 from mqliang/lookup-cache
Auto commit by PR queue bot
2016-02-24 20:01:29 -08:00
Yu-Ju Hong f9880d4a3a kubelet: lower the verbosity level of some logging messages 2016-02-24 18:42:26 -08:00
k8s-merge-robot dcbeacded0 Merge pull request #21521 from mesosphere/jdef_kubelet_options1
Auto commit by PR queue bot
2016-02-24 18:35:10 -08:00
Janet Kuo 069e77d504 Fix the nil pointer dereference when counting RS replicas 2016-02-24 18:27:27 -08:00
Janet Kuo 3ed8426a98 When calculating pod template hash, don't include the hash label 2016-02-24 18:09:59 -08:00
Janet Kuo 96908d6de5 Add more logs 2016-02-24 16:41:36 -08:00
Janet Kuo 082702390a Fix test flake 2016-02-24 16:41:36 -08:00
Janet Kuo 020ab8813d Check observed generation only after rs template is labeled in addHashKeyToRSAndPods 2016-02-24 16:41:36 -08:00
Janet Kuo 1d1c6f19b4 Fix the nil pointer dereference in addHashKeyToRSAndPods 2016-02-24 16:41:36 -08:00
Alex Robinson 2b13bc471b Merge pull request #21892 from jayunit100/backoff-flake-fix
fake backoff implementation for speeding up flakey test
2016-02-24 16:26:56 -08:00
Brian Grant 80614896db Merge pull request #21509 from madhusudancs/kubectl-get-list-deployments-daemonsets
Add DaemonSets and Deployments to valid resources list in kubectl.
2016-02-24 15:30:08 -08:00
Madhusudan.C.S 312a7f36e2 Generated code. 2016-02-24 15:23:39 -08:00
Madhusudan.C.S db29401857 Define the new Scale type in the autoscaling API group.
This new Scale type supports the more powerful set-based label selector
semantics. The selector, however, is stored in a serialized format, as
a string.
2016-02-24 15:23:31 -08:00
Brian Grant bea349a80d Merge pull request #21856 from bprashanth/ttl_race
Lock across item expiration in the ttl store.
2016-02-24 15:06:25 -08:00
Chao Xu 3efd3c62e6 Replace ineffective DeleteOptions with nil 2016-02-24 15:06:24 -08:00
Brian Grant 88056edab2 Merge pull request #21902 from janetkuo/deployment-unavailable-replicas
Fix the incorrect deployment.status.unavailableReplicas
2016-02-24 14:48:04 -08:00
Brian Grant 0b5edab208 Merge pull request #21857 from nikhiljindal/stopDeployment
fix deployment e2e flake: Update DeploymentReaper.Stop to use ObservedGeneration
2016-02-24 14:26:23 -08:00
Mike Danese 5ec02bd021 add http handler to export configuration state 2016-02-24 14:12:28 -08:00
Janet Kuo 062b9f86b9 Fix the incorrect deployment.status.unavailableReplicas 2016-02-24 14:09:49 -08:00
Chao Xu cf98bcb48a Merge pull request #21816 from caesarxuchao/fix-21763
Fix the EventSink in HPA controller
2016-02-24 14:09:02 -08:00
Prashanth Balasubramanian 7e88b3ec84 Remove ttl store from controllers. 2016-02-24 14:06:22 -08:00
Prashanth Balasubramanian 45eb835833 Lock across item expiration in the ttl store. 2016-02-24 14:06:18 -08:00
Brian Grant 4add4ebacc Merge pull request #21445 from janetkuo/fix-rolling-update-nil
Fix rolling-update --image nil pointer dereference
2016-02-24 13:59:01 -08:00
Brian Grant 832bc37ee4 Merge pull request #21713 from janetkuo/deployment-actual-replicas
Report actual replicas in deployment status
2016-02-24 13:55:16 -08:00
Brian Grant b5c6341ec9 Merge pull request #21435 from janetkuo/use-intptr
Use IntPtr
2016-02-24 13:54:21 -08:00
nikhiljindal 2a538e317f Moving deployment deletion at the end 2016-02-24 13:00:45 -08:00
Justin Santa Barbara 2f0a56103c Cleanup of docstring for types.go
Make it a little clearer what command actually needs to be run!
2016-02-24 14:14:37 -05:00
jay vyas 4097cfe022 fake backoff implementation for speeding up flakey test, fake Clock Test for sleep 2016-02-24 13:50:29 -05:00
Vishnu kannan 5db37b0b2d Disable seccomp policy by default on docker versions >= v1.10
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-24 10:26:21 -08:00
Marek Grabowski 4f12103354 Revert "kubelet: fix duplicated status updates at pod cleanup" 2016-02-24 17:57:57 +01:00
Rudi Chiarito af4507b1ae Add service name to descriptions for GCE LB resources
Follow up from #20731. I have no way of testing this.

There's an additional group of functions (Get|Delete|Reserve)GlobalStaticIP that can create an IP without the
service description, but those are not called anywhere in the Kubernetes codebase and are probably for the
Ingress project. I'm leaving those alone for now.
2016-02-24 10:21:31 -05:00
deads2k 357aebc89c update long running to handle recommend watch mechanism 2016-02-24 10:20:25 -05:00
mqliang e44e71ca87 make cache size configurable 2016-02-24 22:37:02 +08:00
k8s-merge-robot d30c709a24 Merge pull request #21732 from Random-Liu/terminated_pods
Auto commit by PR queue bot
2016-02-24 05:10:25 -08:00
k8s-merge-robot 8a5c959494 Merge pull request #19043 from mqliang/lookup-cache
Auto commit by PR queue bot
2016-02-24 04:02:33 -08:00
mqliang d9a35a25d7 add lookup cache for ReplicationController and ReplicaSet 2016-02-24 17:43:22 +08:00
Piotr Szczesniak 13a9f9f883 autogenerated 2016-02-24 09:58:49 +01:00
nikhiljindal 9d7259950b Update status for paused deployments 2016-02-24 00:49:03 -08:00
Piotr Szczesniak ea2075404d Removed cluster autoscaler types frome extensions/v1beta1 2016-02-24 09:45:13 +01:00
Marcin Wielgus 81fcd778e3 Merge pull request #21550 from mwielgus/hpa-pending
Don't include pending pods in metrics calculations
2016-02-24 09:38:36 +01:00
Piotr Szczesniak 4d1367c212 Added more unit test for hpa status 2016-02-24 09:18:39 +01:00
nikhiljindal 7e50fa6df0 Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition 2016-02-24 00:09:44 -08:00
k8s-merge-robot 9c1d8bf99d Merge pull request #21399 from sky-uk/disable-ingress-sg
Auto commit by PR queue bot
2016-02-24 00:05:47 -08:00
k8s-merge-robot 491c6641a4 Merge pull request #20809 from sky-uk/only-find-running-aws-nodes
Auto commit by PR queue bot
2016-02-24 00:05:44 -08:00
k8s-merge-robot 014f73c93f Merge pull request #21295 from AdoHe/kubectl_desired_column
Auto commit by PR queue bot
2016-02-24 00:05:41 -08:00
Marcin Wielgus 08c973d7eb Merge pull request #21760 from piosz/hpa-kubectl
Added support for HPA v1 in kubectl describe
2016-02-24 09:02:46 +01:00
Marcin Wielgus 7ee767e4e8 Merge pull request #21743 from piosz/hpa-status
HPA update its status even if getting metrics failed
2016-02-24 09:01:35 +01:00
Marcin Wielgus 6f73f89f40 Merge pull request #21663 from gmarek/route
Wait for all route creation in RouteController
2016-02-24 09:00:08 +01:00
k8s-merge-robot 51150a2ac5 Merge pull request #21823 from janetkuo/sort-event-timestamp
Auto commit by PR queue bot
2016-02-23 23:35:33 -08:00
Jordan Liggitt b502b8f6a1 Restore service port validation compatibility with 1.0/1.1 2016-02-23 21:27:44 -05:00
Abhi Shah 5f553a218e Merge pull request #21724 from freehan/imagepull
fix cascading backoff
2016-02-23 17:53:35 -08:00
Janet Kuo 82dcc56fe3 Improve log for debug 2016-02-23 17:52:24 -08:00
Dawn Chen a8c0ac88fc Merge pull request #21754 from kargakis/use-generation-for-deployments
Use generation for deployments
2016-02-23 16:42:16 -08:00
Chao Xu e20e295cbe fix Event broadcaster for HPA 2016-02-23 16:15:10 -08:00
Janet Kuo e7356679bc Fix rolling-update --image nil pointer dereference 2016-02-23 15:07:53 -08:00
k8s-merge-robot 8f0ab31d48 Merge pull request #21762 from gmarek/nodecontroller
Auto commit by PR queue bot
2016-02-23 12:48:09 -08:00
Andy Goldstein 51251ef5c1 Skip probe if container ID not yet set
If the container status exists but the container hasn't been created yet, it won't have an ID.
Have the probe wait for a valid status if the container ID is not yet set; otherwise, you'll see the
following cryptic log message from runtime.go: invalid container ID: "".
2016-02-23 15:32:13 -05:00
Piotr Szczesniak 3e023411f6 Added events to kubectl describe hpa 2016-02-23 20:44:51 +01:00
Madhusudan.C.S 781480d7fe Add DaemonSets and Deployments to valid resources list in kubectl. 2016-02-23 11:19:19 -08:00
kargakis 6506d76f76 update-all changes for deployment's observedGeneration 2016-02-23 19:42:35 +01:00
kargakis 7a3d40786b switch internal field to int64 2016-02-23 19:30:33 +01:00
kargakis 2cb37f3500 update generation api comments 2016-02-23 19:30:33 +01:00
k8s-merge-robot cdbbeae3e5 Merge pull request #21486 from fgrzadkowski/docker_ubuntu_fix
Auto commit by PR queue bot
2016-02-23 09:48:50 -08:00
kargakis 418d79cb78 extensions: add observedGeneration for deployments 2016-02-23 18:47:40 +01:00
gmarek e99ad585ce Decrease verbosity in NodeController 2016-02-23 17:03:38 +01:00
k8s-merge-robot d0ce85a6d1 Merge pull request #21687 from kargakis/generation-updates-for-label-annotation-changes
Auto commit by PR queue bot
2016-02-23 07:51:48 -08:00
Piotr Szczesniak 7f83e07465 Added support for HPA v1 in kubectl describe 2016-02-23 16:50:28 +01:00
childsb 61f6c3bc13 Remove the check for a gluster specific binary in 'canSupport'. Causes problems in containerized kube. 2016-02-23 09:40:35 -06:00
Dan Williams 6248939e11 Push responsibility for bridge-nf-call-iptables to kubelet network plugins
bridge-nf-call-iptables appears to only be relevant when the containers are
attached to a Linux bridge, which is usually the case with default Kubernetes
setups, docker, and flannel.  That ensures that the container traffic is
actually subject to the iptables rules since it traverses a Linux bridge
and bridged traffic is only subject to iptables when bridge-nf-call-iptables=1.

But with other networking solutions (like openshift-sdn) that don't use Linux
bridges, bridge-nf-call-iptables may not be not relevant, because iptables is
invoked at other points not involving a Linux bridge.

The decision to set bridge-nf-call-iptables should be influenced by networking
plugins, so push the responsiblity out to them.  If no network plugin is
specified, fall back to the existing bridge-nf-call-iptables=1 behavior.
2016-02-23 09:34:59 -06:00
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
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 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
Dan Gillespie 55cb45afd2 changed NewDefaultRESTMapper to check for a partial package path 2016-02-23 04:24:01 -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
Random-Liu 3338304c7b Fix error logic and leaking goroutine in docker unit test. 2016-02-23 01:29:05 -08:00