Comments (4)
@quadebroadwell
The original bootstrap script installs whatever the latest version of Kubernetes is. And it was working fine until v1.15.0 was released. I couldn't get 1.15.0 working in LXC environment. So I locked the installation to 1.14.3. I don't remember seeing those errors.
I am going to spin up the cluster now and see if I get the same behaviour.
Thanks for pointing this out.
from kubernetes.
@quadebroadwell
I just tried it on my environment and it worked perfectly fine. No Issues.
~ 🞂🞂 lxc list
+----------+---------+------------------------+------+------------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+----------+---------+------------------------+------+------------+-----------+
| kmaster | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | |
| | | 10.92.250.141 (eth0) | | | |
| | | 10.244.0.1 (cni0) | | | |
| | | 10.244.0.0 (flannel.1) | | | |
+----------+---------+------------------------+------+------------+-----------+
| kworker1 | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | |
| | | 10.92.250.207 (eth0) | | | |
| | | 10.244.1.0 (flannel.1) | | | |
+----------+---------+------------------------+------+------------+-----------+
| kworker2 | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | |
| | | 10.92.250.73 (eth0) | | | |
| | | 10.244.2.0 (flannel.1) | | | |
+----------+---------+------------------------+------+------------+-----------+
~ 🞂🞂 kubectl -n kube-system get pods
NAME READY STATUS RESTARTS AGE
coredns-fb8b8dccf-llvpb 1/1 Running 0 18m
coredns-fb8b8dccf-n9cn6 1/1 Running 0 18m
etcd-kmaster 1/1 Running 0 17m
kube-apiserver-kmaster 1/1 Running 0 18m
kube-controller-manager-kmaster 1/1 Running 0 18m
kube-flannel-ds-amd64-c7vtd 1/1 Running 1 17m
kube-flannel-ds-amd64-v4wwf 1/1 Running 0 16m
kube-flannel-ds-amd64-zzqwn 1/1 Running 0 18m
kube-proxy-8v8ld 1/1 Running 0 17m
kube-proxy-clswp 1/1 Running 0 18m
kube-proxy-hzmhx 1/1 Running 0 16m
kube-scheduler-kmaster 1/1 Running 0 17m
And as mentioned in the video, I have created a separate lxc profile named "k8s" which is shown below.
~ 🞂🞂 lxc profile show k8s
config:
limits.cpu: "2"
limits.memory: 2GB
limits.memory.swap: "false"
linux.kernel_modules: ip_tables,ip6_tables,netlink_diag,nf_nat,overlay
raw.lxc: "lxc.apparmor.profile=unconfined\nlxc.cap.drop= \nlxc.cgroup.devices.allow=a\nlxc.mount.auto=proc:rw
sys:rw"
security.nesting: "true"
security.privileged: "true"
description: Default LXD profile
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: k8s
used_by:
- /1.0/containers/kmaster
- /1.0/containers/kworker1
- /1.0/containers/kworker2
from kubernetes.
Thanks for the response and again for your great videos, I found the issue, it seems the mtu of my bridged lxc device was set higher than the host ethernets mtu, this caused all my issues, just an fyi if anyone else runs into this, use
sudo ip link set mtu 1400 dev lxdbr0
To set the mtu of the mtu of your bridged device to a value lower than the host devices mtu.
from kubernetes.
@quadebroadwell
Thanks for sharing the resolution.
from kubernetes.
Related Issues (20)
- Need help please, I cannt vagrant up repo vagrant-provisioning. HOT 1
- MetalLB generated IP-Adress for Loadbalancer is unreachable HOT 5
- Doubt regarding the CronJob HOT 3
- Feed-back, would you be kind enough to use nginx external load balancer? HOT 1
- unable to install istiod HOT 2
- Since i don't find where i can contact you personally HOT 6
- Internet connection HOT 1
- Can't setup HA Cluster with 1.24.6 HOT 15
- Containers unstable HOT 1
- not able to run vagrant up on ubuntu 22.04 using the vagrant file HOT 1
- LXD provisioning for kubernetes isnt working HOT 2
- ingress-nginx define the localhost ip as ingress address instead of IP from metallb addresspool HOT 7
- Internet issue when running cluster in corporate network HOT 2
- ingress-nginx get 400 HOT 2
- bootstrap_kmaster task 1 is not able to pull HOT 4
- kmaster: [TASK 4] Generate and save cluster join command to /joincluster.sh step return a non-zero exit status HOT 4
- LXC/LXD - Kubernetes Cluster created but not working HOT 3
- ClusterAPI HOT 2
- Create Kubernetes cluster using Vagrant. HOT 2
- LXD Provisioning 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 kubernetes.