-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathfake-gcs-server.yaml
More file actions
40 lines (40 loc) · 911 Bytes
/
fake-gcs-server.yaml
File metadata and controls
40 lines (40 loc) · 911 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: fake-gcs-server
spec:
replicas: 1
selector:
matchLabels:
app: fake-gcs-server
template:
metadata:
labels:
app: fake-gcs-server
spec:
containers:
- name: fake-gcs-server
image: fsouza/fake-gcs-server:latest
# Port 4443 is the fake-gcs-server default; we keep it for
# compatibility even though we use -scheme http (not HTTPS).
args: ["-scheme", "http", "-host", "0.0.0.0", "-port", "4443"]
ports:
- containerPort: 4443
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
---
apiVersion: v1
kind: Service
metadata:
name: fake-gcs-server
spec:
selector:
app: fake-gcs-server
ports:
- port: 4443
targetPort: 4443