diff --git a/argocd/diagrammer.yaml b/argocd/diagrammer.yaml new file mode 100644 index 0000000..af342f1 --- /dev/null +++ b/argocd/diagrammer.yaml @@ -0,0 +1,49 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: kroki + namespace: vorgabenui +spec: + replicas: 1 + selector: + matchLabels: + app: django + template: + metadata: + labels: + app: django + spec: + containers: + - name: web + image: docker.io/yuzutech/kroki:latest + ports: + - containerPort: 80 + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 2 + failureThreshold: 6 + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 20 + periodSeconds: 20 + timeoutSeconds: 2 + failureThreshold: 3 +--- +apiVersion: v1 +kind: Service +metadata: + name: svckroki + namespace: vorgabenui +spec: + selector: + app: django + ports: + - port: 80 + targetPort: 80 + diff --git a/k8s/diagrammer.yaml b/k8s/diagrammer.yaml new file mode 100644 index 0000000..af342f1 --- /dev/null +++ b/k8s/diagrammer.yaml @@ -0,0 +1,49 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: kroki + namespace: vorgabenui +spec: + replicas: 1 + selector: + matchLabels: + app: django + template: + metadata: + labels: + app: django + spec: + containers: + - name: web + image: docker.io/yuzutech/kroki:latest + ports: + - containerPort: 80 + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 2 + failureThreshold: 6 + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 20 + periodSeconds: 20 + timeoutSeconds: 2 + failureThreshold: 3 +--- +apiVersion: v1 +kind: Service +metadata: + name: svckroki + namespace: vorgabenui +spec: + selector: + app: django + ports: + - port: 80 + targetPort: 80 +