Jenkins Examples¶
End-to-end framework for running PAN-OS automation pipelines on Jenkins deployed to Kubernetes, with dynamic agent pods executing Python scripts against Panorama.
Architecture¶
graph LR
A[Jenkins Controller] -->|Spawns| B[K8s Agent Pod]
B -->|Contains| C[JNLP Container]
B -->|Contains| D[Python Container]
D -->|Executes| E[PAN-OS Scripts]
E -->|API Calls| F[Panorama]
Components¶
| Component | Description |
|---|---|
| Pipelines | Groovy pipeline scripts for address objects and security policies |
| Infrastructure | Docker images, Helm charts, and K8s manifests for Jenkins-on-K8s |
How It Works¶
- Jenkins Controller runs on Kubernetes via the Helm chart
- Pipeline jobs define multi-container pod templates (JNLP agent + Python)
- Agent pods spawn dynamically for each build, then terminate
- Python containers execute automation scripts against Panorama
- RBAC manifests grant agent pods permission to interact with the K8s API