pipeline-convert/pipeline-convert.yaml

42 lines
693 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: pipeline-convert
namespace: argo
spec:
replicas: 1
selector:
matchLabels:
app: pipeline-convert
template:
metadata:
labels:
app: pipeline-convert
spec:
serviceAccountName: default
containers:
- name: pipeline-convert
image: pipeline-image
imagePullPolicy: Always
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: pipeline-convert-service
namespace: argo
spec:
selector:
app: pipeline-convert
type: NodePort
ports:
- port: 80
targetPort: 80
protocol: TCP
nodePort: 31000