This topic contains an example definition manifest for a microservice within the Acme Fitness application.
apiVersion: autoscaling.tsm.tanzu.vmware.com/v1alpha1 kind: Definition metadata: name: frontend-asd namespace: acme labels: app: frontend spec: scaleTargetRef: kubernetes: apiVersion: apps/v1 kind: Deployment name: frontend scaleRule: mode: EFFICIENCY enabled: true instances: min: 1 max: 10 default: 5 stepsDown: 2 stepsUp: 3 trigger: gracePeriodSeconds: 300 metric: name: CPUUsageMillicores scaleUp: 500 scaleDown: 100 windowSeconds: 600