mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-06 13:02:37 +00:00
41 lines
807 B
YAML
41 lines
807 B
YAML
---
|
|
k8s_pod_metadata:
|
|
labels:
|
|
app: "{{ k8s_pod_name }}"
|
|
|
|
k8s_pod_spec:
|
|
serviceAccount: "{{ k8s_pod_service_account }}"
|
|
containers:
|
|
- image: "{{ k8s_pod_image }}"
|
|
imagePullPolicy: Always
|
|
name: "{{ k8s_pod_name }}"
|
|
command: "{{ k8s_pod_command }}"
|
|
readinessProbe:
|
|
initialDelaySeconds: 15
|
|
exec:
|
|
command:
|
|
- /bin/true
|
|
resources: "{{ k8s_pod_resources }}"
|
|
ports: "{{ k8s_pod_ports }}"
|
|
env: "{{ k8s_pod_env }}"
|
|
|
|
|
|
k8s_pod_service_account: default
|
|
|
|
k8s_pod_resources:
|
|
limits:
|
|
cpu: "100m"
|
|
memory: "100Mi"
|
|
|
|
k8s_pod_command: []
|
|
|
|
k8s_pod_ports: []
|
|
|
|
k8s_pod_env: []
|
|
|
|
k8s_pod_template:
|
|
metadata: "{{ k8s_pod_metadata }}"
|
|
spec: "{{ k8s_pod_spec }}"
|
|
|
|
kubernetes_role_path: ../../tests/integration/targets/kubernetes
|