Files
kubevela/vela-templates/definitions/usage-examples/application-with-resource.yaml

23 lines
455 B
YAML

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: website
spec:
components:
- name: busy
type: webservice
properties:
image: busybox
cmd:
- sleep
- '1000'
cpu: "0.2"
traits:
- type: resource
properties:
requests:
cpu: "1.5"
memory: "300Mi"
limits:
cpu: 2
memory: "500Mi"