Commit Graph

500 Commits

Author SHA1 Message Date
Eric Paris
8ba4d85fa9 Ansible: Add kube-ui kube-addon support 2015-07-24 09:58:31 -04:00
Eric Paris
217f8eef95 Ansible: convert DNS from kube_config_dir to kube_addons_dir 2015-07-24 09:58:31 -04:00
Eric Paris
9aed89f816 Ansible: fast update of binaries
If you are using locally build binaries as a developer you likely will
want to just push those binaries to an existing cluster, not rerun the
entire playbook.  Add a tag to do just that.
2015-07-24 09:58:31 -04:00
Jeff Bean
0653156e1e Ansible: Updating README 2015-07-24 09:58:31 -04:00
Jeff Bean
29980851f7 Ansible: Adding variable for kubernetes apiserver port 2015-07-24 09:58:31 -04:00
Jeff Bean
90b1318168 Ansible: Adding variable for kubernetes addon dir 2015-07-24 09:58:30 -04:00
Eric Paris
ce4d2d41fb Ansible: Vagrant: Add libvirt support 2015-07-24 09:58:30 -04:00
Eric Paris
51a33d3ff5 Ansible: vagrant: generic set_provider() function 2015-07-24 09:58:30 -04:00
Eric Paris
dda42add54 Ansible: Vagrant: Add vbox support 2015-07-24 09:58:30 -04:00
Eric Paris
36e991742b Ansible: Vagrant: Update to os1 vagrant scripts
Do the /etc/host creation with vagrant, so it uses internal instead of
external ips (hostmanager only knew about the public ip)

Ignore errors on docker failure when 'restarting' docker in flannel
handler. If this is a clean install, we haven't run 'node' yet so docker
isn't installed so it doesn't need to be started. It would be better to
be more specific in ignoring errors though...
2015-07-24 09:58:30 -04:00
jayunit100
a008fe24bb Ansible: Vagrant: kubernetes openstack deployer
vbox deployer separated and deprecated. Readded-later
2015-07-24 09:58:25 -04:00
Eric Paris
fd1024baa2 Install openssl when using make-ca-certs.sh
easyrsa requires openssl. So make sure it is installed.
2015-07-24 09:56:42 -04:00
Eric Paris
90ecd96f84 Ansible: Run from locally built binaries
Instead of from distro packages
2015-07-24 09:48:36 -04:00
Eric Paris
c3849fd240 Ansible: Minor typo in play text (no functional change) 2015-07-24 09:48:36 -04:00
Eric Paris
605437f811 Ansible: Support new upstream non-default namespace for addons 2015-07-24 09:48:35 -04:00
Eric Paris
165aa56c1a Ansible: Do not fail flannel restart is docker not installed
On first install flannel runs before docker is installed. So do not fail
if docker is not installed
2015-07-24 09:48:35 -04:00
Eric Paris
8b57cc8918 Ansible: cert gen: use inventory hostname not ip address 2015-07-24 09:48:35 -04:00
Vish Kannan
2a5a6b99cb Merge pull request #10635 from smarterclayton/cloud_provider_should_err
Cloud provider should return an error
2015-07-23 17:50:45 -07:00
Vish Kannan
6306ad1bce Merge pull request #11736 from thockin/cleanup-dns-legacy
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Vish Kannan
2a10eabfdf Merge pull request #11769 from aveshagarwal/kubernetes-ansible-fixes
Fixes ansible syntax errors
2015-07-23 17:04:48 -07:00
Tim Hockin
89e9851ac5 Update examples to not use old DNS names 2015-07-23 13:51:09 -07:00
Avesh Agarwal
e507dbe7b8 Fixed ansible syntax error. 2015-07-23 15:26:11 -04:00
Todd Derr
98ed2e8606 Remove gem update for fluent-plugin-google-cloud
This was originally submitted to pick up v0.3.1 of the cloud logging
plugin which had a fix for the name 'metadata' failing to resolve.
Since new releases of google-fluentd have this fix, it is no longer
required.

I've done some additional testing of 'gem update' behavior in the interim
and I think it is ok to use in targeted situations, but we should not be
doing an unconstrained update in general. The issue is that updating a
gem may bring new dependencies, some of those dependencies may include
native code, so it may try to launch a compiler, which isn't desirable
and prone to failure.

If we do need to grab an updated gem in the future we should specify an
explicit version and the --minimal-deps flag.
2015-07-23 15:06:56 -04:00
Vish Kannan
dfe1eb9b96 Merge pull request #11721 from a-robinson/fluentd
Bring sidecar fluentd configs in line with the addon fluentd configs
2015-07-23 11:49:32 -07:00
Alex Robinson
797dc1778a Add resource constraints to the fluentd container in the sidecar examples 2015-07-23 16:31:08 +00:00
Alex Robinson
7ac3d36030 Bring the sidecar fluentd configs in sync with the cluster addon configs. 2015-07-23 16:31:03 +00:00
Wojciech Tyczynski
ee92aa3897 Prepare for extracting EtcdHelper interface 2015-07-23 09:37:39 +02:00
Wojciech Tyczynski
5988d30da0 Merge pull request #10715 from justinsb/spelling_octects
Spelling fix (in code): octects -> octets
2015-07-23 09:00:39 +02:00
krousey
f9fa83fae3 Merge pull request #10613 from mesosphere/mesos-docs
Move k8s-mesos docs to the kubernetes repo
2015-07-20 09:23:20 -07:00
David Oppenheimer
dec9adfe2e Replace ``shell with ``sh 2015-07-19 21:38:53 -07:00
Dr. Stefan Schimanski
8fca9b6f09 Add original k8s-mesos docs to contrib/mesos 2015-07-19 10:13:25 +02:00
Satnam Singh
69668365ce Update sidecar logging console output in docs 2015-07-18 22:47:42 +01:00
Eric Tune
f5e6161e49 Merge pull request #11298 from mesosphere/fix-10776
Fix deadlocks and race conditions in mesos master election notifier
2015-07-15 13:55:17 -07:00
Dr. Stefan Schimanski
e98c8e7685 Fix deadlocks and race conditions in mesos master election notifier
- n.node used the n.lock as underlaying locker. The service loop initially
  locked it, the Notify function tried to lock it before calling n.node.Signal,
  leading to a dead-lock.
- the go routine calling ChangeMaster was not synchronized with the Notify
  method. The former was triggering change events that the later never saw
  when the former's startup was faster that of Notify. Hence, not even a single
  event was noticed and not even a single start/stop call of the slow service
  was triggered.

This patch replaces the n.node condition object with a simple channel n.changed.
The service loop watches it.

Updating the notified private variables is still protected with n.lock against
races, but independently of the n.changed channel. Hence, the deadlock is gone.

Moreover, the startup of the Notify loop is synchronized with the go routine which
changes the master. Hence, the Notify loop will see the master changes.

Fixes #10776
2015-07-15 21:45:53 +02:00
Eric Tune
3dad5a0652 Merge pull request #10835 from mesosphere/mesos-root-ca-file
Add --root-ca-key code to Mesos controller-manager fork
2015-07-14 12:16:49 -07:00
Eric Tune
ed26ffe95e Merge pull request #10685 from jeffbean/ansible_dev
Ansible enhancements for CentOS
2015-07-14 12:08:06 -07:00
David Oppenheimer
089a703194 Disable TestPlugin_LifeCycle due to flakiness. 2015-07-10 22:14:16 -07:00
Brendan Burns
86f54b4d05 Merge pull request #11035 from nikhiljindal/nettest
Updating nettest image to latest code
2015-07-09 22:08:01 -07:00
nikhiljindal
90d371c98f Updating nettest image to latest code 2015-07-09 18:07:18 -07:00
Victor Marmol
5540570e44 Merge pull request #10925 from bprashanth/sidecar_exec
Sidecar container capable of servicing exec style liveness probes over http
2015-07-09 17:46:11 -07:00
Prashanth Balasubramanian
3ec6703a5d Create a sidecar container for use as an http-exec bridge 2015-07-09 15:00:25 -07:00
Alex Mohr
7737d18882 Update release notes tool and documentation 2015-07-07 17:40:10 -07:00
Dr. Stefan Schimanski
39b3af0fdc Add --root-ca-key code to Mesos' controller-manager fork 2015-07-07 18:19:47 +02:00
Satnam Singh
96c4e587ad Change config files to kube-system which were missed in the original PR 2015-07-07 01:05:19 -07:00
Justin Santa Barbara
1ece037555 Spelling fix (in code): octects -> octets 2015-07-04 10:37:57 -04:00
Jeffrey Bean
f7b5d0db61 [Ansible] Adding new CentOS repo for newest Kubernetes packages.
This is the game we play until Kubernetes GA packages are out.
2015-07-02 15:06:27 -07:00
Zach Loafman
acf6fc6e24 Merge pull request #10627 from eparis/total-ansible
Ansible: Get DNS working - Add kubectl kubeconfig file
2015-07-01 16:07:53 -07:00
Zach Loafman
e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Clayton Coleman
d8bb4552de Cloud provider should return an error
Not fatal - makes cloud provider useful in methods that
can return error.
2015-07-01 14:41:49 -04:00