mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 13:39:42 +00:00
Remove bank of parents
This commit is contained in:
parent
379b5c6df8
commit
2815fd2863
2 changed files with 0 additions and 78 deletions
|
|
@ -1,53 +0,0 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bankofparents
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: bankofparents
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: bankofparents
|
||||
spec:
|
||||
containers:
|
||||
- image: registry.gitlab.com/shouptech/bankofparents:202006300307
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: bankofparents
|
||||
env:
|
||||
- name: GUNICORN_CMD_ARGS
|
||||
value: "--access-logfile=-"
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "10m"
|
||||
limits:
|
||||
memory: "1024Mi"
|
||||
cpu: "1000m"
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 8000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 1
|
||||
volumeMounts:
|
||||
- name: bankofparents-app
|
||||
mountPath: /app
|
||||
- name: bankofparents-instance
|
||||
mountPath: /instance
|
||||
volumes:
|
||||
- name: bankofparents-app
|
||||
hostPath:
|
||||
path: /opt/bankofparents/app
|
||||
type: Directory
|
||||
- name: bankofparents-instance
|
||||
hostPath:
|
||||
path: /opt/bankofparents/instance
|
||||
type: Directory
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: bankofparents
|
||||
spec:
|
||||
selector:
|
||||
app: bankofparents
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8000
|
||||
targetPort: 8000
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: bankofparents
|
||||
spec:
|
||||
rules:
|
||||
- host: bank.shoup.io
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: bankofparents
|
||||
servicePort: 8000
|
||||
path: /
|
||||
Loading…
Add table
Reference in a new issue