github.com/oam-dev/kubevela@v1.9.11/test/e2e-test/testdata/app/app_suspending.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: apply-suspending
     5  spec:
     6    components:
     7      - name: busybox
     8        type: webservice
     9        properties:
    10          image: busybox
    11          cmd: ["sleep", "86400"]
    12        traits:
    13          - type: scaler
    14            properties:
    15              replicas: 1
    16    workflow:
    17      steps:
    18        - name: apply-app
    19          type: apply-application
    20        - name: approval
    21          type: suspend