Cloud Malaya Lab
  • Home Cloud Lab
    • Architecture
    • DNS Server
  • DevOps & DevSecOps
    • Kubernetes
      • Fundamental
        • Taints in Kubernetes
        • Kubernetes Observability (Monitoring) Guide
        • DNS in Kubernetes (CoreDNS)
        • Storage in Kubernetes
          • Container Storage Interface - CSI
          • Ephemeral Storage Explain
        • Cluster CPU & Memory Inspections
        • Open Source and Free Storage Solution Kubernetes
      • PoC Lab
        • Configure Access to Multiple Cluster using KUBE_CONFIG
        • High Availability Portable Mini Kubernetes Data Center with K3s
          • Lab 1: Build the K3s Infrastructure
          • Lab 2: Automate the K3s clusters deployment with Ansible
          • Lab 3: Multi Master K3s kubeconfig files for smooth accessibility
          • Lab 4: Network Configurations & Tools
        • AWX/Ansible Tower Deployment on Kubernetes
          • Lab 1 - Understanding Requirements
          • Lab 2 - AWX,AWX Operator Configurations & Deployments
          • Lab 3 - Ingress Networking & Connectivity via Nginx
          • Lab 4: AWX Web Console & accessibility on LAN
        • Troubleshooting: Ansible Tower - Reset admin password
    • Monitoring & Observability
      • Splunk
        • Splunk Deployment for SME (Malay Version)
    • System Administration - Linux
      • RedHat Derivatives
        • Add User to Sudoers
        • Yum Update vs Yum Upgrade
        • DNF update vs upgrade
        • SMP PREEMPT_DYNAMIC Definitions
      • Virtualization
        • KVM
      • Storage
  • Digital Infrastructure & Cloud Solutions
    • Solution & System Design
      • Public Cloud
        • Fundamental
          • AWS
          • Azure
          • GCP
        • Lab
          • Simple CD menggunakan Github Action
      • Private Cloud & On-Premise
      • On-Premise to Cloud Design
        • AWS Direct Connect
      • High Availability & Fault Tolerance Design
      • Disaster Recovery
Powered by GitBook
On this page
  1. DevOps & DevSecOps
  2. Kubernetes
  3. PoC Lab
  4. High Availability Portable Mini Kubernetes Data Center with K3s

Lab 4: Network Configurations & Tools

Network Router

I'm using Mercusys AX1800 Dual-Band Wi-Fi 6 Router

DNS Server

I have a DNS server that running on a VM's with DNSMasq installed. It serves as a DNS forwarder,caching and as a DHCP server.

Following is the configs.

DNSMasq Configs

domain-needed
bogus-priv
no-resolv
server=8.8.8.8
server=8.8.4.4
local=/home-cloud01.lab/
listen-address=::1,127.0.0.1,192.168.1.3
expand-hosts
domain=home-cloud01.lab
dhcp-range=192.168.1.4,192.168.1.255,24h
dhcp-range=192.168.2.1,192.168.2.255,24h
dhcp-option=option:router,192.168.1.1
dhcp-authoritative
dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases

As we can see, I set the listener address to 192.168.1.3 which means this is the endpoint I can use as my secondary DNS setting on any of my devices - PC's, laptops,mobile phone, smart home appliances etc.

The root domain is home-cloud01.lab.

At the time of writing this guide, I have multiple IP segmentations:

  • 192.168.1.4,192.168.1.255 within this range, I use it for Pyshical and VM's based appliances.

  • 192.168.2.1,192.168.2.255 within this range, I use it for the Kubernetes cluster

Deploy and Configure Nginx Ingress Controller

PreviousLab 3: Multi Master K3s kubeconfig files for smooth accessibilityNextAWX/Ansible Tower Deployment on Kubernetes

Last updated 1 year ago