-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfortran_cgi.yaml
52 lines (52 loc) · 945 Bytes
/
fortran_cgi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: apps/v1
kind: Deployment
metadata:
name: fortrancgi
namespace: default
labels:
app: fortrancgi
spec:
replicas: 1
selector:
matchLabels:
app: fortrancgi
template:
metadata:
labels:
app: fortrancgi
spec:
containers:
- name: fortrancgi
image: szhilkin/fortran_cgi:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
name: http
resources:
requests:
cpu: 100m
memory: 16Mi
limits:
cpu: 250m
memory: 32Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: fortrancgi
namespace: default
labels:
app: fortrancgi
spec:
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app: fortrancgi