apps: add pixelfed stub service
Anirudh Oppiliappan x@icyphox.sh
Thu, 04 Jul 2024 00:01:55 +0300
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 +