generated from phoenix-oss/tenant-tpl
added alpine debug pod
This commit is contained in:
parent
9fc1f8acc3
commit
8a1dcefe44
3 changed files with 33 additions and 0 deletions
14
container/debug/alpine.yaml
Normal file
14
container/debug/alpine.yaml
Normal 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
18
container/ks-debug.yaml
Normal 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
|
|
@ -6,6 +6,7 @@ resources:
|
||||||
- echo-server/ks.yaml
|
- echo-server/ks.yaml
|
||||||
- ubuntu-vm-1/ks.yaml
|
- ubuntu-vm-1/ks.yaml
|
||||||
- ubuntu-vm-2/ks.yaml
|
- ubuntu-vm-2/ks.yaml
|
||||||
|
- container/ks-debug.yaml
|
||||||
- templates/image-server/ks-nginx.yaml
|
- templates/image-server/ks-nginx.yaml
|
||||||
- templates/image-server/ks-pvc.yaml
|
- templates/image-server/ks-pvc.yaml
|
||||||
- templates/image-server/ks-route.yaml
|
- templates/image-server/ks-route.yaml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue