github.com/oam-dev/kubevela@v1.9.11/docs/examples/multicluster/deploy2runtime.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: runtime-app
     5    namespace: default
     6  spec:
     7    components:
     8      - name: default-webservice
     9        type: webservice
    10        properties:
    11          image: crccheck/hello-world
    12          port: 8000
    13  
    14    workflow:
    15      steps:
    16        # by default, this step will deploy this application to all runtime clusters
    17        - name: deploy-all
    18          type: deploy2runtime
    19          # uncomment the following part to deploy this application only to selected clusters
    20          # properties:
    21          #   clusters: ["cluster-a", "cluster-b"]