mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-25 01:22:28 +00:00
d1eca04eeb
Kubernetes doesn't pull the `latest` tag automatically, so we need to change the image tag in the deployment file. As a plus, we can now see exactly what version we're running.
27 lines
506 B
YAML
27 lines
506 B
YAML
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: senpy-latest
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
role: senpy-latest
|
|
app: test
|
|
spec:
|
|
containers:
|
|
- name: senpy-latest
|
|
image: $IMAGEWTAG
|
|
imagePullPolicy: Always
|
|
args:
|
|
- "--default-plugins"
|
|
resources:
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "1000m"
|
|
ports:
|
|
- name: web
|
|
containerPort: 5000
|