mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-10 03:17:02 +00:00
* chore: remove manualscaler CRD define in apis/ Signed-off-by: arcosx <arcosx@outlook.com> * chore: remove manualscaler CRDs yaml in charts/ Signed-off-by: arcosx <arcosx@outlook.com> * chore: remove manual scaler design in design/ Signed-off-by: arcosx <arcosx@outlook.com> * chore: remove manual scaler code in doc/ hack/ legacy/ references/ Signed-off-by: arcosx <arcosx@outlook.com> * chore: remove manual scaler code in pkg/ test/ vela-templates/ Signed-off-by: arcosx <arcosx@outlook.com> * chore: fix some code Signed-off-by: arcosx <arcosx@outlook.com> * Chore: remove manualscaler in test Signed-off-by: Somefive <yd219913@alibaba-inc.com> * Chore: remove outdated tests Signed-off-by: Somefive <yd219913@alibaba-inc.com> * Chore: remove outdated tests Signed-off-by: Somefive <yd219913@alibaba-inc.com> Signed-off-by: arcosx <arcosx@outlook.com> Signed-off-by: Somefive <yd219913@alibaba-inc.com> Co-authored-by: arcosx <arcosx@outlook.com>
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
apiVersion: core.oam.dev/v1beta1
|
|
kind: Application
|
|
metadata:
|
|
name: livediff-demo
|
|
namespace: default
|
|
spec:
|
|
components:
|
|
- name: myweb-1
|
|
type: myworker
|
|
properties:
|
|
image: "busybox"
|
|
cmd:
|
|
- sleep
|
|
- "2000" # change a component property
|
|
lives: "3"
|
|
enemies: "alien"
|
|
traits:
|
|
- type: myingress
|
|
properties:
|
|
domain: "www.example.com"
|
|
http:
|
|
"/": 90 # change a trait
|
|
- name: myweb-2
|
|
type: myworker
|
|
properties: # no change on component property
|
|
image: "busybox"
|
|
cmd:
|
|
- sleep
|
|
- "1000"
|
|
lives: "3"
|
|
enemies: "alien"
|
|
traits:
|
|
- type: myingress # add a trait
|
|
properties:
|
|
domain: "www.example.com"
|
|
http:
|
|
"/": 90
|
|
- name: myweb-3 # add a component
|
|
type: myworker
|
|
properties:
|
|
image: "busybox"
|
|
cmd:
|
|
- sleep
|
|
- "1000"
|
|
lives: "3"
|
|
enemies: "alien"
|
|
traits:
|
|
- type: myingress
|
|
properties:
|
|
domain: "www.example.com"
|
|
http:
|
|
"/": 90
|