Commit Graph

9819 Commits

Author SHA1 Message Date
Fabio Yeon
0163ebf224 Merge pull request #7106 from justinsb/aws_fakeec2_filter_by_instanceid
Add FakeEC2 Instances support for matching by instance id
2015-04-21 11:39:25 -07:00
Tim Hockin
5ff76bfdab Merge pull request #7102 from jsafrane/devel/fix-gluster-namespace
Use pod namespace when looking for its GlusterFS endpoints.
2015-04-21 11:18:52 -07:00
Akram Ben Aissi
b7fc22be8a Fixes an issue with hosts having an IPv6 address on localhost
- When 'getent hosts localhost' returns '::1' the creation of the
  listener fails because of the port parsing which uses ":" as a
separator
- Use of net.SplitHostPort() to do the job
- Adding unit tests to ensure that the creation succeeds
- On docker.go: adds a test on the presence the socat command which was
  failing silenty if not installed

- Code Review 1
  - Fixed typo on Expected
  - The UT now fails if the PortForwarder could not be created

- Code Review 2
  - Simplify socat error message
  - Changing t.Fatal to to.Error on unit tests

- Code Review 3
  - Removing useless uses cases in unit tests

- Code Review 4
  - Removing useless initiliasiation of PortForwarder
  - Changing error message

- Code Review 5
  - Simplifying TestCast struct
  - Adding addition test in one test case
  - Closing the listener

- Code Review 6
  - Improving unit test
2015-04-21 20:16:22 +02:00
Jeff Lowdermilk
70a576e25a Use standalone kubectl for gke, remove special case for vagrant
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
markturansky
0b6eb6c05b Fixed typo in README.md 2015-04-21 13:58:28 -04:00
Robert Rati
020ba6a6c7 Converted from continually listing events to using an Informer #6637 2015-04-21 13:57:16 -04:00
Robert Rati
23c5b7714e Bounded the loop waiting for all events to be logged and print a warning
if not all are logged 10 minutes after all pods are started #6637
2015-04-21 13:57:16 -04:00
Robert Rati
93d1040fcd Add checking of events after all pods started to verify no failures in
density test #6637
2015-04-21 13:57:15 -04:00
Derek Carr
74d6f30b3c Merge pull request #7022 from markturansky/ns_controller_indempotent
Made NamespaceManager.Run idempotent and added graceful shutdown
2015-04-21 13:55:14 -04:00
Yu-Ju Hong
df2cbd4877 Prioritize deleting the non-running pods when reducing replicas
This changes instructs the replication controller to delete replicas in the
order of "unscheduled (pending)", "scheduled (pending)", and "scheduled
(running)" pods. This is less disruptive than deleting random pods.
2015-04-21 10:17:29 -07:00
Eric Tune
b944049fe9 Merge pull request #6916 from ArtfulCoder/controller-in-a-pod
kube-controller-manager in a pod.
2015-04-21 09:58:29 -07:00
Zach Loafman
2a3e0796f8 Merge pull request #7108 from jayunit100/kubectl-1
Use --host option even if kubecontext is not provided.
2015-04-21 09:33:21 -07:00
Eric Tune
2ca8a9d15d Added kube-proxy token.
Generates the new token on AWS, GCE, Vagrant.
Renames instance metadata from "kube-token" to "kubelet-token".
(Is this okay for GKE?)

Having separate tokens for kubelet and kube-proxy permits
using principle of least privilege, makes it easy to
rate limit the clients separately, allows annotation
of apiserver logs with the client identity at a finer grain
than just source-ip.
2015-04-21 09:21:31 -07:00
Eric Tune
7475efbcfb Extend PR#5470 for AWS and Vagrant 2015-04-21 08:22:31 -07:00
Victor Marmol
4b9a64bcd8 Merge pull request #7098 from yifan-gu/handler
kubelet: Refactor runHandler().
2015-04-21 08:14:42 -07:00
Dan Mace
093b7c2e25 Add cleanup policy to RollingUpdater
* Support configurable cleanup policies in RollingUpdater. Downstream
library consumers don't necessarily have the same rules for post
deployment cleanup; making the behavior policy driven is more flexible.

* Refactor RollingUpdater to accept a config object during Update instead
of a long argument list.

* Add test coverage for cleanup policy.
2015-04-21 10:51:38 -04:00
Derek Carr
f8d3092504 Merge pull request #7105 from justinsb/rename_minion_id_to_hostname_override
Rename salt minion_ip to hostname_override
2015-04-21 10:35:55 -04:00
Sami Wagiaalla
0a7f6c2999 iscsi Test: Add explicit check for attach and detach calls.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-04-21 10:30:47 -04:00
Patrick Reilly
716d98c39e initial commit of chrome only of new replacement web ui
remove node modules

make new data file for web ui

initial commit of dashboard

switch back to non SSL request

move port splitting to common place; add to node resource location

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

various path fixes

make svg path relative

work around missing mime type

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

fix paths

fix karma path

remove bad protractor test
2015-04-21 07:24:06 -07:00
jayunit100
be34714cb1 Use --host option even if kubecontext is not provided. 2015-04-21 10:17:20 -04:00
Piotr Szczesniak
27daa29753 Merge pull request #7073 from lavalamp/fix4
move port splitting to common place; add to node resource location
2015-04-21 16:10:40 +02:00
Justin Santa Barbara
5efd1e717f Add FakeEC2 Instances support for matching by instance id 2015-04-21 06:51:43 -07:00
derekwaynecarr
06eb45fb75 ResourceQuota add object count support for secret and volume claims 2015-04-21 09:49:40 -04:00
Ravi Gadde
bf8f258471 Added field selector for listing pods. 2015-04-21 06:33:28 -07:00
jayunit100
4b43a6a979 Implement pure UUID suffix Functionality into namespace, without implementing randomSuffix() (yet). 2015-04-21 09:27:39 -04:00
Justin Santa Barbara
29592356f7 Rename salt minion_ip to hostname_override
Prep work for making AWS node identifier -> instance id
2015-04-21 06:24:49 -07:00
Clayton Coleman
a3e8e80572 Merge pull request #7097 from roberthbailey/reaper
Remove old design file (that has been fully implemented).
2015-04-21 08:32:07 -04:00
Jan Safranek
0293c6b7f0 Use pod namespace when looking for its GlusterFS endpoints.
I have a pod, which exports a Gluster filesystem in non-default namespace.
When I try to use this FS as a GlusterfsVolumeSource in a 'client' pod
definition, Kubernetes looks for the appropriate endpoint in 'default'
namespace instead of the namespace where the client pod is being defined.
2015-04-21 12:33:59 +02:00
Wojciech Tyczynski
21788d8e66 Merge pull request #7033 from nak3/add-cert_dir-option-to-apiserver
Add cert_dir option to kube-apiserver
2015-04-21 09:16:01 +02:00
Piotr Szczesniak
a45b5c3ebf Merge pull request #7095 from derekwaynecarr/public_describe_events
Make describeEvents DescribeEvents
2015-04-21 06:52:26 +02:00
Derek Carr
b5d9afd093 Merge pull request #7099 from derekwaynecarr/fix_vagrant
Fix vagrant regression from 6691
2015-04-21 00:45:30 -04:00
Piotr Szczesniak
ade6b23622 Merge pull request #7083 from lavalamp/mimeType
work around missing mime type
2015-04-21 06:45:20 +02:00
derekwaynecarr
3fc627e416 Fix vagrant regression from 6691 2015-04-21 00:44:44 -04:00
Robert Bailey
26edb7581e Remove old design file (that has been fully implemented). 2015-04-20 21:33:03 -07:00
Brendan Burns
819d1d9ffc Update CHANGELOG. 2015-04-20 21:31:20 -07:00
Yifan Gu
c23b83b0ca kubelet: Refactor runHandler().
Use new HandlerRunner type to replace runHandler()
2015-04-20 21:31:11 -07:00
derekwaynecarr
7638107f8b Make describeEvents DescribeEvents 2015-04-21 00:24:12 -04:00
Robert Bailey
9d5da502e1 Merge pull request #7074 from crossorigin/azure-0.15.0
Update Azure Coreos To Kubernetes 0.15.0
2015-04-20 20:34:46 -07:00
Robert Bailey
85f4cb99d5 Merge pull request #7089 from justinsb/aws_remove_undefined_configdir
AWS: don't try to create undefined config_dir
2015-04-20 20:21:41 -07:00
Robert Bailey
f637582541 Merge pull request #7088 from benmccann/aws-docs
Add additional details to the AWS documentation
2015-04-20 20:21:08 -07:00
Robert Bailey
e2a23d9fec Merge pull request #7086 from satnam6502/logging-demo
Fix path to kubectl.sh in logging demo
2015-04-20 20:12:10 -07:00
Robert Bailey
24a9a21fcb Merge pull request #7084 from benmccann/avail-doc-fixes
Minor cleanup for availability docs
2015-04-20 20:10:12 -07:00
Justin Santa Barbara
45b658ea7c AWS: don't try to create undefined config_dir 2015-04-20 19:14:16 -07:00
Ben McCann
10c351b1b5 Add additional details to the AWS documentation 2015-04-20 19:10:02 -07:00
Brian Grant
9dcf3e0a33 Merge pull request #7082 from fabioy/api-cs.fix
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
Daniel Smith
bf45a62382 Merge pull request #7079 from thockin/fuzz_volumes
Easier fuzzing for volumes
2015-04-20 18:09:05 -07:00
CJ Cullen
1be193098a Merge pull request #7072 from dchen1107/cleanup
Remove fqdn dependency for node name
2015-04-20 18:00:21 -07:00
Satnam Singh
0c681001b0 Fix path to kubectl.sh in logging demo 2015-04-20 17:42:08 -07:00
Kenjiro Nakayama
c7d3a72c6a Fix gofmt complaint 2015-04-21 09:36:41 +09:00
Daniel Smith
9f89043d8b Merge pull request #6989 from kazegusuri/update_node_label
use Watch for single object instead of WatchList
2015-04-20 17:28:23 -07:00