This commit is contained in:
ivan 2026-10-07 13:51:10 +05:00
parent 1099f45a75
commit 2bc78aa7fb
2 changed files with 30 additions and 0 deletions

View File

@ -3,3 +3,4 @@ kind: Kustomization
resources:
- ../base
- namespace.yaml
- psql-tools-debug.yaml

View File

@ -0,0 +1,29 @@
---
# Отладочный под: ничего не запускает, просто спит. Заходить через
# kubectl exec -it -n control-interface deploy/psql-tools-debug -c debug -- sh
apiVersion: apps/v1
kind: Deployment
metadata:
name: psql-tools-debug
namespace: control-interface
labels:
app: psql-tools-debug
spec:
replicas: 1
selector:
matchLabels:
app: psql-tools-debug
template:
metadata:
labels:
app: psql-tools-debug
spec:
containers:
- name: debug
image: cr.yandex/crp3ccidau046kdj8g9q/documentations-psql-tools:create-disk
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c"]
args:
- while true; do sleep 3600; done
imagePullSecrets:
- name: regcred