github.com/oam-dev/kubevela@v1.9.11/docs/examples/live-diff/app.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: livediff-demo
     5  spec:
     6    components:
     7      - name: myweb-1
     8        type: myworker
     9        properties:
    10          image: "busybox"
    11          cmd:
    12            - sleep
    13            - "1000"
    14          lives: "3"
    15          enemies: "alien"
    16        traits:
    17          - type: myingress
    18            properties:
    19              domain: "www.example.com"
    20              http:
    21                "/": 80
    22          - type: myscaler
    23            properties:
    24              replicas: 2
    25      - name: myweb-2
    26        type: myworker
    27        properties:
    28          image: "busybox"
    29          cmd:
    30            - sleep
    31            - "1000"
    32          lives: "3"
    33          enemies: "alien"