Project

General

Profile

Actions

Task #93

open

Milestone #92: kubernetes Improve

move node to LXC containers

Task #93: move node to LXC containers

Added by Daniele Cruciani 10 days ago. Updated 10 days ago.

Status:
new
Priority:
wishlist
Start date:
Due date:
% Done:

0%

Estimated time:
Sprint:

Description

Goal 1:

Current: There are 2 VM running kubernetes on ubuntu on KVM VMs.

Wanted: 2 VM running kubernetes on ubuntu on LXC vm containers

## Goal 2:

Current: there is nfs running on ubuntu on KVM vm.
Wanted: NFS running elsewhere

How? maybe it is too hard. Post-pone this.

Goal 1 plan

  1. add 2 vm on LXC using ubuntu base image
  2. join the cluster of 10.0.4.11-12 k8s vms.
  3. promote one of the newest as controlplane.
  4. add newer nodes to round-robin of nginx proxy
  5. demote the current controlplane
  6. drain nodes on kvm, then remove the nodes
  7. switch off the kvm-based vms.

Everything should be fine.

Additional check

  • /root folder for each node
  • /home/cruzza user folder for each node

Check and save before delete the node.

Outcome

Great outcomes are:

  • performance (near metal machine and no layer)
  • startup time (2 vs 20 seconds: 1/10)
  • simple update for kernel (just update proxmox kernel and that's all)
  • easier systemd group management
  • no strange startup staff in kubernetes (no boot option specific for k8s)

Possible problem

It might not work at all. Funny, but true.

Updated by Daniele Cruciani 10 days ago Actions #1

  • Description updated (diff)
Actions

Also available in: PDF Atom