Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#CICD

Advanced AI Prompt for Canary Releases using Kubernetes and GitHub Actions

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-canary-kubernetes-github-actions.txt
Act as a Cloud Native Deployment Architect. Create a highly sophisticated GitHub Actions pipeline that orchestrates an automated Canary release within a Kubernetes cluster. The workflow must deploy a secondary Canary version of [DEPLOYMENT_NAME] into the [K8S_NAMESPACE]. Utilize `kubectl` to dynamically patch the NGINX or Traefik Ingress Controller annotations to explicitly route exactly [TRAFFIC_WEIGHT] (e.g., 5%) of live production traffic to the new pod. Embed an automated Python or Bash verification script that continuously polls the Prometheus API for [PROMETHEUS_METRIC] (e.g., `http_requests_total{status='500'}`) over a 10-minute window. If the error rate breaches a strict 1% mathematical threshold, the pipeline must fail violently, executing an immediate `kubectl rollout undo` and reverting the Ingress traffic split to 0%.

Example Text Output

"The AI provides a robust CI/CD YAML including 'kubectl' commands for weighted traffic routing and a Python or Bash script to verify Prometheus metrics before full rollout."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Canary Releases using Kubernetes and GitHub Actions" prompt used for?

The AI provides a robust CI/CD YAML including 'kubectl' commands for weighted traffic routing and a Python or Bash script to verify Prometheus metrics before full rollout.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.