# Kubernetes DemoRESTRoute deployment
apiVersion: v1
kind: Service
metadata:
name: demorestroute
labels:
app: demorestroute
spec:
ports:
- port: 8065
targetPort: 8065
name: http-demorestroute
selector:
app: demorestroute
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: demorestroute
spec:
replicas: 1
selector:
matchLabels:
app: demorestroute
template:
metadata:
labels:
app: demorestroute
# version: v1
spec:
containers:
- name: demorestroute
image: <ARTIFACT_REPOSITORY_DOCKER_REGISTRY>/<STUDIO_PROJECT>/demorestroute:latest
imagePullPolicy: IfNotPresent
args:
- "--name=1111"
ports:
- containerPort: 8065
---