# Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
#
# 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/v1
kind: HorizontalPodAutoscaler
metadata:
  name: wso2apim-with-analytics-apim
  namespace: wso2
  resourceVersion: "11546677"
  selfLink: /apis/autoscaling/v1/namespaces/wso2/horizontalpodautoscalers/wso2apim-with-analytics-apim
  uid: c3714b90-5b55-11e9-a15f-42010aa000b7
spec:
  maxReplicas: 2
  minReplicas: 1
  scaleTargetRef:
    apiVersion: extensions/v1beta1
    kind: Deployment
    name: wso2apim-with-analytics-apim
  targetCPUUtilizationPercentage: 5
status:
  currentCPUUtilizationPercentage: 4
  currentReplicas: 1
  desiredReplicas: 1
  

