1. Pod配置文件详解使用配置文件创建 Pod,编写 nginx-demo.yaml 内容如下:
apiVersion: v1 # api 文档版本
kind: Pod # 资源对象类型,也可以配置为像Deployment、St
2025-05-15