Commit Graph

3452 Commits (4420e0452ed94083ae3d3aa61df34875d310ed9a)

Author SHA1 Message Date
Satnam Singh 27c77567d9 Merge pull request #5342 from nikhiljindal/masterUrl
Adding http:// prefix to the swagger WebServicesURL to prevent basePath validation errors
2015-03-12 10:58:36 -07:00
Brian Grant 19b6c85fa5 Merge pull request #5363 from wojtek-t/no_bound_pods_in_scheduler
Make scheduler to watch PodSpec.Host instead Status.Host
2015-03-12 10:57:03 -07:00
Victor Marmol 2939abb6cb Merge pull request #5383 from wojtek-t/kubelet_test
Speedup pkg/kubelet/runonce_test.go
2015-03-12 10:22:03 -07:00
Alex Robinson 32fbce0707 Merge pull request #5375 from bprashanth/delete_lb
Don't check status of a failed delete operation
2015-03-12 09:57:35 -07:00
Victor Marmol f9d2ab6e48 Use time.Sleep() instead of <-time.After(). 2015-03-12 09:25:09 -07:00
Wojciech Tyczynski dca3db0a50 Speedup pkg/kubelet/runonce_test.go 2015-03-12 17:12:04 +01:00
Prashanth Balasubramanian 4849f33cc5 Don't check status of a failed delete operation 2015-03-12 08:52:18 -07:00
Timothy St. Clair 308bb84cf3 Minor cleanup for etcd cleaning from kubelet 2015-03-12 09:39:22 -05:00
Brian Grant 3cbe9aadff Merge pull request #5355 from yujuhong/fixspechost
Copy Spec.Host to Status.Host on pod creation
2015-03-12 07:25:29 -07:00
Wojciech Tyczynski 9f2f10d6db Make scheduler to watch PodSpec.Host instead Status.Host 2015-03-12 13:38:58 +01:00
Satnam Singh a3fd0a9fd5 Merge pull request #5284 from piosz/guestbook_bug
Rewrite guestbook example to use kube-dns instead of host:port
2015-03-11 23:14:18 -07:00
Yu-Ju Hong 533299bf0a Copy Spec.Host to Status.Host on pod creation 2015-03-11 21:53:51 -07:00
MikeJeffrey 0c6cd21520 Merge pull request #5345 from jlowdermilk/kubectl-docs
Fix md generation for kubectl docs
2015-03-11 17:19:51 -07:00
Victor Marmol 1e0601da8a Merge pull request #5343 from erictune/rm_etcd
Kubelet has not even heard of etcd.
2015-03-11 16:59:04 -07:00
nikhiljindal 8c3f728aa6 Adding http:// prefix to the swagger WebServicesURL to prevent basePath validation errors 2015-03-11 16:52:45 -07:00
Jeff Lowdermilk a5746c9a0e Fix md generation for kubectl docs
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
Eric Tune ae9bc28f8b Remove mentions of etcd in kubelet. 2015-03-11 16:40:20 -07:00
Eric Tune ac7bf05079 Kubelet has not even heard of etcd. 2015-03-11 16:29:31 -07:00
Eric Tune e9b6c75b6a Stop updating boundPods objects.
Does not clean up your existing boundPods records.
Does not clean up all the dead code.  Future PRs from me
will do that.
2015-03-11 16:06:03 -07:00
Victor Marmol 03b182e8e9 Merge pull request #5325 from brendandburns/api3
Add and extend timeouts.
2015-03-11 15:20:21 -07:00
Brendan Burns b53b2e1de0 Add and extend timeouts. 2015-03-11 14:12:46 -07:00
Prashanth Balasubramanian 28d9260c0b Sync replication count with the api server on pod creation/deletion. 2015-03-11 13:29:20 -07:00
Daniel Smith cc3a433a7a fix goroutine leak 2015-03-11 12:51:20 -07:00
Zach Loafman e780592315 Merge pull request #5264 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Brian Grant 0b48d3209e Merge pull request #5299 from yujuhong/updatable_v1beta3
v1beta3: fields that cannot be updated are marked "cannot be udpated"
2015-03-11 11:36:59 -07:00
Brian Grant 1a75c8843c Merge pull request #5256 from jszczepkowski/podspec-host
Implemented writing Host in Pod.Spec during binding.
2015-03-11 11:30:45 -07:00
Nikhil Jindal 56d365bdd8 Merge pull request #5301 from lavalamp/fix6
double-fix crash on my cluster
2015-03-11 10:44:42 -07:00
Yu-Ju Hong 0524d6479d v1beta3: fields that cannot be updated are marked "cannot be udpated" 2015-03-11 10:10:08 -07:00
Nikhil Jindal 9baa261728 Merge pull request #5219 from jlowdermilk/kubectl-err-handling
Make kubectl commands return errors and centralize exit handling
2015-03-11 10:06:52 -07:00
Daniel Smith 6606f9c9f5 double-fix crash on my cluster 2015-03-11 09:54:33 -07:00
Brian Grant e32d0dbfd9 Merge pull request #5237 from jszczepkowski/stop-labels
Added support for labels to "kubectl stop".
2015-03-11 09:51:30 -07:00
Dawn Chen 88e0b04916 Merge pull request #5287 from ncdc/master
Remove debugging log message from ExecInContainer
2015-03-11 09:45:37 -07:00
Brian Grant 168eb000c0 Merge pull request #4619 from erictune/no_port_conflict
Remove HostPort conflict checking.
2015-03-11 09:41:55 -07:00
Wojciech Tyczynski 0ffd607c79 PodWorkers test. 2015-03-11 16:58:22 +01:00
Victor Marmol 18ebae9653 Merge pull request #5239 from wojtek-t/desired_pod_cache
Change PodWorkers to have desired cache.
2015-03-11 08:54:49 -07:00
Wojciech Tyczynski 80576dfed3 Change PodWorkers to have desired cache. 2015-03-11 16:38:31 +01:00
Tim Hockin 52298ab851 Merge pull request #4865 from sub-mod/proxier_go_change
use ChooseHostInterface in kube-proxy
2015-03-11 08:09:32 -07: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
Piotr Szczesniak 4679a37b38 Rewrite guestbook example to use kube-dns instead of host:port
This fixes #5091
2015-03-11 09:51:47 +01: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
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
Brian Grant 827a92316c Merge pull request #5251 from derekwaynecarr/namespace_lifecycle
Add a NamespacePhase to Namespace
2015-03-10 15:21:07 -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
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
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
Daniel Smith e1f64b2901 Merge pull request #5235 from jszczepkowski/pods-watch
Watch support in PodInterface.
2015-03-10 11:59:04 -07:00