20 lines
461 B
YAML
20 lines
461 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pod-latest-image
|
|
namespace: default
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:latest # тег :latest — политика отклонит
|
|
resources:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
- name: redis
|
|
image: redis # нет тега вообще — тоже отклонит
|
|
resources:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|