💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
[TOC] # Pod 资源需求和限制 ~~~ requests ##定义容器运行时至少需要资源 limits ##定义容器运行时最多能分配的资源 ~~~ ~~~ apiVersion: v1 kind: Pod metadata: name: nginx-pod labels: app: my-pod spec: containers: - name: my-pod image: nginx ports: - name: http containerPort: 80 resources: requests: cpu: "250m" memory: "64Mi" limits: #资源最高限制 cpu: "500m" #0.5核cpu memory: "128Mi" ~~~