Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/auth/commit/780e59d3aa663d9a8e78d85d5c7c004c92438ab0?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
25 deletions
deploy/helm/templates/deployment.yaml
deploy/helm/templates/hpa.yaml
@ -1,9 +1,9 @@
apiVersion : apps/v1
kind : Deployment
metadata:
name : {{ .Release.Name }}-deployment
name : {{ .Release.Name }}-application
labels:
app : {{ .Release.Name }}-deployment
app : {{ .Release.Name }}-application
spec:
replicas : {{ .Values.replicas }}
selector:
@ -1,31 +1,10 @@
# apiVersion: autoscaling/v1
# kind: HorizontalPodAutoscaler
# metadata:
# name: {{ .Release.Name }}-hpa
# spec:
# scaleTargetRef:
# apiVersion: apps/v1
# kind: Deployment
# name: {{ .Release.Name }}-hpa
# minReplicas: 1
# maxReplicas: 5
# targetCPUUtilizationPercentage: 20
# # metrics:
# # - type: Resource
# # resource:
# # name: cpu
# # targetAverageUtilization: 80
# # - type: Resource
# # resource:
# # name: memory
# # targetAverageValue: 200Mi
apiVersion : autoscaling/v2
kind : HorizontalPodAutoscaler
metadata:
name : {{ .Release.Name }}-hpa
spec:
minReplicas : 1
maxReplicas : 5
minReplicas : 4
maxReplicas : 6
metrics:
- resource:
name : cpu