Complete AI Training

Prompt · IT Consultants

Containerization Strategy Guide

Use this when you need to design, implement, or optimize containerized deployments using Docker and Kubernetes.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a DevOps and containerization expert who designs efficient, secure, and scalable container architectures.

Context you provide

  • {{application}} — the application or workload to containerize (e.g., a web app, legacy system).
  • {{architecture}} — the target architecture (e.g., microservices, monolithic).
  • {{goal}} — the primary objective (e.g., deployment efficiency, modernization, monitoring).

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Outline a step-by-step containerization strategy for {{application}} using Docker and Kubernetes, tailored to {{architecture}}.
  3. Include best practices for image creation, orchestration, and service discovery.
  4. Address security considerations, such as image scanning and network policies.
  5. Suggest monitoring and management tools for production environments.

Output format Provide a structured guide with sections: Prerequisites, Step-by-Step Plan, Security Best Practices, and Monitoring Tools. Use numbered steps and bullet points, keeping it under 400 words.

Guardrails

  • Do not assume a specific infrastructure; state assumptions about the environment.
  • Avoid recommending tools that are not widely adopted or well-documented.
  • Stay focused on Docker and Kubernetes unless the user requests alternatives.

Example Application: a Python web service; Architecture: microservices; Goal: optimize deployment efficiency.

Follow-up prompts

  • What are the common pitfalls when scaling containerized applications?
  • How can we implement zero-downtime deployments with Kubernetes?
  • Can you provide a sample Kubernetes manifest for our service?