diff options
author | terminaldweller <thabogre@gmail.com> | 2022-01-02 19:09:01 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-01-02 19:09:01 +0000 |
commit | 0abd6932a2865263d89139314b64fed72467b1d1 (patch) | |
tree | e38e2a849f9ca3eb7a0ff119c4b3bc5abab0715c /kubernetes/ipfs | |
parent | updates (diff) | |
download | scripts-0abd6932a2865263d89139314b64fed72467b1d1.tar.gz scripts-0abd6932a2865263d89139314b64fed72467b1d1.zip |
searx and ipfs, plus local dns
Diffstat (limited to 'kubernetes/ipfs')
-rw-r--r-- | kubernetes/ipfs/ipfs-deployment.yaml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/kubernetes/ipfs/ipfs-deployment.yaml b/kubernetes/ipfs/ipfs-deployment.yaml new file mode 100644 index 0000000..f7c0476 --- /dev/null +++ b/kubernetes/ipfs/ipfs-deployment.yaml @@ -0,0 +1,53 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ipfs + labels: + app: ipfs +spec: + replicas: 1 + selector: + matchLabels: + app: ipfs + template: + metadata: + labels: + app: ipfs + spec: + containers: + - name: ipfs + image: ipfs/go-ipfs:v0.11.0 + ports: + - containerPort: 4001 + - containerPort: 5001 + - containerPort: 8080 +--- +apiVersion: v1 +kind: Service +metadata: + name: pihole-service +spec: + selector: + app: pihole + type: NodePort + ports: + - protocol: TCP + port: 4001 + targetPort: 4001 + nodePort: 30401 + name: "ipfs-tcp-4001" + - protocol: UDP + port: 4001 + targetPort: 4001 + nodePort: 30401 + name: "ipfs-udp-4001" + - protocol: TCP + port: 5001 + targetPort: 5001 + nodePort: 30402 + name: "pihole-tcp-80" + - protocol: TCP + port: 8080 + targetPort: 8080 + nodePort: 30403 + name: "pihole-tcp-443" |