Λογότυπο K8s Podspec Pro

K8s Podspec Pro

Κοινότητα
BretFisher
k8s-podspec-pro

Writes and reviews Kubernetes pod specs against Bret Fisher's production floor (github.com/BretFisher/podspec) for security context, user namespaces, service account tokens, probes, resources, and graceful shutdown. Use it when the user creates or edits a Deployment, StatefulSet, DaemonSet, Job, CronJob, or Pod, changes a Helm chart or Kustomize base that renders one, asks to review or harden a workload for production, or asks why a pod spec setting matters, even if they only say "deploy this to Kubernetes".

Επισκόπηση

ΕκδότηςBretFisher
Αποθετήριοskills
Όνομα δεξιότηταςk8s-podspec-pro
Αστέρια
21
Forks
1
Συνοδευτικά αρχεία
5
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 5 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από BretFisher στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI K8s Podspec Pro στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/BretFisher/skills/tree/main/plugins/devops/skills/k8s-podspec-pro
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/BretFisher/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/devops/skills/k8s-podspec-pro .claude/skills/k8s-podspec-pro
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα K8s Podspec Pro σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα K8s Podspec Pro μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα K8s Podspec Pro δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Kubernetes pod spec floor

Every pod template you write or review meets the floor: the settings in pod.yaml, an exact copy of https://github.com/BretFisher/podspec/blob/main/pod.yaml. Read pod.yaml at the start of each task. Its field layout and its inline comments are the shape you copy, and the table below is the summary with the exceptions.

Working style

  1. Find the pod template. Deployment, StatefulSet, DaemonSet, ReplicaSet, and Job: spec.template.spec. CronJob: spec.jobTemplate.spec.template.spec. Pod: spec. A Job, CronJob, DaemonSet, StatefulSet, Helm chart, or Kustomize base → read workload-kinds.md first.
  2. Facts are yours to find: the Dockerfile USER and EXPOSE, the health endpoints in the code, the conventions of the repo's other manifests. Read them before you write a value.
  3. Values only the user knows are decisions: memory and CPU numbers, a UID when the image has no numeric USER, a probe path the code does not show, a livenessProbe, a grace period other than 600. Ask for them in one bundled question. When the user is unavailable or says to go ahead, write the pod.yaml value with a # TODO: comment and list it under ## Placeholders.
  4. An edit brings every pod template you touch up to the floor, because the user asked you into that file; other files keep their content.

The floor

FieldValueWhy, and the exception
imagean immutable tag (semver, git SHA, build ID) or a digestA moving tag (latest, stable, none) runs different code in two pods and breaks rollback. Keep the user's tag and add # TODO: pin to an immutable tag. Leave imagePullPolicy out: its defaults are correct.
ports[].containerPortthe app's port, written in the specMany images have no EXPOSE. A batch container with no server gets no port.
readinessProbeon every long-running container; exec when there is no portA rolling update and a Service wait for it. Jobs and CronJobs have neither, so they get no readinessProbe.
livenessProbeonly for an app known to hangA bad one restarts healthy pods. It never checks a dependency, because then a database outage restarts every pod.
resourcesrequests.memory = limits.memory, requests.cpu set, no limits.cpuMemory cannot be throttled, so the limit equals what the scheduler reserves. A CPU limit throttles on an idle node. This gives Burstable QoS; Guaranteed needs CPU and memory limits equal to requests on every container, so add limits.cpu = requests.cpu only when the user needs Guaranteed (static CPU manager). The pod.yaml numbers are placeholders.
container securityContextallowPrivilegeEscalation: false, privileged: falseBlocks setuid gain; a privileged container is host root.
pod securityContext.seccompProfiletype: RuntimeDefaultKubernetes runs Unconfined unless asked.
pod securityContext userrunAsNonRoot: true; runAsUser and runAsGroup: 1001 unless the image sets a numeric non-root USERA named USER (USER node) with runAsNonRoot fails with CreateContainerConfigError; set runAsUser or tell the user to make USER numeric. Keep UIDs below 65536.
hostUsersfalseContainer root maps to an unused host UID. GA in 1.36, on by default since 1.33. A pod with hostNetwork, hostPID, or hostIPC keeps the host user namespace: leave hostUsers out and say why. Name the node requirements in the hand-back.
automountServiceAccountTokenfalseMost apps never call the API. An app that does (operator, controller, CI runner) gets true, its own serviceAccountName, and minimal RBAC.
enableServiceLinksfalseService env vars clash with the app's own. Tell the user to search the app for _SERVICE_HOST, _SERVICE_PORT, and _PORT_ and use DNS names.
terminationGracePeriodSeconds600The 30s default cuts long polls, uploads, and queue drains. It is a maximum: an app that exits early does not wait.
appArmorProfileunset, as the commented block in pod.yamlSetting it stops pods on SELinux nodes. Uncomment it only when every node runs AppArmor; Unconfined is a finding.

The node requirements, the token alternatives, and the full reasons are in why.md: read it when the user asks why, or when an exception in the table applies.

Teaching comments

A manifest you write keeps the pod.yaml style: one short inline # comment on each floor field that says why it is there. The comments are how the user's team learns the floor, so they stay in the output.

Review

When the user asks you to review, audit, or check a manifest for production, run scripts/floor-check.py on it (or on helm template / kustomize build output piped to -) and write the report under these three ## headings, in this order:

  • ## Meets the floor: the floor fields already set.
  • ## Missing or wrong: one entry per finding with the field, its location, the fixed YAML, and one sentence on why. Cite the script's rule id. Add what the script cannot see: a probe that checks a dependency, numbers that look copied from pod.yaml.
  • ## Suggested: readOnlyRootFilesystem: true, capabilities.drop: [ALL], a startupProbe for a slow boot, a PodDisruptionBudget, a NetworkPolicy. One line each.

Change the manifest only when the user asks for fixes, because a review is a report.

Hand-back

End every create or edit task with these three ## sections, in this order:

  • ## Defaults applied: a | Default | Why here | table, one row per floor field you set.
  • ## Questions: the decisions from working style step 3 that are still open, numbered. Write none when there are none.
  • ## Placeholders: every # TODO: value with its field. Write none when there are none.

Validate

Run scripts/floor-check.py <file>... on every manifest you wrote or edited. It prints one line per finding with a rule id and ends with floor-check: clean or the finding count. Fix each finding, or keep it and say why in the hand-back (a CPU limit for Guaranteed QoS, a token for an operator). When kubeconform is installed, also run kubeconform -strict -summary <file> for schema errors. A tool that is absent: say so by name and offer the brew install command.

For fields newer than your training data, the k8s-catch-up skill has one file per feature.

Done when

  • floor-check.py is clean on every manifest you wrote or edited, or each remaining rule id is named in the hand-back with its reason
  • Every floor field in the output has its teaching comment
  • A review has the three headings and changes no file the user did not ask to change
  • A create or edit ends with ## Defaults applied, ## Questions, and ## Placeholders

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI K8s Podspec Pro;

Writes and reviews Kubernetes pod specs against Bret Fisher's production floor (github.com/BretFisher/podspec) for security context, user namespaces, service account tokens, probes, resources, and graceful shutdown. Use it when the user creates or edits a Deployment, StatefulSet, DaemonSet, Job, CronJob, or Pod, changes a Helm chart or Kustomize base that renders one, asks to review or harden a workload for production, or asks why a pod spec setting matters, even if they only say "deploy this to Kubernetes".

Γιατί να χρησιμοποιήσετε τη δεξιότητα K8s Podspec Pro στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η K8s Podspec Pro είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη K8s Podspec Pro στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/BretFisher/skills/tree/main/plugins/devops/skills/k8s-podspec-pro. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα K8s Podspec Pro;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη K8s Podspec Pro;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη K8s Podspec Pro με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI K8s Podspec Pro;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη BretFisher με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇