kubernetes-handbook/manifests/oam/containerized-workload/sample_workload_definition....

12 lines
293 B
YAML
Raw Normal View History

apiVersion: core.oam.dev/v1alpha2
kind: WorkloadDefinition
metadata:
name: containerizedworkloads.core.oam.dev
spec:
definitionRef:
name: containerizedworkloads.core.oam.dev
childResourceKinds:
- apiVersion: apps/v1
kind: Deployment
- apiVersion: v1
kind: Service