dse-assignment/kubernetes/xway-deployment.yaml

37 lines
735 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: xway
name: xway
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: xway
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: xway
spec:
containers:
- image: xway
imagePullPolicy: ""
name: xway
ports:
- containerPort: 5000
resources: {}
env:
- name: SCALING
valueFrom:
configMapKeyRef:
name: scaling-configmap
key: scaling
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}