Small Company Kubernetes Adoption: How a 30-Person Team Doubled DevOps Efficiency
A 30-person company shares how adopting Kubernetes with Rancher and RKE2 across production and test environments simplified deployment, operations, and onboarding, providing built-in HA, load balancing, service discovery, config management, and security via egress policies, while arguing the learning curve is manageable with a structured learning path.
Reading font

Background: Small Company Kubernetes Adoption
The author, from a 20-30 person company with 4-5 teams using Java and Python, argues that Kubernetes is not only necessary but doubles development and operations efficiency.
Environment Setup
Production: 3-node K8s cluster managed by Rancher + RKE2.
Test: 2-node K8s cluster managed by Rancher + RKE2.
Both clusters centrally managed via Rancher UI.
Key Benefits
Simplified Management: Each team gets a dedicated Rancher account and namespace. The web UI allows remote operations without direct server access. Deployments can be created with a few clicks, avoiding complex YAML syntax.
Easy Service Deployment: A Deployment + Ingress exposes a web service. Public services use DNSPod for subdomain binding; Cert-Manager automatically provisions HTTPS certificates. Test environment uses WireGuard with dnsmasq on the WireGuard server for domain-to-IP mapping, enabling quick access.
Streamlined Operations:
Built-in high availability (auto-restart) and load balancing.
Longhorn creates daily snapshots backed up to Tencent Cloud COS; rollback is automatic.
Test environment: developers compile JARs, place them on a PVC, and the container hot-reloads for instant deployment.
Production: CI/CD pushes images to registry, triggering automatic redeploy; upgrades and rollbacks are trivial. Combined with Longhorn snapshots, UAT environments can be forked quickly.
Log retrieval is simple — download directly from the Deployment pod without an ELK stack.
Faster Onboarding: New hires adapt within a week, compared to teaching SSH, manual nohup launches, process checks, and Linux command debugging.
Comparison with Pure Docker
Kubernetes integrates high availability, load balancing, service discovery (via svc.namespace), configuration management (ConfigMap + environment variables), web deployment (Ingress with automatic domain handling, avoiding manual port mapping), and persistent volume management (centralized PVC backup) — all features that require separate tooling in a pure Docker setup.
Prerequisites and Learning Path
The main prerequisite is an architect who can build the environment from scratch. However, with Rancher, a 3-node cluster can be configured in under 10 minutes given good network connectivity. The author outlines a step-by-step learning path:
Write Dockerfiles and build service images.
Run containers with port exposure, environment variables, and volume mounts for persistence.
Install Rancher RKE2 via script (configure private registry in China), deploy across nodes, understand basic kubectl usage.
Deploy and install services with kubectl /Helm; inspect node and service status.
After installing Rancher UI via Helm, deploy Deployments via UI; compare with Docker's port, env, and volume handling.
Learn K8s service exposure methods (Ingress, NodePort, LoadBalancer) and relate Ingress to traditional Nginx.
Debug pod startup failures: fetch logs and troubleshoot step by step.
Security Incident: Crypto-Mining Script Blocked
An open-source component in production contained a vulnerability that injected a crypto-mining JavaScript script. However, the pods had egress network policies blocking external access and non-essential pod communication, plus CPU/memory limits. The script continuously errored, eventually triggering a log-volume alert that led to discovery. This demonstrates the value of built-in K8s security controls.
AI-Assisted Operations
The author notes that with AI agents, Kubernetes operations become even more convenient, showing screenshots of AI-driven interactions.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.