This commit is contained in:
26
kubernetes/job.yaml
Normal file
26
kubernetes/job.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: python-hvac
|
||||
namespace: raider
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: python-hvac
|
||||
image: registry.k8s.psynet.su/python-hvac
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
memory: 16Mi
|
||||
cpu: 0.1
|
||||
limits:
|
||||
memory: 128Mi
|
||||
cpu: 0.2
|
||||
# command:
|
||||
# - tail
|
||||
# - -f
|
||||
restartPolicy: Never
|
||||
serviceAccountName: raider
|
||||
backoffLimit: 4
|
||||
Reference in New Issue
Block a user