all repos — infra @ f752d418fb45cbdb1d3021468df2171bce4d2608

infrastructure manifests and setup notes

apps/pixelfed/pixelfed.yaml (view raw)

 1apiVersion: v1
 2kind: Service
 3metadata:
 4  name: pixelfed
 5spec:
 6  # selector:
 7  #   app: pixelfed
 8  ports:
 9    - name: pixelfed-http
10      port: 80
11      targetPort: 3535
12---
13apiVersion: v1
14kind: Endpoints
15metadata:
16  name: pixelfed
17subsets:
18- addresses:
19  - ip: 192.168.100.30
20  ports:
21  - port: 3535
22---
23apiVersion: networking.k8s.io/v1
24kind: Ingress
25metadata:
26  name: ani.place
27  namespace: default
28spec:
29  ingressClassName: caddy
30  rules:
31  - host: ani.place
32    http:
33      paths:
34      - path: /
35        pathType: Prefix
36        backend:
37          service:
38            name: pixelfed
39            port:
40              number: 80
41