aboutsummaryrefslogtreecommitdiff
path: root/grumpy/static-files/base/static-files-deploy.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--grumpy/static-files/base/static-files-deploy.yaml14
1 files changed, 8 insertions, 6 deletions
diff --git a/grumpy/static-files/base/static-files-deploy.yaml b/grumpy/static-files/base/static-files-deploy.yaml
index f89e7d7..993c6e4 100644
--- a/grumpy/static-files/base/static-files-deploy.yaml
+++ b/grumpy/static-files/base/static-files-deploy.yaml
@@ -2,25 +2,27 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: static-files
+ labels:
+ app.kubernetes.io/part-of: static-files
+ app.kubernetes.io/version: "1.0"
spec:
replicas: 1
selector:
matchLabels:
- app.kubernetes.io/instance: static-files
- app.kubernetes.io/name: static-files
+ app.kubernetes.io/part-of: static-files
template:
metadata:
labels:
- app.kubernetes.io/instance: static-files
- app.kubernetes.io/name: static-files
+ app.kubernetes.io/part-of: static-files
+ app.kubernetes.io/version: "1.0"
spec:
containers:
- - image: static-files
+ - image: web
livenessProbe:
httpGet:
path: /
port: http
- name: static-files
+ name: web
ports:
- containerPort: 8080
name: http