Skip to content

Commit

Permalink
Merge pull request #11 from paradeum-team/jyliu
Browse files Browse the repository at this point in the history
feat: svc add port 9096 ,fix: delete ipfs swarm livenessProbe
  • Loading branch information
ss75710541 authored Aug 26, 2022
2 parents 1f64625 + 8ddfb15 commit 638b21b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/ipfs-cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: 1.0.2
description: IPFS Cluster chart
name: ipfs-cluster
version: 0.0.17
version: 0.0.18
home: https://ipfscluster.io/
keywords:
- ipfs
Expand Down
4 changes: 2 additions & 2 deletions charts/ipfs-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

IPFS Cluster chart

![Version: 0.0.17](https://img.shields.io/badge/Version-0.0.17-informational?style=flat-square)
![Version: 0.0.18](https://img.shields.io/badge/Version-0.0.18-informational?style=flat-square)

## Installing the Chart

Expand All @@ -15,7 +15,7 @@ helm repo add paradeum-team https://paradeum-team.github.io/helm-charts/
### Install chart

```
helm install my-ipfs-cluster paradeum-team/ipfs-cluster --version 0.0.17
helm install my-ipfs-cluster paradeum-team/ipfs-cluster --version 0.0.18
```

## Values
Expand Down
5 changes: 4 additions & 1 deletion charts/ipfs-cluster/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ spec:
- name: swarm-udp
targetPort: swarm-udp
port: 4002
- name: cluster-swarm
targetPort: cluster-swarm
port: 9096 # ipfs cluster bootstrap port
- name: restapi-swarm
targetPort: restapi-swarm
port: 9098 #public with secret protection
port: 9098 # client add peer port
{{- with .Values.serviceExternalIPs }}
externalIPs:
{{- toYaml . | nindent 4 }}
Expand Down
8 changes: 1 addition & 7 deletions charts/ipfs-cluster/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,9 @@ spec:
protocol: TCP
containerPort: 8080
readinessProbe:
tcpSocket:
port: gateway
initialDelaySeconds: 5
periodSeconds: 15
livenessProbe:
tcpSocket:
port: swarm
initialDelaySeconds: 30
timeoutSeconds: 5
initialDelaySeconds: 5
periodSeconds: 15
volumeMounts:
- name: ipfs-storage
Expand Down

0 comments on commit 638b21b

Please sign in to comment.