added alpine debug pod

This commit is contained in:
maximilian.bartz 2025-05-05 19:30:46 +02:00
parent 9fc1f8acc3
commit 8a1dcefe44
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,14 @@
apiVersion: v1
kind: Pod
metadata:
name: alpine-test
namespace: ${TENANT_NAMESPACE}
spec:
containers:
- name: alpine
image: alpine:latest
command: ["/bin/sh"]
args: ["-c", "while true; do sleep 3600; done"]
stdin: true
tty: true
restartPolicy: Never

18
container/ks-debug.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app debug
namespace: ${TENANT_NAMESPACE}
spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./container/debug
prune: true
sourceRef:
kind: GitRepository
name: tenant-repos
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m

View file

@ -6,6 +6,7 @@ resources:
- echo-server/ks.yaml
- ubuntu-vm-1/ks.yaml
- ubuntu-vm-2/ks.yaml
- container/ks-debug.yaml
- templates/image-server/ks-nginx.yaml
- templates/image-server/ks-pvc.yaml
- templates/image-server/ks-route.yaml