Commit ee628d03 authored by kesnar's avatar kesnar
Browse files

feat: deploy scripts

parent 06e91534
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -108,22 +108,22 @@ spec:
            limits:
              cpu: 2000m
              memory: 2048Mi
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  name: policyservice-hpa
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: policyservice
  minReplicas: 1
  maxReplicas: 10
  metrics:
  - type: Resource
    resource:
      name: cpu
      target:
        type: Utilization
        averageUtilization: 80
              #---
              #apiVersion: autoscaling/v2
              #kind: HorizontalPodAutoscaler
              #metadata:
              #  name: policyservice-hpa
              #spec:
              #  scaleTargetRef:
              #    apiVersion: apps/v1
              #    kind: Deployment
              #    name: policyservice
              #  minReplicas: 1
              #  maxReplicas: 1
              #  metrics:
              #  - type: Resource
              #    resource:
              #      name: cpu
              #      target:
              #        type: Utilization
              #        averageUtilization: 80
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/servicemonitors.yam
export TFS_GRAFANA_PASSWORD="admin123+"

# Disable skip-build flag to rebuild the Docker images.
export TFS_SKIP_BUILD=""
export TFS_SKIP_BUILD="YES"


# ----- CockroachDB ------------------------------------------------------------