Dan Bode
ff675d40f9
Ensure that etcd health checks always pass
in the etcd handler, the reload etcd action
was called after ansible waits for etcd to be
up, this means that the health checks which are
called immediately after fail (resulting in the etcd
role always failing and never finishing)
This patch changes the order to move the 'wait for etcd
up' resource after the 'reload etcd resource', ensuring that
the service is up before the health check is called.
8 years ago
Spencer Smith
0eebe43c08
updated all instances of restart always to restart on-failure with a max of 5 times
8 years ago
Bogdan Dobrelya
069636e5b4
Allow failures for coreos/weave
Unless https://github.com/kubernetes-incubator/kargo/issues/613
fixed.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Bogdan Dobrelya
a03540dabc
Add download localhost and enable for CI
* Add download_localhost for the download_run_once mode, which is
use the ansible host (a travis node for CI case) to store and
distribute containers across cluster nodes in inventory.
Defaults to false.
* Rework download_run_once logic to fix idempotency of uploading
containers.
* For Travis CI, enable docker images caching and run Travis
workers with sudo enabled as a dependency
* For Travis CI, deploy with download_localhost and download_run_once
enabled to shourten dev path drastically.
* Add compression for saved container images. Defaults to 'best'.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Co-authored-by: Aleksandr Didenko <adidenko@mirantis.com>
8 years ago
Sergey Vasilenko
f6d69d0a00
Add ability to define network backend for Calico.
This patch introduce `calico_network_backend` global variable,
which allow to describe alternative network backend.
Default behavior is unchanged.
8 years ago
Maciej Filipiak
cc2f26b8e9
Add service-node-port-range parameter for kube-apiserver
8 years ago
Aleksandr Didenko
3e687bbe9a
Fix download_run_once for containers
Add one more step (task) to containers download/upload sequence -
copy saved .tar containers to ansible host (delegate_to: localhost).
Then upload images to target nodes. It uses synchronize module so
if ansible host (localhost) is the same host as kube-master[0] then
new task causes no issues and the copy to localhost process is
basically skipped.
8 years ago
Antoine Legrand
c5113d3352
Merge pull request #628 from abourget/patch-1
Update roadmap.md
8 years ago
Smaine Kahlouch
4d9712a3ef
Merge pull request #620 from bogdando/logs_coreos
Fix collect/upload logs for CoreOS
8 years ago
Alexandre Bourget
5b9b2c0973
Update roadmap.md
8 years ago
Spencer Smith
a5af87758a
remove the --rm b/c it conflicts with restart
8 years ago
Matthew Mosesohn
8b11de5425
Merge pull request #608 from sneumann/patch-1
Fix failure if image package index is outdated
8 years ago
Spencer Smith
ff928e0e66
add restart flag for docker run kubelet
8 years ago
Bogdan Dobrelya
952191db99
Fix collect/upload logs for CoreOS
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Antoine Legrand
61adca2a6d
Merge pull request #618 from kubernetes-incubator/fix_inventory_example
Fix inventory example
8 years ago
ant31
9872ed4bb2
Merge branch 'master' of github.com:kubespray/kargo
8 years ago
sneumann
3aa2d56da9
updated bootstrap-ubuntu.yml
Moved the variable setting to the apt-get install part where it matters as requested in the review.
8 years ago
Bogdan Dobrelya
6a398724b6
Merge pull request #609 from sneumann/patch-2
Fix sugested bootstrap options
8 years ago
Bogdan Dobrelya
af3823bced
Merge pull request #611 from bogdando/coreos_canal
Improve CI test matrix
8 years ago
Bogdan Dobrelya
1e601bb2ef
Merge pull request #601 from adidenko/calico_mtu
Move CNI config and add MTU support for calico-cni
8 years ago
Bogdan Dobrelya
e4d240b1b7
Improve CI test matrix
For Travis CI and GCE, add a naive generator script into a markdown table.
Add GCE/Travis CI matrix docs.
Add CoreOS test cases.
Rework existing cases w/o loosing of coverage.
Rework postinstall tests to support CoreOS as well.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Aleksandr Didenko
e3470b28c5
Move CNI config and add MTU support for calico-cni
- Move CNI configuration creation for Calico to appropriate
network_plugin role from kubernetes/node.
- Add support for MTU configuration in Calico.
8 years ago
sneumann
e9a48770a7
Fix sugested bootstrap options
8 years ago
sneumann
0322b69f63
Fix failure if image package index is outdated
8 years ago
Bogdan Dobrelya
e587e82f7f
Merge pull request #600 from adidenko/calico-cni-container-support
Replace calico-cni binaries with calico/cni container
8 years ago
Smaine Kahlouch
5f5199bf53
Merge pull request #607 from kubernetes-incubator/fix_mounts
Fix mountflags and kubelet config
8 years ago
Bogdan Dobrelya
876c4df1b6
Fix mountflags and kubelet config
Add missing --require-kubeconfig to the if..else stanza.
Make sure certs dirs mounted in RO.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Antoine Legrand
e68ec257a3
Merge pull request #606 from kubernetes-incubator/issue-605
update comment with valid options for bootstrap_os
8 years ago
Antoine Legrand
216e0b2a52
Merge pull request #599 from kubernetes-incubator/bug_542
Fix kubelet deprecated options
8 years ago
Matthew Mosesohn
ab0ff2ab3c
Merge pull request #602 from adidenko/fix-canal-ssl
Fix etcd ssl for canal
8 years ago
Matthew Mosesohn
5cd65f9c45
Merge pull request #598 from kubernetes-incubator/bug_376
Generate kubectl bash completion from kubectl instead of file
8 years ago
Matthew Mosesohn
4e47c267fb
Merge pull request #604 from kubernetes-incubator/k8s-upgrade-v1.4.6
upgrade k8s version to 1.4.6
8 years ago
Spencer Smith
cb47bbf753
update comment with valid options for bootstrap_os
8 years ago
Smana
c41d200a95
upgrade k8s version to 1.4.6
8 years ago
Bogdan Dobrelya
771d537ff3
Merge pull request #603 from bogdando/fix_logs
Fix collect_info script
8 years ago
Matthew Mosesohn
8ca1f4ce44
Fix kubelet deprecated options
--api-servers now just reads kubeconfig
--config is now --pod-manifest-path
Fixes #542
8 years ago
Bogdan Dobrelya
625ec529ff
Fix collect_info script
Fix missing journal ctl utc key.
Rework kube* logs collection.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Aleksandr Didenko
caa81f3ac2
Fix etcd ssl for canal
- Move CNI configuration from `kubernetes/node` role to
`network_plugin/canal`
- Create SSL dir for Canal and symlink etcd SSL files
- Add needed options to `canal-config` configmap
- Run flannel and calico-node containers with proper configuration
8 years ago
Matthew Mosesohn
8092f57695
Merge branch 'master' into calico-cni-container-support
8 years ago
Aleksandr Didenko
965a1234d3
Replace calico-cni binaries with calico/cni container
Calico CNI binaries are also released/shipped in calico/cni
container. This patch replaces download of calico CNI binaries with
calico/cni container.
8 years ago
Matthew Mosesohn
15bc445a9c
Generate kubectl bash completion from kubectl instead of file
8 years ago
Bogdan Dobrelya
bb72de0dc9
Merge pull request #496 from kubernetes-incubator/idempotency_resolvconf
Ignore changes on check resolvconf task
8 years ago
Matthew Mosesohn
6da0ecfa55
Merge pull request #550 from chadswen/hostname-alias
Hostname alias fixes
8 years ago
Matthew Mosesohn
1ccc10baf8
Merge pull request #597 from pcm32/patch-1
Adds missing 'ip' var for terraform-generated inventory, based on internal ip
8 years ago
Matthew Mosesohn
45c2900e71
Merge branch 'master' into hostname-alias
8 years ago
Matthew Mosesohn
eb583dd2f3
Merge branch 'master' into idempotency_resolvconf
8 years ago
Smaine Kahlouch
f6233ffc9a
Merge pull request #596 from kubernetes-incubator/fix_etcd_coreos_ca
Fix ca certificate loading on CoreOS
8 years ago
Matthew Mosesohn
46ee9faca9
Fix ca certificate loading on CoreOS
8 years ago
Pablo Moreno
f320b79c0c
Adds missing ip based on internal ip, for etcd
8 years ago
Matthew Mosesohn
6cc05c103a
Merge pull request #592 from artem-panchenko/support_golang_calicoctl
Support new version of 'calicoctl' (>=v1.0.0)
8 years ago