all repos — infra @ 98c073e8a948e7e07313a98b6ee84e9b733304c1

infrastructure manifests and setup notes

apps: add pixelfed stub service
Anirudh Oppiliappan x@icyphox.sh
Thu, 04 Jul 2024 00:01:55 +0300
commit

98c073e8a948e7e07313a98b6ee84e9b733304c1

parent

06541b214da2c6fbf6961344fe735ea22f75ff31

1 files changed, 41 insertions(+), 0 deletions(-)

jump to
A apps/pixelfed/pixelfed.yaml

@@ -0,0 +1,41 @@

+apiVersion: v1 +kind: Service +metadata: + name: pixelfed +spec: + # selector: + # app: pixelfed + ports: + - name: pixelfed-http + port: 80 + targetPort: 3535 +--- +apiVersion: v1 +kind: Endpoints +metadata: + name: pixelfed +subsets: +- addresses: + - ip: 192.168.100.30 + ports: + - port: 3535 +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ani.place + namespace: default +spec: + ingressClassName: caddy + rules: + - host: ani.place + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: pixelfed + port: + number: 80 +