Giter VIP home page Giter VIP logo

kubeinlxd's Introduction

refer to this for context

following those docs and this config generator script allows for baremetal pure-ipv6 kubernetes nodes spinup using a ubuntu LXC container

all kube packages provided by snap inside the container and configured using "snap set"

cri-o provided by apt official repo in download.opensuse.org/repositories/

advice: use groupfs instead of systemd for cri-o

calico configs for baremetal ipv6 networking are included

hurricane-electric ddns updater for cert-manager here allows certs provision to apps

node commands:

shared root :shrugs:

mount --make-rshared /

set pure-ipv6 options to kubelet from snap:

snap set kubelet \
config=/var/lib/kubelet/config.yaml \
container-runtime=remote \
container-runtime-endpoint=unix:///run/crio/crio.sock \
feature-gates=IPv6DualStack=true \
kubeconfig=/etc/kubernetes/kubelet.conf \
network-plugin=cni \
node-ip=$(ip -6 -o addr show dev eth0| awk "{split(\$4,a,\"/\");print a[1]}" |grep 2001)

kill the cluster:

kubeadm reset -f && rm -rf /etc/kubernetes/ && systemctl daemon-reload && systemctl stop snap.kubelet.daemon && crictl stopp $(crictl pods -q --no-trunc) && crictl rmp -a && rm -f ~/.kube/config && ip link delete cni0 && snap restart kubelet.daemon

kubeinlxd's People

Contributors

gattytto avatar asasd avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

joskuijpers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.