Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)41k · #6718

k8s-manifest-generator

Fungsinya

Tool ini membantu membuat 'file konfigurasi' (disebut manifest) untuk Kubernetes. File ini memberi tahu Kubernetes cara menjalankan aplikasi Anda agar berjalan dengan baik dan aman.

Kapan dipakai

  • ✓Saat Anda perlu membuat 'manifest' baru untuk menjalankan sebuah aplikasi.
  • ✓Untuk menentukan bagaimana aplikasi saling berkomunikasi melalui jaringan.
  • ✓Untuk menyimpan informasi konfigurasi atau kata sandi secara aman.

Link skill

https://github.com/wshobson/agents/blob/main/plugins/kubernetes-operations/skills/k8s-manifest-generator/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/wshobson/agents/blob/main/plugins/kubernetes-operations/skills/k8s-manifest-generator/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Buatkan manifest untuk menjalankan aplikasi web saya, menggunakan image 'my-app:latest' dan membuka port 80.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda memberi tahu saya apa saja yang dibutuhkan aplikasi Anda (misalnya image yang akan dipakai, port yang perlu dibuka, dan lain-lain), lalu saya akan membuatkan file konfigurasi Kubernetes untuk Anda. Saya mengikuti praktik terbaik agar semuanya berjalan dengan benar dan aman.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Kubernetes Manifest Generator

Step-by-step guidance for creating production-ready Kubernetes manifests including Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.

Purpose

This skill provides comprehensive guidance for generating well-structured, secure, and production-ready Kubernetes manifests following cloud-native best practices and Kubernetes conventions.

When to Use This Skill

Use this skill when you need to:

  • Create new Kubernetes Deployment manifests
  • Define Service resources for network connectivity
  • Generate ConfigMap and Secret resources for configuration management
  • Create PersistentVolumeClaim manifests for stateful workloads
  • Follow Kubernetes best practices and naming conventions
  • Implement resource limits, health checks, and security contexts
  • Design manifests for multi-environment deployments

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices Summary

  1. Always set resource requests and limits - Prevents resource starvation
  2. Implement health checks - Ensures Kubernetes can manage your application
  3. Use specific image tags - Avoid unpredictable deployments
  4. Apply security contexts - Run as non-root, drop capabilities
  5. Use ConfigMaps and Secrets - Separate config from code
  6. Label everything - Enables filtering and organization
  7. Follow naming conventions - Use standard Kubernetes labels
  8. Validate before applying - Use dry-run and validation tools
  9. Version your manifests - Keep in Git with version control
  10. Document with annotations - Add context for other developers

Troubleshooting

Pods not starting:

  • Check image pull errors: kubectl describe pod <pod-name>
  • Verify resource availability: kubectl get nodes
  • Check events: kubectl get events --sort-by='.lastTimestamp'

Service not accessible:

  • Verify selector matches pod labels: kubectl get endpoints <service-name>
  • Check service type and port configuration
  • Test from within cluster: kubectl run debug --rm -it --image=busybox -- sh

ConfigMap/Secret not loading:

  • Verify names match in Deployment
  • Check namespace
  • Ensure resources exist: kubectl get configmap,secret

Next Steps

After creating manifests:

  1. Store in Git repository
  2. Set up CI/CD pipeline for deployment
  3. Consider using Helm or Kustomize for templating
  4. Implement GitOps with ArgoCD or Flux
  5. Add monitoring and observability

Related Skills

  • helm-chart-scaffolding - For templating and packaging
  • gitops-workflow - For automated deployments
  • k8s-security-policies - For advanced security configurations
Pertanyaan umum

Apa itu Kubernetes?

Kubernetes adalah sistem yang membantu mengelola dan menjalankan banyak aplikasi sekaligus secara otomatis dan andal.

Apa itu 'manifest'?

Manifest adalah file teks (biasanya dalam format YAML) yang menjelaskan bagaimana Kubernetes harus menjalankan aplikasi, layanan, dan sumber daya lainnya.

Mengapa harus mengikuti 'praktik terbaik'?

Agar aplikasi Anda berjalan stabil dan aman, Kubernetes dapat mengelolanya secara efisien, dan masalah dapat dicegah.

Detail

Deskripsi asli dari pembuat

Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.

repo: wshobson/agents

Popularitas

Bintang GitHub
41k
Peringkat
#6718
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa