Skip to content
Snippets Groups Projects
Commit 58660584 authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Merge remote-tracking branch 'origin/master' into integration-master

parents 0c776fc6 84200641
No related branches found
No related tags found
1 merge request!54Move Search Config out of os-core-common (GONRG-744)
Pipeline #15338 failed
......@@ -41,6 +41,11 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 80
resources:
requests:
cpu: "100m"
limits:
cpu: "500m"
readinessProbe:
httpGet:
path: /api/indexer/v2/swagger-ui.html
......@@ -88,6 +93,11 @@ spec:
secretKeyRef:
name: central-logging
key: appinsights
- name: REDIS_DATABASE
valueFrom:
configMapKeyRef:
name: redis-configmap
key: indexer-service
- name: cosmosdb_database
value: osdu-db
- name: servicebus_topic_name
......
# Source: indexer-service/templates/hpa.yaml
# Copyright © Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ .Chart.Name }}
namespace: osdu
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ .Chart.Name }}
minReplicas: {{ .Values.global.replicaCount }}
maxReplicas: 5
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 75
......@@ -13,9 +13,11 @@
# limitations under the License.
LOG_PREFIX=indexer
LOG_LEVEL=DEBUG
server.servlet.contextPath=/api/indexer/v2/
REGION=centralus
logging.level.org.opendes.osdu=DEBUG
logging.level.org.opendes.osdu=${LOG_LEVEL}
JAVA_OPTS=-Dserver.port=80
DEFAULT_DATA_COUNTRY=US
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment