36 lines
713 B
YAML
36 lines
713 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ipfs-deployment
|
|
labels:
|
|
app: ipfs
|
|
app.kubernetes.io/name: ipfs
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ipfs
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ipfs
|
|
spec:
|
|
containers:
|
|
- name: ipfs
|
|
image: ipfs/kubo:release
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /version
|
|
port: 5001
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 3
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
ports:
|
|
- containerPort: 5001
|
|
- containerPort: 8080
|