В общем прототип, можно сказать, готов:
github.com/kvaps/kubernetes-in-kubernetes
контрол плен раскатывается, ноды джойнятся
Cool. Запустилось.
etcd крэшится, падла. Завтра буду разбираться.
Сджойнить lxc контейнер не смог, если честно, завтра буду тестить на норм кубе.
I0401 00:12:28.623175 3880 token.go:215] [discovery] Failed to request cluster-info, will try again: configmaps "cluster-info" is forbidden: User "system:anonymous" cannot get resource "configmaps" in API group "" in the namespace "kube-public"
Хотя kubeadm join 1.1.1.1:31708 --token onduu2.2rlr0wp2che06cbc --discovery-token-ca-cert-hash sha256:ff5c3ff663d83bf55a75d45f94218521d8f90094baec059feeefd195d930bc01 --ignore-preflight-errors=swap,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables -v=5