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

12 lines
293 B
YAML
Raw Normal View History

2020-06-23 21:21:19 +08:00
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