apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: test
spec:
  components:
    - type: webservice
      name: test
      properties:
        image: nginx
  policies:
    - type: topology
      properties:
        clusters: ["cluster-worker"]
    - type: override
      properties:
        components:
          - traits:
              - type: scaler
                properties:
                  replicas: 0
