mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 19:39:43 +00:00
Compare commits
No commits in common. "cbebce1d64096ab1185afe00d5acf9d21c26a699" and "e10f214f26e2c500718cb8801f61386a948d2ec3" have entirely different histories.
cbebce1d64
...
e10f214f26
2 changed files with 0 additions and 77 deletions
|
|
@ -1,52 +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:v0.1
|
|
||||||
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