apiVersion: v1
kind: Pod
metadata:
  name: ipfs-portforward
  namespace: ipfs-local
spec:
  containers:
  - name: proxy-ipfs-ui
    image: k8s.gcr.io/proxy-to-service:v2
    args: [ "tcp", "5001", "ipfs-local-ipfs.ipfs-local" ]
    ports:
    - name: tcp
      protocol: TCP
      containerPort: 5001
      hostPort: 5001
  - name: proxy-ipfs
    image: k8s.gcr.io/proxy-to-service:v2
    args: [ "tcp", "8080", "ipfs-local-ipfs.ipfs-local" ]
    ports:
    - name: tcp
      protocol: TCP
      containerPort: 8080
      hostPort: 8080
