Commit Graph

668 Commits

Author SHA1 Message Date
Eric Paris
fc5c063a2d Support Fedora Rawhide
Fedora rawhide has neither yum, nor python2, nor python2 libselinux
bindings. Ansible needs all of these.

This adds a new play which can be used to get machines setup so they can
then be managed with ansible.
2015-06-24 17:07:12 -04:00
Eric Paris
7996f39413 Vagrant? Did we mean to include this? 2015-06-24 17:07:12 -04:00
Jeff Bean
7b8ed5a12c support dns in particular 2015-06-24 17:07:12 -04:00
Jeff Bean
374658ef01 support the upstream 'addons' nonsense 2015-06-24 17:07:12 -04:00
Eric Paris
c2e4df7c87 Create, distribute, and use certificates for TLS and identity 2015-06-24 17:07:11 -04:00
Eric Paris
3d10f00401 Give kube-apiserver CAP_NET_BIND_SERVICE
It is needed to bind on port 443
2015-06-24 17:07:08 -04:00
Kris Rousey
d13421e084 Removing ContainerManifest 2015-06-24 11:31:34 -07:00
Dawn Chen
6ddfa512de Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
This reverts commit fd0a95dd12.
2015-06-24 11:10:10 -07:00
Jeff Bean
e08bd6f3c3 Configure docker daemon 2015-06-24 13:45:46 -04:00
Jeff Bean
45bdfeac0c Packge install on CentOS 7 2015-06-24 13:45:46 -04:00
Jeff Bean
f259892cc9 Basic Generic File Cleanups
No major changes, just renaming, whitespace, etc
2015-06-24 13:45:46 -04:00
Eric Paris
9816488179 Do not restart etcd quickly
https://github.com/coreos/etcd/pull/2878

etcd destroys itself if you start and then restart etcd very rapidly.
So don't do that any more.
2015-06-24 13:45:46 -04:00
Eric Paris
70b7358d00 If multiple etcd servers defined, point at all of them
(we still can only set up a single server though)
2015-06-24 13:45:46 -04:00
Eric Paris
a95243450e Set up flannel in your cluster! 2015-06-24 13:45:42 -04:00
Eric Paris
bc6c425ab4 Use 'command' not 'shell' even thought it doesn't matter 2015-06-24 13:45:42 -04:00
Eric Paris
fec5e789fd Shorthand to run the ansible setup command 2015-06-24 13:45:42 -04:00
Eric Paris
f66395283e Rename minion->node 2015-06-24 13:45:42 -04:00
Eric Paris
c4ba90337c Only install kube-master on the master and node on the nodes 2015-06-24 13:45:42 -04:00
Eric Paris
f274881b94 do not register nodes to apiserver
They now register themselves
2015-06-24 13:45:42 -04:00
Eric Paris
8bb7e14a44 Rework cluster.yml and use tags, not files 2015-06-24 13:45:41 -04:00
Eric Paris
b0b3b03045 Use {{ ansible_pkg_mgr }} instead of yum
This should make things work on systems with dnf and even on systems
which use apt!
2015-06-24 13:45:41 -04:00
Eric Paris
3af9346596 etcd requires advertise-client-urls with listen-client-urls
otherwise it won't start
2015-06-24 13:45:41 -04:00
Eric Paris
8830e7b84e Follow upstream default admission controllers 2015-06-24 13:45:41 -04:00
Piotr Szczesniak
fd0a95dd12 Revert "Fix the race between configuring cbr0 and restarting static pods" 2015-06-24 09:56:49 +02:00
Daniel Smith
64bee7f4f0 Fix bug with env vars containing = signs 2015-06-23 18:45:58 -07:00
Jeff Lowdermilk
50d50a3cb8 Merge pull request #10211 from dchen1107/cleanup
Fix the race between configuring cbr0 and restarting static pods
2015-06-23 17:09:01 -07:00
Dawn Chen
23200d303f Fix several issues on running syncPods until network is configured.
Also fixed unittests and compiling.
2015-06-23 12:11:19 -07:00
Dr. Stefan Schimanski
9e0c9b4f5a Mesos: create static pod file source only for configured static pods
The file source was created even when no static pods were configured.
In this case it was never marked as seen. As a consequence the kubelet
syncPods functions never deleted pods because it was too cautious due
an unseen pod source, leading to leaked pods.
2015-06-23 12:25:21 +02:00
Jeff Lowdermilk
0d7de0991e Disable TestProc_doWithNestedXConcurrent
This test is killing more than 50% of shippable builds. Disabling
to stop the madness.
2015-06-22 15:39:43 -07:00
Salvatore Dario Minonne
4b13faa346 To add validation for service ports when defined as string (fixing issue #9734) 2015-06-22 17:21:51 +02:00
Anastasis Andronidis
b06ef70057 Print resource labels as columns 2015-06-22 00:44:51 +02:00
Eric Paris
f40fce4598 kubectl log->logs in bash completions
The kubectl log command switched to logs. But the bash completions code
was still looking for a singular
2015-06-19 16:00:58 -04:00
Satnam Singh
3d8a3a809f Merge pull request #10067 from lavalamp/miscFix
fix config file
2015-06-18 17:48:07 -07:00
Daniel Smith
63d8e08394 fix config file 2015-06-18 16:35:59 -07:00
Satnam Singh
b8b8f4d659 Merge pull request #10053 from timstclair/gcloud-docker
s/gcloud preview docker/gcloud docker/
2015-06-18 16:12:20 -07:00
Satnam Singh
d2c2f7e35e Merge pull request #9993 from mikedanese/re-patch
reenable patch serverside using strategic-merge-patch
2015-06-18 14:13:10 -07:00
Justin Santa Barbara
97cafd20f6 NodeName != HostName: Fixes for contrib/mesos 2015-06-18 12:40:14 -07:00
Tim St. Clair
f5830edbbc s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00
Mike Danese
3de11e2fa8 reenable patch serverside using strategic-merge-patch 2015-06-18 12:06:46 -07:00
Satnam Singh
e4f5529a2d Revert "Allow nodename to be != hostname, use AWS instance ID on AWS" 2015-06-18 11:27:55 -07:00
Justin Santa Barbara
77e1bd3f56 NodeName != HostName: Fixes for contrib/mesos 2015-06-17 00:40:43 -04:00
Saad Ali
10631592dc Merge pull request #9887 from brendandburns/gcr2
switch some more images to gcr for reliability
2015-06-16 18:57:16 -07:00
Saad Ali
d076d50feb Merge pull request #9796 from mesosphere/fix-flaky-executor-test
Fix flaky mesos executor test
2015-06-16 18:48:40 -07:00
Saad Ali
a00b55c023 Merge pull request #9770 from brendandburns/notes
Add some more logic to clean up the release-notes generation.
2015-06-16 15:49:29 -07:00
Brendan Burns
ca8317695f Switch to gcr.io for the mount test container. 2015-06-16 11:45:34 -07:00
Dr. Stefan Schimanski
7abe12d6f4 Fix flaky mesos executor test
The TestExecutorFrameworkMessage test sends a "task-lost:foo" message to the
executor in order to mark a pod as lost. For that the pod must be running first.
Otherwise, the executor code will send "TASK_FAILED" status updates, not "TASK_LOST".

Before this patch there was no synchronization between the pod startup and the
test case. Moreover, in order to startup a task a working apiserver URL must be
passed to the executor which was not the case either.

Fixes mesosphere/kubernetes-mesos#351
2015-06-16 09:08:23 +02:00
Fabio Yeon
0453f9ea9d Merge pull request #9705 from hurf/label4describe
Add label support for kubectl describe
2015-06-15 19:33:09 -07:00
Fabio Yeon
241e87cf9b Merge pull request #9077 from mesosphere/staticPodsUpstream
Add static pod support to mesos scheduler and executor.
2015-06-15 15:20:33 -07:00
Fabio Yeon
da02e3059a Merge pull request #9789 from mesosphere/plugin-test-race
Fix mesos plugin-test race
2015-06-15 13:04:12 -07:00
Joerg Schad
7af8bf6ed3 Add static pod support to mesos scheduler and executor.
- the mesos scheduler gets a --static-pods-config parameter with a directory with
  pods specs. They are zipped and sent over to newly started mesos executors.
- the mesos executor receives the zipper static pod config via ExecutorInfo.Data
  and starts up the pods via the kubelet FileSource mechanism.
- both - the scheduler and the executor side - are fully unit tested
2015-06-15 17:24:54 +00:00