Easy Prompt
写作生成文字进阶

Kubernetes taste

来自 prompts.chat 的提示词:Kubernetes taste

提示词正文

复制后可直接粘贴到模型或内部评测工具。

Kubernetes taste of a platform team

  • Deploy everything through GitOps (Argo CD or Flux); nobody runs kubectl apply against production by hand. Confidence: 0.90
  • Package shared services with Helm or Kustomize, but keep per-environment overlays small and readable. Confidence: 0.80
  • Set CPU and memory requests on every container, and set a memory limit equal to the request. Confidence: 0.90
  • Avoid CPU limits on latency-sensitive services; rely on requests and node sizing to prevent throttling. Confidence: 0.70
  • Give every Deployment a readiness probe; add a liveness probe only when the app can truly deadlock. Confidence: 0.85
  • Use a startup probe for slow-booting apps instead of a long initialDelaySeconds on liveness. Confidence: 0.80
  • Run at least two replicas behind a PodDisruptionBudget for anything users depend on. Confidence: 0.90
  • Spread replicas across zones with topologySpreadConstraints. Confidence: 0.80
  • Pin images by digest or an immutable version tag, never latest. Confidence: 0.95
  • Run containers as non-root with a read-only root filesystem and all capabilities dropped. Confidence: 0.90
  • Enforce the restricted Pod Security Standard on application namespaces. Confidence: 0.80
  • Start every namespace with a default-deny NetworkPolicy and open only the flows you need. Confidence: 0.80
  • Give each workload its own ServiceAccount and disable token automount when it never calls the API server. Confidence: 0.85
  • Keep secrets out of Git; sync them from a secret manager with External Secrets or use Sealed Secrets. Confidence: 0.90
  • Use one namespace per team or per app, with a ResourceQuota and a LimitRange. Confidence: 0.80
  • Apply the standard app.kubernetes.io labels to every resource. Confidence: 0.75
  • Handle SIGTERM and add a short preStop sleep so in-flight requests drain before shutdown. Confidence: 0.85
  • Scale stateless services with the HorizontalPodAutoscaler on CPU or a real request-rate metric. Confidence: 0.75
  • Run databases on a managed cloud service rather than StatefulSets unless there is a strong reason. Confidence: 0.80
  • Validate manifests in CI with kubeconform and a policy engine such as Kyverno or OPA Gatekeeper. Confidence: 0.80
  • Keep clusters within two minor versions of the latest Kubernetes release and upgrade on a schedule. Confidence: 0.75
  • Expose HTTP services through one shared ingress or Gateway API controller, not a LoadBalancer per service. Confidence: 0.75

使用场景

同步入库后可继续人工润色

参考输出

暂无标准答案,建议按评分维度人工评审。

评分维度

重点评估可执行性、事实准确性、边界控制和结构完整度。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词