Files
kubevela/docs/examples/multicluster/deploy2runtime.yaml
2021-11-17 09:45:03 +08:00

22 lines
573 B
YAML

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: runtime-app
namespace: default
spec:
components:
- name: default-webservice
type: webservice
properties:
image: crccheck/hello-world
port: 8000
workflow:
steps:
# by default, this step will deploy this application to all runtime clusters
- name: deploy-all
type: deploy2runtime
# uncomment the following part to deploy this application only to selected clusters
# properties:
# clusters: ["cluster-a", "cluster-b"]