Loading repository data…
Loading repository data…
ry-ops / repository
Deploy production-ready Kubernetes clusters with K3s
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A comprehensive guide and toolkit for deploying your first Kubernetes cluster using K3s, a lightweight Kubernetes distribution perfect for learning, development, and production edge deployments.
Get your Kubernetes cluster running in minutes:
# Clone the repository
git clone https://github.com/ry-ops/deploying-your-first-kubernetes-cluster.git
cd deploying-your-first-kubernetes-cluster
# Install K3s
./scripts/install-k3s.sh
# Setup kubectl
./scripts/setup-kubectl.sh
# Deploy sample application
kubectl apply -f manifests/
K3s is a highly available, certified Kubernetes distribution designed for production workloads in resource-constrained environments. It's packaged as a single binary and uses only 512MB of RAM.
Use our installation script for a quick setup:
./scripts/install-k3s.sh
This script will:
If you prefer to install K3s manually:
curl -sfL https://get.k3s.io | sh -
For additional options:
# Install without Traefik (if you plan to use nginx-ingress)
curl -sfL https://get.k3s.io | sh -s - --disable traefik
# Install as worker node
curl -sfL https://get.k3s.io | K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh -
# Check K3s status
sudo systemctl status k3s
# Check nodes
kubectl get nodes
# Check system pods
kubectl get pods -A
.
├── scripts/ # Installation and setup scripts
│ ├── install-k3s.sh # K3s installation script
│ └── setup-kubectl.sh # kubectl configuration script
├── manifests/ # Sample Kubernetes manifests
│ ├── deployment.yaml # Nginx deployment example
│ ├── service.yaml # Service configuration
│ ├── ingress.yaml # Ingress controller setup
│ └── configmap.yaml # ConfigMap example
├── examples/ # Complete application examples
│ ├── wordpress/ # WordPress deployment
│ ├── monitoring/ # Monitoring stack
│ └── multi-tier-app/ # Multi-tier application
└── documentation/ # Detailed guides
├── K3S-SETUP.md # K3s setup guide
├── KUBECTL-GUIDE.md # kubectl reference
└── TROUBLESHOOTING.md # Common issues and solutions
Basic Kubernetes resources to get you started:
Real-world application deployments:
Comprehensive guides covering:
After deploying your cluster:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
For issues and questions:
ry-ops - DevOps tutorials and infrastructure guides
Happy Kubernetes learning!