diff --git a/build/k8s/autoscaling.yaml b/build/k8s/autoscaling.yaml index 0d899b7..9ae0cae 100644 --- a/build/k8s/autoscaling.yaml +++ b/build/k8s/autoscaling.yaml @@ -8,7 +8,7 @@ spec: apiVersion: apps/v1 kind: Deployment name: thesmile - minReplicas: 2 + minReplicas: 1 maxReplicas: 20 metrics: - type: Resource diff --git a/build/k8s/deployment.yaml b/build/k8s/deployment.yaml index ad61dd6..160b0a8 100644 --- a/build/k8s/deployment.yaml +++ b/build/k8s/deployment.yaml @@ -7,7 +7,7 @@ metadata: spec: progressDeadlineSeconds: 600 - replicas: 2 + replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: @@ -28,7 +28,7 @@ spec: name: thesmile resources: requests: - cpu: 100m + cpu: 10m dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler