Commit Graph

11121 Commits

Author SHA1 Message Date
Brendan Burns
ea3852ec69 Fix a bug where IgnoreErrors was inverted.
Also make an error message a little more verbose.
2015-05-13 16:26:01 +01:00
Victor Marmol
67d576cf48 Merge pull request #8161 from rjnagal/rc
Use non-root available space to trigger out-of-disk events.
2015-05-13 08:07:37 -07:00
Victor Marmol
2c00d9f07c Merge pull request #7421 from brendandburns/prestop
Implement PreStop hooks.
2015-05-13 08:06:43 -07:00
Zach Loafman
eef53c5ce0 Merge pull request #8143 from quinton-hoole/2015-05-12-events-e2e-retry
Add retry logic to events e2e test.
2015-05-13 07:24:31 -07:00
Piotr Szczesniak
2cee828c91 Added more logging to load e2e test 2015-05-13 16:12:17 +02:00
Jordan Liggitt
b552503c07 Fix key generation in local-up-cluster.sh 2015-05-13 10:04:40 -04:00
Zach Loafman
02f3a32196 Merge pull request #8131 from justinsb/aws_install_salt_gce_style
Install specific salt version on AWS, based on GCE
2015-05-13 06:55:32 -07:00
Wojciech Tyczynski
1fe4b56176 Instructions for generating conversions. 2015-05-13 14:43:48 +02:00
Wojciech Tyczynski
c2f2faeb07 Generate conversion methods for v1 api. 2015-05-13 14:20:59 +02:00
Brendan Burns
48d7604f4e Update single node docker to 0.16.2 2015-05-13 11:15:56 +01:00
Piotr Szczesniak
7ba41626e9 Merge pull request #8093 from caesarxuchao/guestbook-go-example
update example/guestbook-go to v1beta3
2015-05-13 10:23:46 +02:00
Robert Bailey
c47b9178b4 Replace the auth config file with a kubeconfig file when
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Madis Nõmme
eb220f05a6 Properly get return value (considering errexit). Quote variables. 2015-05-13 10:45:51 +03:00
Madis Nõmme
d4d02a9028 Optionally associate master instance with AWS Elastic IP
When MASTER_RESERVED_IP is set to elastic IP from AWS, then aws/util.sh will
associate it with master instance and assign it to KUBE_MASTER_IP. If no MASTER_RESERVED_IP
is set, new elastic ip will be requested from amazon. This allows cluster certificates to
be generated for an IP that doesn't change between stopping & starting cluster instances.

The requested elastic ip is not released when kube-down.sh is run. I think it is good
because user could have created DNS records and it would be bad if the IP was removed.
He can reuse it next time through MASTER_RESERVED_IP when setting up cluster again.
2015-05-13 10:45:51 +03:00
hurf
6203ce9f85 Move pkg/scheduler to plugin/pkg/scheduler
As the TODO in plugin/pkg/scheduler/scheduler.go described:

move everything from pkg/scheduler into this package. Remove
references from registry.
2015-05-13 14:03:25 +08:00
CJ Cullen
31ea7d1295 Put cbr0-modifying stuff behind a flag. Address some other comments. 2015-05-12 23:00:28 -07:00
CJ Cullen
5e3d2b9138 Kubelet configure cbr0 instead of configure-vm.sh 2015-05-12 23:00:12 -07:00
Rohit Jnagal
7a2add5e0a Use non-root available space to trigger out-of-disk events. 2015-05-13 05:46:03 +00:00
Chao Xu
9dc901735a update the KubernetesSeedProvider.java to v1beta3 2015-05-12 19:28:35 -07:00
Eric Paris
b7365ccace Check if people copy, but do not update the boilerplate
We found in that someone just copied/pasted the boilerplate language into
their code. But the boilerplate contains 2014, not 2015. We have 2 ways
to fix this.

1) Update the boilerplate to 2015 so people would get the right one.
2) Update the boilerplate so it doesn't make sense and then warn when
people use it.

This PR takes the second option. While options #1 seems easier, it will
get wrong in 2016, 17, 18 and it's unlikely anyone remember why they
need to update the boilerplate text and the regex rewrite. So just
make the humans do a tiny bit more work now.
2015-05-12 21:26:44 -04:00
Jeff Lowdermilk
a64cdb34c5 getting-started gce-guide tells users to use downloaded kubectl 2015-05-12 18:21:11 -07:00
Justin Santa Barbara
23b1a22203 AWS: Don't use policy-rc.d to prevent starting daemons until we're ready
It isn't required
2015-05-12 21:18:48 -04:00
Rohit Jnagal
ec19d41b63 Merge pull request #8141 from vmarmol/cadvisor
Update cAdvisor godep.
2015-05-12 18:16:00 -07:00
Nikhil Jindal
60ebcf6170 Merge pull request #8150 from brendandburns/docs
Update CHANGELOG for 0.17.0
2015-05-12 17:47:54 -07:00
BenTheElder
4ecb0193f2 Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/8147 2015-05-12 20:25:38 -04:00
Brendan Burns
46be5482d0 Switch to a newer version of the nettest container. 2015-05-12 17:19:52 -07:00
Brendan Burns
3f49c556e6 Second try at implementing prestop. 2015-05-12 17:17:03 -07:00
Nikhil Jindal
c2fecff3d5 Merge pull request #8067 from piosz/kubectl
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Quinton Hoole
de0d59be05 Merge pull request #8096 from saad-ali/fixTemplateUpDown
Make MIG deletion during GCE kube down blocking, so that subsequent template deletion doesn't fail.
2015-05-12 17:05:13 -07:00
Brendan Burns
0e00c270b7 Update CHANGELOG for 0.17.0 2015-05-12 17:01:21 -07:00
saadali
932cdd954d Clean up GCE kube-down script by using set e 2015-05-12 16:58:22 -07:00
Nikhil Jindal
5e11830e13 Merge pull request #7988 from satnam6502/es-image
Make the Elasticsearch logging pods discover each other
2015-05-12 16:19:57 -07:00
Victor Marmol
40ec627cd4 Merge pull request #8108 from rjnagal/kubelet
Handle out of disk situation on kubelet.
2015-05-12 15:49:31 -07:00
Quinton Hoole
0981179d63 Add retry logic to events e2e test. 2015-05-12 15:47:58 -07:00
Victor Marmol
4664b3950c Update cAdvisor godep.
- Fixes working set reporting.
- Adds disk Available size.
- Adds support for ps inside containers via cAdvisor.
2015-05-12 15:33:19 -07:00
Satnam Singh
7cff506c93 Make the Elasticsearch logging pods discover each other 2015-05-12 15:26:09 -07:00
Victor Marmol
3481db8aee Merge pull request #8136 from yifan-gu/runtime_opt
kubelet/container: Remove ipcMode and netMode from  RunContainerOptions.
2015-05-12 14:41:49 -07:00
Victor Marmol
4c6a4fc132 Merge pull request #8135 from pmorie/kubelet-tests
Improve kubelet test for env vars
2015-05-12 14:41:30 -07:00
Alex Robinson
a98d883134 Merge pull request #8121 from satnam6502/fluentd-gcp
Convert node level logging to Cloud Logging to use token-system-logging
2015-05-12 14:26:46 -07:00
Alex Robinson
96cb4360fa Merge pull request #8120 from satnam6502/fluentd-es
Convert nodel level logging to ES to use token-system-logging
2015-05-12 14:26:28 -07:00
Clayton Coleman
7d620c20b9 Merge pull request #8105 from thockin/dns-domain
Rename default DNS domain to cluster.local
2015-05-12 17:18:45 -04:00
Yifan Gu
a2dac158c2 kubelet/container: Remove ipcMode and netMode from RunContainerOptions.
Since createPodInfraContainer() is moved into dockertools. There is no
need to pass the ipcMode or netMode via RunContainerOptions.
2015-05-12 14:18:00 -07:00
Paul Morie
6ac55002d8 Improve kubelet test for env vars 2015-05-12 17:14:32 -04:00
Zach Loafman
0b0bace006 Merge pull request #8009 from mbforbes/refactorEnv
Refactor master vs node kube-env and salt auth
2015-05-12 13:37:54 -07:00
Justin Santa Barbara
ffb0e7f9b8 Install specific salt version on AWS, based on GCE
The latest salt version breaks the container_bridge.py _state function

We can lock to the same version as GCE.  This is not a full fix,
because we can't update to the latest salt without breaking GCE,
but this at least unbreaks and sync AWS with GCE.

This isn't a straight copy from GCE, because we still use
the salt master on AWS (for now)

Fixes #8114
2015-05-12 16:33:56 -04:00
Max Forbes
76c89db5a8 Master vs node salt auth refactor in configure-vm.sh 2015-05-12 13:26:11 -07:00
Max Forbes
0acf8f9a00 Refactor GCE kube-env for both OSes. 2015-05-12 13:26:10 -07:00
Rohit Jnagal
fab980598a Merge pull request #8122 from vmarmol/docker-container
Run Docker Daemon in a Resource-only Container
2015-05-12 13:16:05 -07:00
Vish Kannan
a74522a738 Merge pull request #8011 from brendandburns/exec
Switch exec to look at exit code not output status.
2015-05-12 12:43:11 -07:00
Jordan Liggitt
e5d47081a2 Add ServiceAccount admission plugin 2015-05-12 15:19:05 -04:00