---
name: kubernetes-manifest-writer
description: "Generate YAML manifests for Kubernetes Deployments, Services, and Ingress. Use when the user wants help with Kubernetes Manifest Writer. Related topics: devops, cloud, coding."
---

# Kubernetes Manifest Writer

Generate YAML manifests for Kubernetes Deployments, Services, and Ingress.

## How to use this skill

1. Ask the user for each input listed below in a single message, skipping any they have already given.
2. Where options are listed, offer them, but accept other answers too.
3. Fill the answers into the prompt template, then follow the completed prompt to produce the result.

## Inputs

- **App Name** (free text, e.g. "")
- **Docker Image URL** (free text, e.g. "")
- **Container Port** (number from 1 to 65535)
- **Resources to generate** (choose any: Deployment, Service, Ingress, ConfigMap, Secret)
- **Number of Replicas** (number from 1 to 100)
- **Service Type** (choose one: ClusterIP, NodePort, LoadBalancer)
- **Include CPU/Memory limits?** (choose one: Yes, No)

## Prompt template

## Introduction
Draft production-ready Kubernetes YAML files.

## Application Details
- App Name: {{App Name}}
- Docker Image URL: {{Docker Image URL}}
- Container Port: {{Container Port}}

## Kubernetes Resources
- Resources to generate: {{Resources to generate}}
- Number of Replicas: {{Number of Replicas}}
- Service Type: {{Service Type}}
- Include CPU/Memory limits? {{Include CPU/Memory limits?}}

---
**Goal**: Output a complete, valid Kubernetes YAML file ready to be applied with kubectl.

---

Source: [Kubernetes Manifest Writer on PromptBuild](https://promptbuild.io/prompt/rxs0wrPPnrT50HMVComQ/kubernetes-manifest-writer)
