fnkr / hcloud-k8s Goto Github PK
View Code? Open in Web Editor NEWTerraform module and Ansible playbook to provision Kubernetes clusters on Hetzner Cloud.
License: MIT License
Terraform module and Ansible playbook to provision Kubernetes clusters on Hetzner Cloud.
License: MIT License
Hey there,
i really like your approach and it's simplicity compared to kubespray etc.
but the ansible keeps breaking when it comes to applying resources, even with your minimal/default config:
failed: [testkube-control-001] (item=cilium-wireguard.yaml) => {"ansible_loop_var": "item", "changed": false, "item": "cilium-wireguard.yaml", "msg": "kubernetes >= 12.0.0 is required"}
What is missing here? I don't get it :-(
Hello @fnkr!
Thanks for this helpful repository :) I came across this repository, because i was searching for a well documented and working example, which provides a kubernetes cluster with terraform (and ansible) on hetzner-cloud-servers.
Did you face the following issue during ansible-playbook ansible.yaml
?
TASK [k8s : Template kubelet service overrides] *************************************************************************************************************
fatal: [testkube-control-001]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}
fatal: [testkube-control-002]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}
fatal: [testkube-control-003]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}
fatal: [testkube-worker-001]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}
fatal: [testkube-worker-002]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}
fatal: [testkube-worker-003]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}
NO MORE HOSTS LEFT ******************************************************************************************************************************************
PLAY RECAP **************************************************************************************************************************************************
testkube-control-001 : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
testkube-control-002 : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
testkube-control-003 : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
testkube-worker-001 : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
testkube-worker-002 : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
testkube-worker-003 : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
Anyway, if not, i think you should add a hint to the README, so that other users will know, they have to install python3-netaddr
, python-netaddr
or simply pip3 install netaddr
(for virtualenv) as described in here: ansible/workshops#115
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.