Comments (6)
We run this code in vagrant a lot, which has that fact set to true, and don't get this error. I'm not aware that the version of docker you're running is officially supported in 1.11.0 either
from puppetlabs-kubernetes.
@davejrt thank you for your answer.
are you also using containerd
as runtime instead of docker
?
which kind of virtualization is vagrant using?
there is actually no code in the manifests, which take care of is_virtual
.
That was my proposal how to fix the issue :)
from puppetlabs-kubernetes.
I'm confused, are you using docker or containerd as the runtime? You've pasted in an unsupported docker version above.
Can you provide more information about the environment you're seeing this issue on so we can determine whether or not this isn't isolated to your combination of software versions and virutal environment.
from puppetlabs-kubernetes.
@davejrt: I'm using containerd
as runtime. Sorry, for the confusion. I've missed the version command there for containerd (I've updated the initial report now)
Environment:
3 bare metal servers with:
- Kernel 4.17 (linux-image-4.17.0-0.bpo.1-amd64)
- Debian Stretch (9.5)
- LXC 2.0.7-2+deb9u2
- lxcfs 2.0.7-1
The Kubernetes controllers are running inside a LXC container on each host.
Every bare metal (host) has 1x controller (lxc container) 1x worker (2nd container):
$ lxc-ls
kube-controller2
kube-worker2
with the relevant kubernetes containers lxc config:
lxc.include = /usr/share/lxc/config/nesting.conf
lxc.include = /usr/share/lxc/config/debian.common.conf
lxc.mount.auto=proc:rw sys:rw
lxc.aa_profile=unconfined
lxc.cgroup.devices.allow=a
(apparmor disabled / unconfined)
Networking: weave
To point out: the issue is the modprobe command on a lxc guest-machine.
This should never work, because it would be a huge security issue if lxc guests could load kernel module on the host (lxc machines share the kernel with the host)
from puppetlabs-kubernetes.
@khaefeli I have left comments on your pr #147
from puppetlabs-kubernetes.
Closing as this issue is beyond the scope of this module
from puppetlabs-kubernetes.
Related Issues (20)
- Config version not set correctly
- Variable kubernetes::containerd_config_source is not honored HOT 2
- Support for RedHat derivatives version 8 and 9 HOT 2
- Invalid default docker version on Debian HOT 2
- Spec tests seem to be broken and are blocking PRs HOT 2
- Calico install doesn't work HOT 3
- Module not work HOT 31
- CNI commands aren't executed HOT 3
- Containerd won't bind GRPC endpoint HOT 2
- docker commands fail with errors HOT 2
- puppet/kubetool:7.0.0 - bad discovery_token_hash HOT 3
- Version bump for puppet/kubetool ? HOT 1
- deprecate this module in favour of puppet/k8s HOT 8
- Version bump for kubetool? HOT 2
- Minimum puppet version for puppetlabs-kubernetes 7.1.1 HOT 1
- The link to the contributing guidelines is dead
- "ensure CRDs are installed first" - no matches for kind "InitConfiguration" / "ClusterConfiguration" / "KubeProxyConfiguration"
- scheduler_extra_arguments not working on v1beta3 due to missing scheduler_merged_extra_arguments used in the template HOT 2
- Not able to generate certificates - undefined method `match' for nil:NilClass (NoMethodError) HOT 1
- Release new version HOT 1
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 puppetlabs-kubernetes.