mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-27 13:57:52 +00:00
move dry-run and live-diff into an independent pkg WIP add sample and doc WIP unit test for live-diff add unit test Signed-off-by: roy wang <seiwy2010@gmail.com>
34 lines
670 B
YAML
34 lines
670 B
YAML
apiVersion: core.oam.dev/v1beta1
|
|
kind: Application
|
|
metadata:
|
|
name: livediff-demo
|
|
spec:
|
|
components:
|
|
- name: myweb-1
|
|
type: myworker
|
|
properties:
|
|
image: "busybox"
|
|
cmd:
|
|
- sleep
|
|
- "1000"
|
|
lives: "3"
|
|
enemies: "alien"
|
|
traits:
|
|
- type: myingress
|
|
properties:
|
|
domain: "www.example.com"
|
|
http:
|
|
"/": 80
|
|
- type: myscaler
|
|
properties:
|
|
replicas: 2
|
|
- name: myweb-2
|
|
type: myworker
|
|
properties:
|
|
image: "busybox"
|
|
cmd:
|
|
- sleep
|
|
- "1000"
|
|
lives: "3"
|
|
enemies: "alien"
|