Bogdan Dobrelya
82ee60fe8b
Make dnsmasq daemon set optional
Change additional dnsmasq opts:
- Adjust caching size and TTL
- Disable resolve conf to not create loops
- Change dnsPolicy to default (similarly to kubedns's dnsmasq). The
ClusterFirst should not be used to not create loops
- Disable negative NXDOMAIN replies to be cached
- Make its very installation as optional step (enabled by default).
If you don't want more than 3 DNS servers, including 1 for K8s, disable
it.
- Add docs and a drawing to clarify DNS setup.
- Fix stdout logs for dnsmasq/kubedns app configs
- Add missed notifies to resolvconf -u handler
- Fix idempotency of resolvconf head file changes
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
73a8c24089
Merge pull request #501 from kubespray/nameserver_update_fix
Improve management of nameservers in resolv.conf
8 years ago
Matthew Mosesohn
d313be4420
Improve management of nameservers in resolv.conf
Changing nameservers now will clean up previous entries
8 years ago
Smaine Kahlouch
83750d14e3
Merge pull request #498 from teutostack/pr_dnsmasq_enhancement
Changed ImagePullPolicy from Always to IfNotPresent to avoid download…
8 years ago
Özgür Caner
123532d2a4
Changed ImagePullPolicy from Always to IfNotPresent to avoid download issue when DNS is not working
8 years ago
Anthony Howell
1a05b5980f
restored gather facts on all hosts
8 years ago
Smaine Kahlouch
a3a772be7b
Merge pull request #495 from sc68cal/sc68cal-patch-1
Rename large-deploymets.md to large-deployments.md
8 years ago
Sean M. Collins
42a5055d3c
Rename large-deploymets.md to large-deployments.md
Filename was a typo
8 years ago
Matthew Mosesohn
a93639650f
Allow calico to configure pool if tree exists, but no pools defined
8 years ago
Smaine Kahlouch
71a230a4fa
Merge pull request #493 from ivan4th/fix-reverse-dns-lookups
Fix reverse DNS lookups of service IPs.
8 years ago
Smaine Kahlouch
0643ed968f
Merge pull request #494 from kubespray/etcd_proxy_fix
always bind etcd_proxy to localhost
8 years ago
Smaine Kahlouch
1572aaf6ca
Merge pull request #489 from lukaszo/patch-1
Add socat do required pkgs
8 years ago
Smaine Kahlouch
5803de1ac5
Merge pull request #486 from kubespray/etchosts
switch /etc/hosts to use blockinfile
8 years ago
Ivan Shvedunov
13874f4610
Fix reverse DNS lookups of service IPs.
This fixes "DNS should provide DNS for services [Conformance]"
e2e test in k8s.
8 years ago
Matthew Mosesohn
341ea5a6ea
always bind etcd_proxy to localhost
8 years ago
Smaine Kahlouch
93be5afb60
Merge pull request #492 from bogdando/fix_cni
Fix use_hyperkube_cni logic
8 years ago
Bogdan Dobrelya
5ed3916f82
Fix use_hyperkube_cni logic
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
7760f75ae0
Merge pull request #488 from bogdando/issue/480
Distribute container images across nodes
8 years ago
Bogdan Dobrelya
390764c2b4
Add retry_stagger var for failed download/pushes.
* Add the retry_stagger var to tweak push and retry time strategies.
* Add large deployments related docs.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Bogdan Dobrelya
9926395e5b
Distribute downloaded artifacts
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Bogdan Dobrelya
422428908a
Download containers and save all
Move version/repo vars to download role.
Add container to download params, which overrides url/source_url,
if enabled.
Fix networking plugins download depending on kube_network_plugin.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
76c43f62e2
Merge pull request #490 from kubespray/fix_hyperkube_cni_decision
Fix logic handling for use_hyperkube_cni
8 years ago
Matthew Mosesohn
b69d5f6e6e
Fix logic handling for use_hyperkube_cni
8 years ago
Łukasz Oleś
0db441b28f
Add socat do required pkgs
It's required for port forwarding.
8 years ago
Matthew Mosesohn
e3ebabc3b0
switch /etc/hosts to use blockinfile
8 years ago
Smaine Kahlouch
d0867c8d03
Merge pull request #484 from ursuad/master
Added IntelliJ IDEA Project folder to .gitignore
8 years ago
Smaine Kahlouch
b46458a18f
Merge pull request #483 from kubespray/fix_idempotency_kubedns
Fix kubedns idempotency
8 years ago
Adrian Ursu
3ae29d763e
Added IntelliJ IDEA Project folder to .gitignore
8 years ago
Smaine Kahlouch
125cb0aa64
Merge pull request #481 from bogdando/issue/479
Add retries for copying binaries from containers and packages
8 years ago
Bogdan Dobrelya
783871a253
Add retries for packages installation
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
8294a9f1db
Merge pull request #482 from anthonyhaussman/checkkubeversioncni
Check kube version for calico cni to use
8 years ago
Matthew Mosesohn
ef43b21597
Fix kubedns idempotency
Removed api-version from kube.py because it is deprecated.
Updating both kube.py because dnsmasq one is actually used.
Fixed name back to kubedns for checking its resource.
8 years ago
Bogdan Dobrelya
6fdcaa1a63
Add retries for copying binaries from containers
Closes issue: https://github.com/kubespray/kargo/issues/479
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Anthony Haussmann
d47a2d03b4
Delete default variable use_hyperkube_cni
The variable is now set via a task depending of the version of kube
8 years ago
Anthony Haussmann
739cf59953
Determine hyperkube cni to use
Starting from version 1.3.4 of hyperkube, calico is "canalized" which requires flannel and hostonly cni plugins.So we let hyperkube ship necessary cni
8 years ago
Antoine Legrand
2e386dfbdc
Merge pull request #465 from kubespray/freeze_kpm_version
Multiple app deploy tools
8 years ago
Antoine Legrand
ccbb2ee3ae
App deployer plugins
8 years ago
Antoine Legrand
eb78ce4c4e
Merge pull request #473 from kubespray/bootsrap
Bootstrap
8 years ago
Antoine Legrand
6084e05a6b
Bootstrap os
8 years ago
Özgür Caner
da8a604c4c
Changed apt to apt-get
8 years ago
Özgür Caner
df2b2d7417
Added bootstrap script for Ubuntu 16.04 LTS and later
8 years ago
Smaine Kahlouch
d87b0344b5
Merge pull request #471 from kubespray/kubednsrc
Reset replicacluster name of kube-dns-v19 back to kubedns
8 years ago
Brandon B. Jozsa
2606e8e1c8
combine bootstrap options, add xenial support
8 years ago
Matthew Mosesohn
b62de1dcb1
Reset replicacluster name of kube-dns-v19 back to kubedns
This broke upgraded clusters
8 years ago
Antoine Legrand
37057ba969
Merge pull request #468 from kubespray/fix-kubedns-name
Rename kube-dns back to kubedns
8 years ago
Matthew Mosesohn
b58512bbda
Rename kube-dns back to kubedns
kubedns should stay named the same so that services which
depend on this name are not broken.
8 years ago
Antoine Legrand
c90045c506
Merge pull request #467 from kubespray/issue-352
remove dependency on kpm for kubedns
8 years ago
Spencer Smith
8b91a43576
remove dependency on kpm for kubedns
8 years ago
Antoine Legrand
602dba45ea
Merge pull request #466 from bogdando/fix_resolvconf
Fix updating resolvconf
8 years ago
Bogdan Dobrelya
d240073f65
Fix updating resolvconf
Move updating resolvconf to the network restart handler to
ensure changes applied to the /etc/resolv.conf.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago