afbjorklund / buildroot4kubernetes

Minimal linux distribution for running kubernetes ("boot2kubeadm")
https://kutter-os.github.io
23 stars 5 forks source link

Add documentation on how to use kine #23

Open afbjorklund opened 2 years ago

afbjorklund commented 2 years ago

It is possible to use kine instead of etcd, in k8s.

This allows using a SQL database, such as sqlite.

kubeadm init --config kubeadm-master.cfg --ignore-preflight-errors ExternalEtcdVersion

The main issue is with generating the certificates...


https://github.com/rancher/kine

Can be ran standalone so any k8s (not just k3s) can use Kine

etcd:
  external:
    endpoints:
    - http://k3s:2379
    caFile: ./ca.crt
    certFile: ./server.crt
    keyFile: ./server.key

Minimal example of using kine