Skip to content

格式化与代码

Kubernetes Deployment + Service

K8s Deployment + Service manifest in one file.

Runs in your browser

编辑注

Understanding · Three nested objects, one running app.

本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。

常见问题

Quick answers.

What resources are included in the output?

The generator produces a `Deployment` and a `Service` resource separated by a YAML document divider (`---`). This allows you to define both the pod replication logic and the network access in a single file.

Is my configuration sent to a server?

No. The manifest generation happens locally in your browser. No data regarding your image names, environment variables, or port settings ever leaves your device.

Does this support custom annotations?

This tool focuses on the core specification including labels, ports, and environment variables. For complex configurations like ingress or persistent volumes, use this output as a starting template and modify it as needed.

What service types are supported?

You can choose between `ClusterIP` for internal traffic, `NodePort` for external access via a static port, or `LoadBalancer` for cloud-based external access.

大家也在搜索

相关工具

More in this room.

查看所有 格式化与代码