Skip to content

Instantly share code, notes, and snippets.

@resouer
Created November 14, 2019 05:34
Show Gist options
  • Save resouer/18ee3e4df041a1464ec29eaf8bcc8be6 to your computer and use it in GitHub Desktop.
Save resouer/18ee3e4df041a1464ec29eaf8bcc8be6 to your computer and use it in GitHub Desktop.
apiVersion: core.oam.dev/v1alpha1
kind: ApplicationConfiguration
metadata:
name: first-app
spec:
components:
- componentName: helloworld-python-v1
instanceName: first-app-helloworld-python-v1
parameterValues:
- name: target
value: Rudr
- name: port
value: "9999"
traits:
- name: autoscaler
parameterValues:
- name: maximum
value: 6
- name: minimum
value: 2
- name: cpu
value: 50
- name: memory
value: 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment