mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
82 lines
1.8 KiB
YAML
82 lines
1.8 KiB
YAML
ExternalRevision: ""
|
|
Name: myweb
|
|
Namespace: default
|
|
PackagedTraitResources: null
|
|
PackagedWorkloadResources: null
|
|
RevisionHash: ""
|
|
RevisionName: ""
|
|
Scopes: []
|
|
ComponentOutput:
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations: {}
|
|
labels:
|
|
app.oam.dev/appRevision: ""
|
|
app.oam.dev/component: myweb
|
|
app.oam.dev/name: app-dryrun
|
|
app.oam.dev/namespace: default
|
|
workload.oam.dev/type: myworker
|
|
app.oam.dev/resourceType: WORKLOAD
|
|
name: myweb
|
|
namespace: default
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.oam.dev/component: myweb
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.oam.dev/component: myweb
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- sleep
|
|
- "1000"
|
|
image: busybox
|
|
name: myweb
|
|
ComponentOutputsAndTraits:
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations: {}
|
|
labels:
|
|
app.oam.dev/appRevision: ""
|
|
app.oam.dev/component: myweb
|
|
app.oam.dev/name: app-dryrun
|
|
app.oam.dev/namespace: default
|
|
trait.oam.dev/resource: service
|
|
trait.oam.dev/type: myingress
|
|
app.oam.dev/resourceType: TRAIT
|
|
name: myweb
|
|
namespace: default
|
|
spec:
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
selector:
|
|
app.oam.dev/component: myweb
|
|
- apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations: {}
|
|
labels:
|
|
app.oam.dev/appRevision: ""
|
|
app.oam.dev/component: myweb
|
|
app.oam.dev/name: app-dryrun
|
|
app.oam.dev/namespace: default
|
|
trait.oam.dev/resource: ingress
|
|
trait.oam.dev/type: myingress
|
|
app.oam.dev/resourceType: TRAIT
|
|
name: myweb
|
|
namespace: default
|
|
spec:
|
|
rules:
|
|
- host: www.example.com
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: myweb
|
|
servicePort: 80
|
|
path: /
|