blob: f63da03b7914f8a313528050442db1a34f679741 [file] [log] [blame]
Matthias Andreas Benkardaa18d6a2026-10-23 07:15:47 +02001---
2apiVersion: apps/v1
3kind: Deployment
4metadata:
5 name: static-web
6 labels:
7 name: static-web
8 k8s-app: static-web
9spec:
10 replicas: 1
11 selector:
12 matchLabels:
13 name: static-web
14 k8s-app: static-web
15 template:
16 metadata:
17 labels:
18 name: static-web
19 k8s-app: static-web
20 spec:
21 imagePullSecrets:
22 - name: portus-token
23 containers:
24 - name: master
25 image: docker.benkard.de/mulk/static-web:3
26 imagePullPolicy: Always
27 resources:
28 limits:
29 cpu: 1000m
30 memory: 50Mi
31 requests:
32 cpu: 100m
33 memory: 50Mi
34 ports:
35 - containerPort: 80
36 name: http
37 protocol: TCP
38---
39apiVersion: v1
40kind: Service
41metadata:
42 name: static-web
43 labels:
44 k8s-app: static-web
45 name: static-web
46spec:
47 selector:
48 k8s-app: static-web
49 type: ClusterIP
50 ports:
51 - name: http
52 port: 80
53 targetPort: 80
54 protocol: TCP