Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: video-insights-deployment
spec:
replicas: 1
selector:
matchLabels:
app: video-insights-deployment
template:
metadata:
labels:
app: video-insights-deployment
spec:
containers:
- name: video-insights-deployment
image: IMAGE_NAME
imagePullPolicy: Always
ports:
- containerPort: 8080
restartPolicy: Always
---
kind: Service
apiVersion: v1
metadata:
name: video-insights-deployment
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
protocol: TCP
nodePort: 31000
selector:
app: video-insights-deployment