Report on Lightweight Kubernetes Cluster Tests - K3s on Ecloud

These notes describe feedback and observations from deploying a K3s cluster with different minimal configurations.

K3s – Minimal Configuration and Observations on a Single VM

1- (2 vCPU / 2 GB RAM)


Test Scenarios


Problems Encountered

When deploying the Boutique (microservices-demo) application:

2- VM 3 vCPU / 2.5 GB RAM

Test Scenarios


Load Test (LoadGenerator)

Initial Configuration

kubectl -n default get deploy loadgenerator -o yaml | yq '.spec.template.spec.containers[0].env'
FRONTEND_ADDR: frontend:80
USERS: "10"
RATE: "1"

I increase the load:

# 1: 50 users, 5/s --> OK
kubectl set env deploy/loadgenerator USERS=50 RATE=5 

# 2: 200 users, 20/s --> Slower and less responsive
kubectl set env deploy/loadgenerator USERS=200 RATE=20

# 3: 500 users, 50/s --> Much slower, services stop responding, console becomes slow
kubectl set env deploy/loadgenerator USERS=500 RATE=50

3- VM 3 vCPU / 3 GB RAM


K3s – Minimal Configuration and Observations on 3 VMs

1- 3 VMs with 2+0.5x2 = 3 vCPU / 2 + 2*512 = 3 GB RAM

Test Scenarios


2- 3 VMs with 2+1x2 = 4 vCPU / 2 + 2x1 = 4 GB RAM

Test Scenarios