rsshub

by ScriptonBasestar

Helm chartv0.3.0App 2025-11-09BSD-3-Clause

Open-source RSS feed generator for everything - social media, news, blogs, and more

About this chart

RSSHub Helm Chart

Production-ready RSSHub deployment on Kubernetes for generating RSS feeds from various sources.

💡 Alternative: All-in-One Chart

For quick setup with Redis and Puppeteer included, consider using NaturalSelectionLabs RSSHub Chart:

helm repo add nsl https://naturalselectionlabs.github.io/helm-charts
helm install rsshub nsl/rsshub

NSL Chart includes:

  • ✅ Built-in Redis caching
  • ✅ Built-in Puppeteer (browserless/chrome)
  • ✅ Single-chart deployment

This chart is recommended for:

  • Production environments requiring component isolation
  • Custom Redis configuration (Redis Operator)
  • Independent scaling of RSSHub, Redis, and Puppeteer
  • Integration with existing infrastructure

See Chart Comparison Guide for detailed analysis and migration instructions.

Features

  • RSSHub: Everything is RSSable - generate RSS feeds for websites
  • Scalable: HorizontalPodAutoscaler support
  • Production Ready: Health probes, resource limits, and monitoring
  • Secure: NetworkPolicy and PodDisruptionBudget support
  • Easy Configuration: Simple values-based configuration

Prerequisites

Deployment Scenarios

This chart includes three pre-configured deployment scenarios optimized for different use cases:

Home Server (values-home-single.yaml)

Minimal resources for personal servers, home labs, Raspberry Pi, or Intel NUC:

helm install rsshub-home charts/rsshub \
  -f charts/rsshub/values-home-single.yaml

Resource allocation: 50-250m CPU, 128-256Mi RAM, no persistence

Startup Environment (values-startup-single.yaml)

Balanced configuration for small teams, startups, and development environments:

helm install rsshub-startup charts/rsshub \
  -f charts/rsshub/values-startup-single.yaml

Resource allocation: 100-500m CPU, 256-512Mi RAM, no persistence

Production HA (values-prod-master-replica.yaml)

High availability deployment with auto-scaling and Redis cache:

helm install rsshub-prod charts/rsshub \
  -f charts/rsshub/values-prod-master-replica.yaml

Features: 3 replicas, HPA (3-10 pods), Redis cache, PodDisruptionBudget, NetworkPolicy

Resource allocation: 250m-1000m CPU, 512Mi-1Gi RAM per pod, no persistence

For detailed comparison and configuration examples, see the Scenario Values Guide.

  • Kubernetes 1.19+
  • Helm 3.0+

Quick Start

Install the Chart

helm install rsshub ./charts/rsshub

Access the Service

# Port-forward to access locally
kubectl port-forward svc/rsshub 1200:1200

# Test the service
curl http://localhost:1200/

Configuration

Basic Configuration

ParameterDescriptionDefault
replicaCountNumber of replicas1
image.repositoryContainer image repositorydiygod/rsshub
image.tagContainer image taglatest
image.pullPolicyImage pull policyIfNotPresent
service.typeKubernetes service typeClusterIP
service.appPortApplication port1200

Resources

ParameterDescriptionDefault
resources.limits.cpuCPU limit1000m
resources.limits.memoryMemory limit1Gi
resources.requests.cpuCPU request250m
resources.requests.memoryMemory request256Mi

Health Probes

ParameterDescriptionDefault
livenessProbeLiveness probe configurationHTTP GET /healthz on port 1200
readinessProbeReadiness probe configurationHTTP GET /healthz on port 1200
startupProbeStartup probe configurationHTTP GET /healthz on port 1200

Production Features

HorizontalPodAutoscaler

Automatically scale pods based on CPU usage:

autoscaling:
  enabled: true
  minReplicas: 2
  maxReplicas: 10
  targetCPUUtilizationPercentage: 70

Benefits:

  • Handles high RSS feed request traffic
  • Scales down during low usage
  • Ensures consistent performance

PodDisruptionBudget

Ensures minimum availability during cluster maintenance:

podDisruptionBudget:
  enabled: true
  minAvailable: 1

Benefits:

  • Prevents service outage during node maintenance
  • Controls pod eviction rate
  • Improves reliability

NetworkPolicy

Restricts network access for enhanced security:

networkPolicy:
  enabled: true
  ingress:
    - from:
        - namespaceSelector:
            matchLabels:
              name: default
      ports:
        - protocol: TCP
          port: 1200
  egress:
    # Allow all egress (RSSHub needs to fetch external feeds)
    - {}

Benefits:

  • Zero-trust network security
  • Controlled ingress access
  • Full egress for feed fetching

Requirements:

  • CNI plugin with NetworkPolicy support (Calico, Cilium, etc.)

ServiceMonitor

Enable Prometheus metrics collection:

monitoring:
  serviceMonitor:
    enabled: true
    path: /
    interval: 30s
    scrapeTimeout: 10s

Benefits:

  • Real-time performance visibility
  • Feed request metrics
  • Integration with alerting systems

Requirements:

  • Prometheus Operator installed
  • ServiceMonitor CRD available

Usage Examples

Access RSS Feeds

# GitHub trending
curl http://rsshub:1200/github/trending/daily

# Twitter user timeline
curl http://rsshub:1200/twitter/user/DIYgod

# YouTube channel
curl http://rsshub:1200/youtube/user/@LinusTechTips

Configure with Ingress

ingress:
  enabled: true
  className: "nginx"
  hosts:
    - host: rsshub.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: rsshub-tls
      hosts:
        - rsshub.example.com

Environment Variables

RSSHub supports many environment variables for configuration. Add them using extraEnv:

# In values.yaml
extraEnv:
  - name: CACHE_TYPE
    value: "redis"
  - name: REDIS_URL
    value: "redis://redis:6379/"
  - name: PUPPETEER_WS_ENDPOINT
    value: "ws://browserless:3000"

Troubleshooting

Check Pod Status

kubectl get pods -l app.kubernetes.io/name=rsshub
kubectl describe pod <pod-name>
kubectl logs <pod-name>

Test Connection

kubectl port-forward svc/rsshub 1200:1200
curl http://localhost:1200/healthz

Common Issues

High Memory Usage:

  • Increase resources.limits.memory
  • Enable Redis caching with CACHE_TYPE=redis
  • Reduce concurrent feed fetching

Slow Feed Generation:

  • Check external website availability
  • Configure Puppeteer for JavaScript rendering
  • Increase CPU resources

License

This Helm chart is provided as-is under the MIT License.

Support

  • RSSHub Documentation: https://docs.rsshub.app/
  • GitHub Issues: https://github.com/DIYgod/RSSHub/issues
  • Routes Documentation: https://docs.rsshub.app/routes/

Deploy rsshub with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rsshub on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartrsshub is pinned at v0.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply