mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
36 lines
834 B
YAML
36 lines
834 B
YAML
apiVersion: core.oam.dev/v1beta1
|
|
kind: Application
|
|
metadata:
|
|
name: app-ID
|
|
namespace: load-test-SHARD
|
|
labels:
|
|
controller.core.oam.dev/scheduled-shard-id: shard-SHARD
|
|
spec:
|
|
components:
|
|
- name: app-ID-vVERSION
|
|
type: webservice
|
|
properties:
|
|
image: nginx
|
|
traits:
|
|
- type: scaler
|
|
properties:
|
|
replicas: 0
|
|
- name: secret-ID
|
|
type: k8s-objects
|
|
properties:
|
|
objects:
|
|
- apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: secret-ID
|
|
stringData:
|
|
id: "ID"
|
|
shard: "SHARD"
|
|
- apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cm-ID
|
|
data:
|
|
id: "ID"
|
|
shard: "SHARD"
|
|
version: "VERSION" |