Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/auth/src/commit/a3580ea0b093476d6adbb86d95d6eb9a6adf81a4/deploy/.pre/auth-deployment.yaml You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 

49 lines
1.2 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: auth-application
labels:
app: auth-application
spec:
replicas: 3
selector:
matchLabels:
app: auth-application
template:
metadata:
labels:
app: auth-application
spec:
containers:
- name: auth-application
image: slaventius/test3k_auth:latest
imagePullPolicy: Always
ports:
- containerPort: 9994
envFrom:
- secretRef:
name: auth-secret
- configMapRef:
name: auth-config
livenessProbe:
tcpSocket:
port: 9994
periodSeconds: 1
initialDelaySeconds: 2
failureThreshold: 3
successThreshold: 1
readinessProbe:
httpGet:
path: /api/v1/healthz
port: 9994
periodSeconds: 1
initialDelaySeconds: 4
failureThreshold: 3
successThreshold: 1
volumeMounts:
- name: auth-storage
mountPath: /mnt
volumes:
- name: auth-storage
persistentVolumeClaim:
claimName: auth-pvc