TinyRss - Kubernetes

NOTE: You still need a mysql or postgresql database to hold the fetched rss items. The PVC here is just to store tinyrss's config (db credentials, url, etc).

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: tinyrss
  labels:
    app: tinyrss
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
---
apiVersion: v1
kind: Service
metadata:
  name: tinyrss
spec:
  ports:
  - port: 80
  selector:
    app: tinyrss
  type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: tinyrss
  labels:
    app: tinyrss
spec:
  replicas: 1
  selector:
    matchLabels:
      app: tinyrss
  template:
    metadata:
      labels:
        app: tinyrss
    spec:
      containers:
      - name: tinyrss
        image: linuxserver/tt-rss
        ports:
        - containerPort: 80
        volumeMounts:
        - name: tinyrss
          mountPath: "/config"
      volumes:
      - name: tinyrss
        persistentVolumeClaim:
          claimName: tinyrss