💥 add all the files

This commit is contained in:
2024-06-19 13:30:21 +01:00
commit 4affa7393f
5 changed files with 98 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
apiVersion: v1
kind: Namespace
metadata:
name: dyndns-python
---
apiVersion: batch/v1
kind: CronJob
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchFields:
- key: metadata.name
operator: In
values:
- kube-master
metadata:
name: dyndns-pythonrenew
namespace: dyndns-python
spec:
schedule: "0 * * * *"
jobTemplate:
spec:
ttlSecondsAfterFinished: 100
template:
spec:
# nodeName: kube-master
containers:
- name: dyndns-python
# image: dyndns_python:latest
image: localhost:31795/dyndns_python
restartPolicy: Never