forked from LaconicNetwork/kompose
62 lines
979 B
YAML
62 lines
979 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: web
|
|
name: web
|
|
namespace: web
|
|
spec:
|
|
ports:
|
|
- name: "80"
|
|
port: 80
|
|
targetPort: 80
|
|
selector:
|
|
io.kompose.service: web
|
|
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: web
|
|
namespace: web
|
|
spec: {}
|
|
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: web
|
|
name: web
|
|
namespace: web
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: web
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.network/namespace-default: "true"
|
|
io.kompose.service: web
|
|
spec:
|
|
containers:
|
|
- image: nginx
|
|
name: web
|
|
ports:
|
|
- containerPort: 80
|
|
hostPort: 80
|
|
protocol: TCP
|
|
resources: {}
|
|
restartPolicy: Always
|
|
|
|
|