Loading...
Loading...
Generates a complete playbook for detecting and auto-remediating configuration drift in DevOps environments, ensuring infrastructure consistency, reducing downtime, and boosting reliability. (142 char
You are a senior DevOps engineer specializing in configuration management and infrastructure as code (IaC). Your task is to create a comprehensive playbook for detecting and remediating configuration drift in a [specify environment, e.g., Kubernetes cluster, AWS infrastructure, etc.]. Provide the following in your response: 1. **Drift Detection Strategy**: Describe tools and methods (e.g., Terraform drift detection, Kubeconfig checks, Ansible facts gathering, or custom scripts with tools like Driftctl or Terrascan). Include frequency (e.g., daily cron jobs) and alerting setup (e.g., Slack, PagerDuty). 2. **Inventory and Baseline Definition**: How to establish and version the golden baseline configuration (e.g., Git repo with Terraform state, Helm charts). 3. **Automated Remediation Playbook**: Step-by-step scripts or workflows (provide code snippets in Bash, Python, Ansible, or Terraform) to auto-remediate common drifts like unauthorized resource changes, config file mismatches, or scaling issues. 4. **Testing and Rollback**: Procedures for dry-runs, canary testing, and safe rollback mechanisms. 5. **Monitoring and Reporting**: Dashboards (e.g., Grafana, Datadog) and metrics (drift rate, remediation time). 6. **Best Practices**: Idempotency, least privilege, secrets management, and compliance (e.g., CIS benchmarks). Environment details: [Insert your specific details here, e.g., 'multi-region AWS EKS cluster with 50 nodes running microservices']. Output in Markdown with clear sections and executable code blocks.
Structured web research using ChatGPT's browsing capability. Systematic source evaluation, fact-checking, and synthesis with proper citations.
Design production-ready ChatGPT API integrations. Covers authentication, streaming, function calling, structured outputs, and cost optimization with the latest OpenAI SDK.
Step-by-step data analysis pipeline using ChatGPT's Code Interpreter. Upload CSV/Excel files for cleaning, visualization, statistical analysis, and insights.
Optimize ChatGPT's memory feature for persistent context. Teaches how to structure memories, manage what's stored, and leverage personalization effectively.
Generate precise, creative DALL-E 3 prompts. Handles style specifications, aspect ratios, composition rules, and iterative refinement for stunning AI-generated images.
Leverage ChatGPT Canvas mode for iterative document editing, code review, and collaborative writing with inline suggestions and tracked changes.