Commit Graph

7309 Commits

Author SHA1 Message Date
derekwaynecarr
20853410bd Unify azure and aws admission control 2015-03-11 11:06:00 -04:00
derekwaynecarr
468bf1da75 Enable common set of admission controllers across salt providers 2015-03-11 11:06:00 -04:00
Andy Goldstein
0c798bbe52 Remove debugging log message from ExecInContainer 2015-03-11 10:07:14 -04:00
Jerzy Szczepkowski
9a6857cf2c Fixed writing Host in Pod.Spec during binding.
Fixed writing Host in Pod.Spec during binding. Related to #5207.
2015-03-11 14:48:10 +01:00
Ilya Dmitrichenko
82fbc2517b coreos/azure: Pass number of minions as an argument 2015-03-11 12:22:55 +00:00
Kieran O'Mahony
2b05820619 Update SkyDNS version
I had some trouble with the kubernetes docker image for SkyDNS being outdated. In my experience the version in `kubernetes/skydns:2014-12-23-001` will not behave correctly if it manages to startup before etcd, for details see skynetservices/skydns#142

 Updating to SkyDNS latest fixes this.
2015-03-11 09:46:46 +00:00
Jerzy Szczepkowski
110ab79f05 Added support for labels to "kubectl stop".
Added support for labels and --all to "kubectl stop". Fixes #5178.
2015-03-11 09:43:29 +01:00
Subin M
b8c91e7344 use ChooseHostInterface in kube-proxy 2015-03-11 13:50:53 +05:30
Eric Tune
5e8d70f76b Remove HostPort conflict checking.
We decided to get rid of boundPods.   Removing this check is
a prerequisite for that.  This check had some value before we had
IP-per-Pod.  However, AIUI, use of HostPort is strongly discouraged
in Kubernetes.  It still exists as part of a Pod spec because
of ContainerVM, where it is used.  But, this change does not affect
ContainerVM, where there is no master.

If someone did create pods with HostPort using kubernetes, the following
would happen:
  - The scheduler would try not to put two conflicting pods on the same
    machine (pkg/scheduler/predicates.go : PodFitsPorts() )
  - I'm not sure if it is currently possible for a race to occur where
    the PodFitsPorts check were bypassed.   Maybe it could happen.
  - If the kubelet was sent conflicting pods, it would detect them in
    ( pkg/kubelet/kubelet.go :  filterHostPortConflicts() ).  It would
    arbitrarily pick one pod to run and another to ignore.
  - If all of the above happened and the user filed and issue on github,
    we might figure out that the user used HostPort and tell the user to stop.

TODO:
 - e2e test
 - Several of the demos in examples/ use hostPort.  Change them to
   not specify hostPort and have a service instead.
2015-03-10 22:46:30 -07:00
Zach Loafman
6d465c4d86 Merge pull request #5273 from zmerlynn/salt_drones
Remove dep on yaml for GCE startup
2015-03-10 17:00:28 -07:00
Zach Loafman
759e82c29f Remove dep on yaml for GCE startup
Write out "yaml" in util.sh. Dying a little. :'(

Fixes #5258
2015-03-10 16:38:52 -07:00
Satnam Singh
cef905a7b2 Fix status message in waitForPodConidition 2015-03-10 16:06:03 -07:00
Brian Grant
d8c6e3466e Merge pull request #4482 from simon3z/endpoints-podid
api: return endpoints pod identifiers
2015-03-10 16:00:00 -07:00
Zach Loafman
5e99abe19a Merge pull request #5271 from GoogleCloudPlatform/revert-5259-salt_drones
Revert "Fix need for yaml in GCE kube-up by importing PyYAML into third_...
2015-03-10 15:46:36 -07:00
Zach Loafman
7333d991fb Revert "Fix need for yaml in GCE kube-up by importing PyYAML into third_party" 2015-03-10 15:42:28 -07:00
Federico Simoncelli
daed0af3b5 api: return endpoints target object references
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 18:32:53 -04:00
Eric Tune
aa4dbc0df8 Merge pull request #4483 from errordeveloper/master
docs: Kubernetes on Azure with CoreOS and Weave
2015-03-10 15:23:33 -07:00
Brian Grant
827a92316c Merge pull request #5251 from derekwaynecarr/namespace_lifecycle
Add a NamespacePhase to Namespace
2015-03-10 15:21:07 -07:00
Brian Grant
7ce402a960 Merge pull request #5171 from sdminonne/issue_341_step_2
Adding fields selector
2015-03-10 14:34:57 -07:00
Jeff Lowdermilk
7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Salvatore Dario Minonne
925fa6baf8 Adding fields selector 2015-03-10 22:13:10 +01:00
Jeff Lowdermilk
5b4a348a5a Merge pull request #5259 from zmerlynn/salt_drones
Fix need for yaml in GCE kube-up by importing PyYAML into third_party
2015-03-10 14:10:44 -07:00
Brian Grant
9aa744925e Merge pull request #5030 from simon3z/nodeinfo
Add support for fetching node collected information
2015-03-10 14:05:41 -07:00
Zach Loafman
965f684e2f Adjust kube-env.py to use third_party PyYAML 2015-03-10 13:53:13 -07:00
Jeff Lowdermilk
7358084fd5 Utilities to create and clear kubeconfig for use by kube-up scripts 2015-03-10 13:52:04 -07:00
Brian Grant
25cad2c474 Merge pull request #5255 from vmarmol/cadvisor-dep
Updating cAdvisor dependency.
2015-03-10 13:51:40 -07:00
Daniel Smith
a89c1959d4 Merge pull request #5122 from markturansky/volume_interface_improvements
Change volume.NewBuilder podUID argument to ObjectRef
2015-03-10 13:37:49 -07:00
Zach Loafman
43b1668dae Initial commit of third_party/PyYAML:
Both @jlowdermilk and I have tried to use this for initial
configuration work. It's cheaper just to import it for now:

Name: PyYAML
Version: 3.11
Summary: YAML parser and emitter for Python
Home-page: http://pyyaml.org/wiki/PyYAML
Author: Kirill Simonov
Author-email: xi@resolvent.net
License: MIT
Download-URL: http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz
Description: YAML is a data serialization format designed for human readability
        and interaction with scripting languages.  PyYAML is a YAML parser
        and emitter for Python.

        PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
        support, capable extension API, and sensible error messages.  PyYAML
        supports standard YAML tags and provides Python-specific tags that
        allow to represent an arbitrary Python object.

        PyYAML is applicable for a broad range of tasks from complex
        configuration files to object serialization and persistance.
2015-03-10 13:08:54 -07:00
Daniel Smith
c542518ed6 Merge pull request #4862 from rrati/e2e-density-4861
Added a density test to start 100 pods/node in a cluster #4861
2015-03-10 12:05:31 -07:00
Daniel Smith
e1f64b2901 Merge pull request #5235 from jszczepkowski/pods-watch
Watch support in PodInterface.
2015-03-10 11:59:04 -07:00
Daniel Smith
d8d64987ab Merge pull request #5144 from jayunit100/docs
Describe how to use publicIPs to access guestbook externally when not us...
2015-03-10 11:56:49 -07:00
Paul Morie
a486ab078f Fix selfLink issues in integration test 2015-03-10 14:40:16 -04:00
markturansky
c7e619d4a0 Change volume.NewBuild arg from podUID to ObjectReference 2015-03-10 14:40:16 -04:00
Brian Grant
7aa060bae7 Merge pull request #4706 from mikedanese/PATCH
add PATCH verb to apiserver
2015-03-10 11:38:22 -07:00
Brian Grant
8273fffb84 Merge pull request #5079 from dchen1107/doc
Convert resource-quota and rethinkdb to v1beta3
2015-03-10 11:29:37 -07:00
Brian Grant
a4d79bfb2c Merge pull request #5139 from ddysher/node-more-describe
Add more information to node describe
2015-03-10 11:26:51 -07:00
Brian Grant
721e754083 Merge pull request #5153 from abhgupta/abhgupta-dev
Using only pods within the same namespace for spreading logic
2015-03-10 11:24:33 -07:00
Brian Grant
a5ecfbfe42 Merge pull request #5185 from smarterclayton/ignore_creation_timestamp
Ignore changes to creation timestamp from clients on update
2015-03-10 11:21:13 -07:00
Dawn Chen
56cbe6c59f Merge pull request #5231 from mikedanese/no-more-globals
Move global func into NodeController
2015-03-10 11:12:45 -07:00
derekwaynecarr
7de138a9bb Add a NamespacePhase to Namespace 2015-03-10 14:11:54 -04:00
Derek Carr
99a5ab4cfa Merge pull request #5248 from pmorie/fix-events
Fix event recorder not to log events without a reference
2015-03-10 14:08:00 -04:00
Brian Grant
186f17737e Merge pull request #5252 from erictune/remove_etcd_flags
Remove --etcd_servers flag from kubelet and proxy.
2015-03-10 11:06:12 -07:00
Brian Grant
b3d3db08ef Merge pull request #5064 from justinsb/ignore_stopped_aws_instances
Ignore EC2 instances that are stopped
2015-03-10 11:03:34 -07:00
Victor Marmol
80dbe6eaa8 Updating cAdvisor dependency.
Includes manager and its dependencies.
2015-03-10 10:57:27 -07:00
Mike Danese
46ec580771 add PATCH to apiserver 2015-03-10 10:56:15 -07:00
Nikhil Jindal
4805aecff8 Merge pull request #5197 from erictune/coreos_fix_proxy
Kube-proxy to use apiserver instead of etcd in CoreOS getting-started-guide.
2015-03-10 10:55:37 -07:00
Nikhil Jindal
25ff33ae6e Merge pull request #5214 from brendandburns/agent
Add user agent and source IP logging to the httpserver logs.
2015-03-10 10:53:55 -07:00
Alex Robinson
6700a7f230 Merge pull request #5253 from satnam6502/fluentd
Modify Fluentd to ES setup to pass flags
2015-03-10 10:46:26 -07:00
Nikhil Jindal
62f17640f1 Merge pull request #5226 from ghodss/patch-6
Update README to include design overview
2015-03-10 10:45:34 -07:00
Robert Rati
798b3ee7fd Added a density test to start 100 pods/node in a cluster #4861 2015-03-10 13:41:24 -04:00