Multi-Node Kubernetes Setup

This guide provides instructions for setting up a multi-node Kubernetes cluster using k3s. The guide assumes a minimum three-node cluster configuration for high availability.

Prerequisites

Hardware Requirements

Per node:

  • 4 Cores

  • 16 GB RAM

  • 50GB disk space

  • Static private IP

Network Requirements

  • TCP/UDP communication between nodes enabled

  • All nodes can reach each other

  • Firewall/Security Group rules configured for inter-node communication

Example Setup

Assume three nodes:

  • Node1: Primary control plane

  • Node2: Secondary control plane

  • Node3: Secondary control plane

Installation

1. Set Up First Server Node (Node1)

2. Join Additional Server Nodes

3. Verify Cluster

Deploy Observo Site

1. Configure Access (On Node1)

2. Deploy Site

Configure Access

1. Configure nginx on Each Node

Verify Installation

1. Check Node Status

2. Test Connectivity

High Availability Testing

1. Test Node Failover

2. Check Pod Distribution

Troubleshooting

Network Connectivity

Cluster Status

Node Issues

Maintenance

Backup Etcd (k3s)

Update Nodes

For additional assistance, refer to:

Last updated

Was this helpful?