-
Notifications
You must be signed in to change notification settings - Fork 0
/
wadm.yaml
33 lines (33 loc) · 868 Bytes
/
wadm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: bank-account
annotations:
version: v0.0.0
description: "The concordance bank account example"
spec:
components:
- name: catalog
type: actor
properties:
image: ghcr.io/cosmonic/cosmonic-gitops/bankaccount_catalog:0.0.0
traits:
- type: spreadscaler
properties:
replicas: 3
- type: linkdef
properties:
target: httpserver
- name: httpserver
type: capability
properties:
image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2
contract: wasmcloud:httpserver
traits:
- properties:
replicas: 1
spread:
- name: oncosmonic
requirements:
cosmonic_managed: "true"
type: spreadscaler