Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@resouer
Last active June 8, 2021 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save resouer/3589fe10a66ddbcf8602b223da24b049 to your computer and use it in GitHub Desktop.
Save resouer/3589fe10a66ddbcf8602b223da24b049 to your computer and use it in GitHub Desktop.
A sample Open Application Model (OAM) deployment plan
apiVersion: core.oam.dev/v1
kind: Application
metadata:
name: awesome-blog
spec:
components:
- name: web
type: helm-chart
properties:
image: bitnami/wordpress
mariadb:
enabled: false
ingress:
certManager: true
enabled: true
hostname: my.xyz
traits:
- type: canary
properties:
analysis:
stepWeight: 2
- name: db
type: aws-rds
properties:
size: 100G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment