FAQ

Can I run without agents?

No. The Jenkins server has no access to Docker and cannot run environment containers. Select an agent in DEPLOY_RUNNER.

How do I add Kubernetes instead of Docker Compose?

Requires refactoring:

  • Replace Compose templates with Kubernetes manifests.

  • Update deployment steps to use kubectl.

  • Add kubeconfig and kubectl to agents.

  • Consider Jenkins Kubernetes Plugin for pod-based agents.

Can multiple users work on the same environment?

Yes. Owners can share an environment. See RBAC and Ownership.

The environment jobs do not take a lock. Run one change at a time on the same environment.

How many environments can I run?

Depends on agent resources and workload size:

  • Light (1–2 services): ~10 envs on 8 GB RAM; ~25 on 16 GB.

  • Medium (3–5 services): ~10 envs on 16 GB; ~20 on 32 GB.

  • Heavy (5+ services): ~5 envs on 32 GB; ~10 on 64 GB.

To run more environments, add agents.

How do I migrate to production?

  • Update .env with production URLs and registry credentials.

  • Enable HTTPS via reverse proxy (e.g., Nginx with TLS certs).

  • Configure backups (cron/automation) for Jenkins home and environment data.

  • Enable LDAP/AD or external auth in casc.yaml.

  • Add monitoring/alerting (Prometheus/Grafana, ELK, PagerDuty/OpsGenie).

How do I integrate external monitoring?

Option 1: include Prometheus/Grafana services in each environment via templates.
Option 2: run a central monitoring stack that scrapes all environments (Docker service discovery).

Why do I see @tmp directories?

Jenkins creates temporary workspaces; cleanup is automated via utils.cleanupTempEnvDirs(). If needed, manually remove *@tmp under /var/jenkins_home/qa-data/envs/.