Commit 8809740a authored by Carlos Manso's avatar Carlos Manso
Browse files

pre-merge cleanup

parent aa9b3c25
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -40,6 +40,3 @@ CONTAINER='{"name": "nginx-ingress-microk8s", "ports": ['${PORT_MAP}']}'
PATCH='{"spec": {"template": {"spec": {"containers": ['${CONTAINER}']}}}}'
kubectl patch daemonset nginx-ingress-microk8s-controller-e2e --namespace ingress --patch "${PATCH}"
echo


+0 −3
Original line number Diff line number Diff line
@@ -40,6 +40,3 @@ CONTAINER='{"name": "nginx-ingress-microk8s", "ports": ['${PORT_MAP}']}'
PATCH='{"spec": {"template": {"spec": {"containers": ['${CONTAINER}']}}}}'
kubectl patch daemonset nginx-ingress-microk8s-controller-ip --namespace ingress --patch "${PATCH}"
echo


+23 −23
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ spec:
              command: ["/bin/grpc_health_probe", "-addr=:1010"]
          resources:
            requests:
              cpu: 200m
              cpu: 250m
              memory: 128Mi
            limits:
              cpu: 1000m
@@ -85,25 +85,25 @@ spec:
      protocol: TCP
      port: 9192
      targetPort: 9192
#---
#apiVersion: autoscaling/v2
#kind: HorizontalPodAutoscaler
#metadata:
#  name: contextservice-hpa
#spec:
#  scaleTargetRef:
#    apiVersion: apps/v1
#    kind: Deployment
#    name: contextservice
#  minReplicas: 1
#  maxReplicas: 20
#  metrics:
#    - type: Resource
#      resource:
#        name: cpu
#        target:
#          type: Utilization
#          averageUtilization: 80
#  #behavior:
#  #  scaleDown:
#  #    stabilizationWindowSeconds: 30
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
 name: contextservice-hpa
spec:
 scaleTargetRef:
   apiVersion: apps/v1
   kind: Deployment
   name: contextservice
 minReplicas: 1
 maxReplicas: 20
 metrics:
   - type: Resource
     resource:
       name: cpu
       target:
         type: Utilization
         averageUtilization: 80
 #behavior:
 #  scaleDown:
 #    stabilizationWindowSeconds: 30
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ spec:
              command: ["/bin/grpc_health_probe", "-addr=:2020"]
          resources:
            requests:
              cpu: 200m
              cpu: 250m
              memory: 128Mi
            limits:
              cpu: 1000m
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ spec:
              command: ["/bin/grpc_health_probe", "-addr=:10050"]
          resources:
            requests:
              cpu: 200m
              cpu: 250m
              memory: 128Mi
            limits:
              cpu: 1000m
Loading