Comments (6)
It looks like the main error in that big list is:
/proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1
Do you have a full playbook you can provide that can reproduce this problem? The test playbooks running in this project's CI seem to be installing successfully even with the latest version of Docker.
from ansible-role-kubernetes.
Hello, Jeff.
This is here:
[ansible@ansible-server lab-kubernetes]$ cat inventory
[all]
174.35.241.200 kubernetes_role="master"
174.35.241.201 kubernetes_role="node"
174.35.241.202 kubernetes_role="node"
174.35.241.203 kubernetes_role="node"
[ansible@ansible-server lab-kubernetes]$ cat playbook.yml
- hosts: all
become: yes
vars:
kubernetes_allow_pods_on_master: True
kubernetes_pod_network_cidr: 10.244.0.0/16
roles:
- brim.swapoff
- geerlingguy.docker
- geerlingguy.kubernetes
[ansible@ansible-server lab-kubernetes]$
from ansible-role-kubernetes.
My role - copylefted from a source that I don't remember :D
../../.ansible/roles/brim.swapoff
../../.ansible/roles/brim.swapoff/tasks
../../.ansible/roles/brim.swapoff/tasks/main.yml
[ansible@ansible-server lab-kubernetes]$ cat ../../.ansible/roles/brim.swapoff/tasks/main.yml
---
# This task disables swap for Kubernetes node (see https://github.com/kubernetes/kubernetes/pull/31996)
- name: Remove swapfile from /etc/fstab
mount:
name: swap
fstype: swap
state: absent
- name: Disable swap
command: swapoff -a
when: ansible_swaptotal_mb > 0
[ansible@ansible-server lab-kubernetes]$```
from ansible-role-kubernetes.
Interesting, that should work with the latest version of this role (which I just updated this weekend).
Are you using VirtualBox VMs? If so, your base box might not have the right settings—see: kubernetes/kubeadm#312 (comment)
I am using my geerlingguy/debian9
base box for the Raspberry Pi cluster testing in VirtualBox and don't seem to have this issue.
from ansible-role-kubernetes.
from ansible-role-kubernetes.
Closing this for now—but note that I'm also seeing some strange issues with the Ubuntu 18.04 and Debian 9 test environments for this role; follow #42 for progress.
from ansible-role-kubernetes.
Related Issues (20)
- Configure Flannel networking tasks fails on Ubuntu 20.04 HOT 6
- Can't install any K8s version other than 1.20
- No kubeconfig in ~/.kube HOT 5
- Execution issue with kubernetes version HOT 5
- Role failing on play "Configure Calico networking" HOT 3
- Fail to install on fresh OS HOT 11
- Upgrade to new kubernetes versions HOT 3
- APT ignores version pinning on Ubuntu HOT 4
- CI Currently broken - kubelet won't start in GitHub Actions HOT 18
- Support JoinConfiguration HOT 2
- kube-flannel-rbac.yml not found HOT 3
- Put a hold on packages HOT 2
- Could not find the requested service kubelet: host HOT 2
- User "system:anonymous" cannot get resource "configmaps" in API group HOT 4
- `kubernetes-join-command` not delegated to any host except master HOT 6
- Ubuntu 22.04 needs to Forward IPv4 and letting iptables see bridged traffic HOT 4
- memory, br_netfilter and iptables issues when installing on 2023-05-03 Raspbian 64-bit HOT 4
- Changes to the location of Linux packages for Kubernetes HOT 1
- ansible-lint and molecule/default HOT 1
- Each virtual machine has the same hostname after installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-kubernetes.