mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
* add advanced trait tutorial * add more intersiting trait * init container and patch * add more traits * node affinity * addressing comment
20 lines
407 B
YAML
20 lines
407 B
YAML
apiVersion: core.oam.dev/v1alpha2
|
|
kind: Application
|
|
metadata:
|
|
name: testapp
|
|
spec:
|
|
components:
|
|
- name: express-server
|
|
settings:
|
|
cmd:
|
|
- node
|
|
- server.js
|
|
image: oamdev/testapp:v1
|
|
port: 8080
|
|
traits:
|
|
- name: ingress
|
|
properties:
|
|
domain: test.my.domain
|
|
http:
|
|
"/api": 8080
|
|
type: webservice |