Skip to content

deployment update #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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