Architecture

I have been evaluating some of the simplest Kubernetes solutions for local use, but as I have a major hardware limitation to create the lab, Microk8s responded better to some needs.

Hardware1 – Mac M1 has good memory and processor, but the ARM architecture doesn’t help and for professional reasons, it has a firewall and several security controls, which makes it difficult to create some configurations on the Microk8s, I have had a lot of difficulty configuring MetalLB with External IP.

Pods are created, services are also created with IP within the range configured in MetalLB, but it is not accessible even internally.

This hardware has been working well with Rancher/Docker.

Hardware2 – Intel Core i7/8Gb, this notebook is over 12 years old, but with Debian 12 installed, it has been the hardware I use for VMs (Vagrant / VirtualBox), Kubernetes (Microk8s) and Docker.

The plan is for this hardware situation to change soon €€€.

Network

DNS

For these Labs, a DNS server will be used for ease of understanding, instead of IPs.
For the *.devops-db.local and *.devops-db.com domains there are CA certificates, which will make it easier to configure SSL/TLS between the services.

DomainPublic DNSCA Certificate
*.devops-db.internalNoNo
*.lab.devops-db.infoYesYes
*.devops-db.comYesNo

Services

DestinationStartEnd
MetalLB172.17.5.150172.17.5.200
Hosts172.17.5.60172.17.5.149
HardwareVirtualizerIP
Mac M1Rancher / Docker 
IntelDocker172.21.5.72/24,
172.21.5.75/24,
172.21.5.76/24
IntelMicrok8s 
IntelVagrant / VirtualBox 
HardwareVirtualizerServiceIPPortDNS
IntelDockerBind9172.21.5.7253 
IntelDockerRegistry172.21.5.755000registry.devops-db.internal
registry.lab.devops-db.info
IntelVagrantGitLab172.21.5.153 gitlab.devops-db.internal
gitlab.lab.devops-db.info
IntelDockerOpenLDAP172.21.5.150389, 636ldap.devops-db.info
IntelDockerLDAP Account Manager172.21.5.728082ldapman.devops-db.internal
MacDockerJenkins172.21.5.708081, 50000jenkins.lab.devops-db.info
IntelVagrantDevPi172.21.5.1604040devpi.devops-db.internal

Requirements / To do

ActionDate
Buy new hardware that can support the services (€ :cry: ) 
Buy *.devops-db.info certificate
Setting up a VPN with SSL