This repository contains the Kubernetes orchestration and configuration for the deciBel project.
- k8s-manifests/: Application-level resources (Frontend, Backend, and Ingress routing).
- k8s-config/: Cluster-level infrastructure tools and security configurations.
- A running Kubernetes cluster (k3s used for this project).
- Helm v3+ installed.
- A domain name pointing to your Node's Public IP.
- Initialize Infrastructure: Follow instructions in
k8-config/README.mdto install the controllers. - Deploy Application: Run
kubectl apply -f k8s-manifests.
Add your VM's public IP to the K3s config to allow remote connections.
# Edit /etc/rancher/k3s/config.yaml
tls-san:
- "YOUR_PUBLIC_IP"sudo systemctl restart k3sRun this from your local machine:
ssh -i key user@ip "sudo cat /etc/rancher/k3s/k3s.yaml" > k3s.yaml- Open
k3s.yamland changeserver: https://127.0.0.1:6443toserver: https://YOUR_PUBLIC_IP:6443. - Test:
export KUBECONFIG=./k3s.yaml && kubectl get nodes
Tip: Ensure Cloud provider's Security group allows inbound traffic on Port 6443.