yes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pünkösd Marcell 607f42e1aa Added note about metrics-server 3 days ago
ansible bruh 1 week ago
kubespray_inventory Fixed cluster names 2 weeks ago
vm_generator_local Added stuff 4 weeks ago
vm_generator_luna Added stuff 4 weeks ago
.gitignore added generator script 4 weeks ago
README.md Added note about metrics-server 3 days ago
hosts Added stuff 4 weeks ago

README.md

Ultrabirb-cluster

Get Cloud images

Download cloud images from: https://cloud-images.ubuntu.com/focal/current/

Use the magic-router

Simulate latency: tc qdisc add dev enp1s0f2 root netem delay 97ms

Interfaces:

  • enp1s0f0 192.168.110.10/24 cloud
  • enp1s0f1 192.168.111.10/24 edge-1
  • enp1s0f2 192.168.112.10/24 edge-2
  • enp1s0f3 192.168.113.10/24 site

Allow connection

iptables -A LIBVIRT_FWX -i br100 -o virbr0 -j ACCEPT
iptables -A LIBVIRT_FWX -i br100 -o virbr1 -j ACCEPT
iptables -A LIBVIRT_FWX -i br100 -o virbr2 -j ACCEPT
iptables -A LIBVIRT_FWX -i br100 -o virbr3 -j ACCEPT
iptables -A LIBVIRT_FWX -o br100 -i virbr0 -j ACCEPT
iptables -A LIBVIRT_FWX -o br100 -i virbr1 -j ACCEPT
iptables -A LIBVIRT_FWX -o br100 -i virbr2 -j ACCEPT
iptables -A LIBVIRT_FWX -o br100 -i virbr3 -j ACCEPT

Magic patch to make metrics-server work

This disables TLS checking, because who need that anyway.

kubectl patch deployment metrics-server -n kube-system --type 'json' -p '[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--kubelet-insecure-tls"}]'

Source: http://www.mtitek.com/tutorials/kubernetes/install-kubernetes-metrics-server.php