Skip to main content

Fider on GKE Autopilot

Fider on GKE Autopilot

Fider is an open-source, self-hosted feedback and feature-voting board — customers post ideas, vote, and comment, and you prioritise by demand. This module deploys Fider on GKE Autopilot on top of the App_GKE foundation, which provisions and manages the shared Google Cloud and Kubernetes infrastructure.

This guide focuses on the cloud services Fider uses and how to explore and operate them from the Google Cloud Console and the command line. For the mechanics that are common to every GKE application — Workload Identity, ingress, autoscaling, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC Service Controls, backups, and the deployment lifecycle — refer to the App_GKE foundation guide rather than repeating them here.


What Fider costs on RAD, and how that compares​

In a Google Cloud project you own, Fider on RAD's GKE Autopilot module costs about US$136 a month, plus US$17.50 once per deployment and no per-user licence. For the lowest cost, the Cloud Run module runs the same Fider for about US$89 a month. Fider is an open-source feedback and feature-voting board where customers suggest, discuss and vote on ideas. Figures are as at 8 October 2026; sources are listed at the end of this section.

If this runs in a project RAD manages for you, it can be deleted and restored within 30 days for a few credits instead of sitting there running — so an occasional-use deployment costs a few dollars a month, not US$136. See Pause it for free, below.

What you pay on RAD​

In a Google Cloud project you ownIn a project RAD manages for you
Module fee, once per deployment175 credits (US$17.50 at the top-up price)157.5 credits (10% lower)
Build timeA few credits per buildThe same
Google Cloud running costBilled by Google to your own billing account, about US$136 a month for the default configuration (table below)Metered hourly in credits; RAD publishes 105 credits a day, about 3,150 a month (about US$315 at the top-up price)
Who owns whatYou own the project and its billing; RAD deploys and updates itRAD owns the project, with guardrails, quotas and budget alerts; you get console access, and a minimum purchased balance is held in reserve

10 credits cost US$1 on a one-off top-up, and less on a monthly plan. In a project RAD manages, the database, file server and network are shared by every application in the project, so a second application does not add a second database.

Default running cost in your own project (us-central1, Google list prices):

Resource (module default)Per month
GKE Autopilot pod, 2 vCPU / 4 GiB, running all the timeUS$79
Cloud SQL for PostgreSQL, 1 vCPU / 3.75 GB, zonal, 10 GB SSDUS$51
Cloud NAT gateway and IP addressUS$5
Cloud Storage for backupsUS$1
Totalabout US$136

GKE's free tier covers the management fee of one Autopilot or zonal cluster per billing account, so the total above assumes this is that cluster; otherwise add about US$73 a month.

How it compares​

Fider has its own official hosted plan, Fider Pro: Fider's own hosted Pro plan is $25/month (unlimited feedback items plus content moderation, month-to-month) — read 8 October 2026.

OptionPer monthWho runs it
Fider Pro (official hosted plan)US$25/moFider
RAD, GKE Autopilot, your own projectUS$136, plus US$17.50 onceRAD's automation, in your project
RAD, GKE Autopilot, a RAD-managed projectabout 3,150 credits (US$315)RAD
RAD, Cloud Runabout US$89; see the Cloud Run guideRAD

Fider Pro's price was read from its own pricing page on 8 October 2026 and may have changed since — check the source before relying on the figure.

  • Fider Pro is the fixed comparison; a self-managed server is the flexible one. On your own Hetzner or DigitalOcean box (2 vCPU/4GB, about US$24/month) or a GCP Compute Engine e2-standard-2 (2 vCPU/8GB, about US$49/month) you would pay less in cash than either option, but you run the operating system, the database, backups, security patches and upgrades yourself — exactly what RAD's managed Cloud SQL, Secret Manager and monitoring do for you.
  • A cheap server is cheap until something breaks. On RAD, backups, point-in-time recovery, password rotation through Secret Manager, and logging and monitoring come from Google Cloud by default. On your own server, or on a fixed-price hosted plan with no infrastructure control, each of those is a job someone still has to do or a limit you cannot change.

Pause it for free: delete a RAD-managed project, restore it when you need it​

If Fider runs in a project RAD manages for you, you have an option beyond scaling down: delete the whole project, and restore it within 30 days for close to nothing. This suits a deployment you only need occasionally — studying for a certification, a demo, a seasonal need — far better than running it continuously.

  • How it works. Deleting a RAD-managed project unlinks its billing first, then asks Google to delete the project. Google does not remove it immediately: it keeps it, recoverable, for 30 days, and because billing is already unlinked, nothing is charged while it waits. Unlike deleting one module, this does not tear down Cloud SQL, the VM or GKE Autopilot one by one — the whole project, and everything in it, simply stops.
  • Restoring costs a handful of credits, not a rebuild. Within 30 days, the project's owner can restore it. RAD asks Google to undelete the project and reattaches its billing account, then asks you to run Update on each deployment to confirm everything came back. Because nothing was individually destroyed, that Update finds the same resources already there — it is a check, not a rebuild, and an Update never charges the module fee again. That costs a handful of build-time credits in total (under US$1) for a typical 2–3-deployment chain.
  • So a month of occasional use can cost a few dollars, not US$136. Deploy Fider, use it for a session, delete the project. Restore it next time you want it, confirm with Update, and delete it again when you're done. You pay only for the module fee once, the builds, and whatever hours it was actually live.
  • What this needs. You must own the project (not a bring-your-own one RAD only manages billing for), and you restore it yourself within the 30 days — after that, Google deletes it for good. Restoring is admitted like creating a new project: your purchased credit balance must still clear the tier's floor (100 credits for the sandbox tier most study/demo use fits). Google says most services are fully working again within 36 hours of a restore.
  • One real gap: nightly backups do not survive. Backups are written to a bucket inside the project, and that bucket has Cloud Storage's soft-delete explicitly turned off, so it is very likely gone as soon as you delete the project — even though the project itself is recoverable for 30 days. If you've customised this deployment and want to keep that work, copy a backup out (to Google Drive, or a bucket outside the project) before deleting. For a default install with nothing irreplaceable in it, this does not matter.

Pay only while you use it, the other way: delete and redeploy​

GKE keeps at least one pod running, so Fider never scales to zero on its own. The option above only applies to a RAD-managed project; in your own project, or once the 30-day window has passed, the way to stop paying is to delete the deployment and deploy it again when you need it.

  • What a redeploy costs. The module fee again plus the builds: about 180 credits (US$18). Deleting saves money if Fider would otherwise sit unused for about 4 days or more in your own project (about US$4.55 a day), or about 2 days or more in a RAD-managed one (105 credits a day).
  • Delete everything Fider uses. Most of the running cost is usually the database and any shared file/cache VM. They stop only when nothing else in the project uses them, so deleting this app while something else shares the project saves only this app's own compute part.
  • Keep data first. Nightly backups go to a bucket inside the deployment and are deleted with it, so copy the latest backup out before deleting if you want to keep it.
  • Note your settings. RAD does not recreate a deleted deployment for you; you enter the settings again when you deploy.

Lab sessions and Managed Environments​

  • Lab sessions, for training. A trainer runs a session for a class. Each participant gets Fider in their own Google Cloud project for 15 minutes to 24 hours, within an allowance the trainer sets. Either the trainer funds every place, or each participant pays for their own. Everything is deleted when the session ends and unused credits go back to the trainer.
  • Managed Environments, for consultancies. A partner runs the app for a client from a ring-fenced wallet it funds, and settles with the client directly. If the wallet runs low, billing pauses and the data is kept, so nobody receives an unexpected charge. At the end the partner hands the project over and the deployments become the client's own.

Credits can be bought in more than 20 currencies, including XAF, XOF, NGN, GHS, KES and ZAR, by card, bank transfer or mobile money.

Sources (8 October 2026): Google Cloud list prices from the Cloud Billing Catalog API; RAD's own fees and daily-credit estimate from radmodules.dev/pricing; Delete and restore projects for the pause/restore mechanism; Fider Pro pricing. Prices change; check each source before relying on a figure.

1. Overview​

Fider runs as a single Go web workload. The deployment wires together a focused set of Google Cloud services:

CapabilityGoogle Cloud serviceNotes
ComputeGKE AutopilotSingle Go binary, horizontally autoscaled
DatabaseCloud SQL for PostgreSQL 15Required — Fider does not support MySQL or other engines
Object storageCloud StorageA dedicated storage bucket provisioned automatically
File storagePostgreSQL (attachments)Fider stores attachments in PostgreSQL; the optional NFS mount is off by default and unused
SecretsSecret ManagerAuto-generated JWT_SECRET; database password
IngressCloud Load BalancingExternal LoadBalancer, optional custom domain + managed certificate

Sensible defaults worth knowing up front:

  • PostgreSQL 15 is mandatory. The database engine is fixed by the shared application layer (database_type = POSTGRES_15); selecting any other engine breaks startup.
  • JWT_SECRET is generated automatically and stored in Secret Manager. It signs all authentication and session tokens (including emailed magic sign-in links) and must never be rotated after first boot — doing so invalidates all active sessions and pending sign-in links.
  • Fider is a single Go binary with no background worker. All state lives in PostgreSQL; there is no queue process. A minimum of 1 replica is kept (GKE does not support scale-to-zero).
  • No Redis. Fider uses a PostgreSQL-backed queue and cache (empty VALKEY_URL), so enable_redis defaults to false.
  • NFS is off by default (enable_nfs = false). Fider stores attachments in PostgreSQL and this module never switches it to filesystem mode, so an NFS share would receive nothing. If you do enable it, App_GKE deploys the pod with the Recreate strategy rather than RollingUpdate.
  • The container listens on port 3000. On GKE the PORT env is not auto-injected, so the entrypoint exports PORT = 3000; container_port and the Kubernetes probes must both be 3000 or the pod never becomes Ready even though the app is healthy.
  • Schema migrations run on boot. The custom entrypoint runs ./fider migrate before starting the server.
  • Email is disabled for the demo. Placeholder SMTP values let the app boot; sign-up / invite links are printed to the pod log until real SMTP is wired via environment_variables.

2. Google Cloud Services & How to Explore Them​

All commands assume you have run gcloud container clusters get-credentials <cluster> --region <region> --project <project> and that PROJECT, REGION, and NAMESPACE are set. The namespace and other identifiers are reported in the deployment Outputs.

A. GKE Autopilot — the Fider workload​

Fider pods are scheduled on Autopilot, which bills for the CPU/memory the pods actually request. Horizontal Pod Autoscaling sizes the deployment between the minimum and maximum replica counts.

  • Console: Kubernetes Engine → Workloads → select the Fider workload to see pods, revisions, and events. Kubernetes Engine → Services & Ingress shows the external IP.
  • CLI:
    kubectl get pods,svc,hpa -n "$NAMESPACE"
    kubectl logs -n "$NAMESPACE" deploy/<service-name> --tail=100
    kubectl describe hpa -n "$NAMESPACE" # current vs target utilisation

See App_GKE for how Autopilot, scaling, and the workload type (Deployment vs StatefulSet) are managed.

B. Cloud SQL for PostgreSQL 15​

Fider stores all application data (posts, votes, comments, users, settings) in a managed Cloud SQL for PostgreSQL 15 instance. Pods reach it privately through the Cloud SQL Auth Proxy sidecar on 127.0.0.1 loopback; no public IP is exposed. On first deploy the db-init Job creates the application role and database; Fider then runs its own migrations on boot.

  • Console: SQL → select the instance for connections, backups, flags, and metrics.
  • CLI:
    gcloud sql instances list --project "$PROJECT"
    gcloud sql instances describe <instance-name> --project "$PROJECT"
    # Open an interactive shell to inspect schema/data:
    gcloud sql connect <instance-name> --user=<db-user> --database=<db-name> --project "$PROJECT"

The instance name, database name, user, and the Secret Manager secret holding the password are all surfaced in the Outputs. For the connection model, automated backups, and password rotation, see App_GKE.

C. Cloud Storage​

A dedicated Cloud Storage bucket (suffix storage) is provisioned automatically. The workload service account is granted access. Additional buckets can be declared via storage_buckets.

  • Console: Cloud Storage → Buckets.
  • CLI:
    gcloud storage buckets list --project "$PROJECT"
    gcloud storage ls gs://<storage-bucket>/ # bucket name is in the Outputs

See App_GKE for CMEK options and GCS Fuse mounts.

D. Cloud Filestore (NFS)​

NFS is off by default (enable_nfs = false): Fider keeps attachments in PostgreSQL, so the mount is unused. If you enable it, the shared NFS server VM (managed by Services_GCP) must be RUNNING before the app deploys, and NFS-backed pods use the Recreate update strategy.

  • Console: Filestore → Instances.
  • CLI:
    gcloud filestore instances list --project "$PROJECT"
    kubectl get pvc,pv -n "$NAMESPACE"

Fider does not use Redis — do not expect a Memorystore or Redis endpoint.

E. Secret Manager​

One cryptographic secret is generated automatically and stored in Secret Manager: JWT_SECRET (signs authentication and session tokens). It is delivered into the pod via the Secret Store CSI integration. The database password is managed separately by the foundation.

  • Console: Security → Secret Manager.
  • CLI:
    gcloud secrets list --project "$PROJECT" --filter="name~fider"
    gcloud secrets versions access latest --secret=<secret-name> --project "$PROJECT"

The database password secret name is in the Outputs. See App_GKE for the Secret Store CSI integration and rotation.

F. Networking & ingress​

By default the workload is exposed through an external Cloud Load Balancing IP (service_type = LoadBalancer). A custom domain with a Google-managed certificate can be enabled, and a static IP can be reserved so the address survives redeploys. Set BASE_URL (via environment_variables) to the external URL once the IP is known.

  • Console: Network services → Load balancing; VPC network → IP addresses.
  • CLI:
    kubectl get ingress,svc -n "$NAMESPACE"
    gcloud compute addresses list --project "$PROJECT"

See App_GKE for custom domains, Cloud CDN, and static IP details.

G. Cloud Logging & Monitoring​

Pod stdout/stderr flow to Cloud Logging; GKE and Cloud SQL metrics flow to Cloud Monitoring. Optional uptime checks and alert policies are available. When email is disabled, sign-up / invite links appear in the pod logs.

  • Console: Logging → Logs Explorer; Monitoring → Dashboards / Alerting.
  • CLI:
    gcloud logging read 'resource.type="k8s_container" AND resource.labels.namespace_name="'"$NAMESPACE"'"' \
    --project "$PROJECT" --limit 50

3. Fider Application Behaviour​

  • First-deploy database setup. The db-init Job runs db-init.sh using postgres:15-alpine. It connects through the Cloud SQL Auth Proxy and idempotently creates the fider role and database, grants privileges, reassigns ownership of the public schema to the application role, and signals the proxy sidecar to shut down so the Job pod completes. The job is safe to re-run.
  • Schema migrations on start. The custom entrypoint runs ./fider migrate before launching the server (the image's CMD is overridden to ./fider only). Migrations are idempotent, so upgrading the application version applies schema changes on the next start without a separate migration step.
  • JWT_SECRET is immutable after first boot. It is generated once and written to Secret Manager. Changing it invalidates all active user sessions and any pending emailed sign-in links. Only rotate during a planned maintenance window.
  • First-run setup. There are no default credentials. Browse to the LoadBalancer external IP / URL to create the site and its admin owner:
    kubectl get svc -n "$NAMESPACE" -o wide
  • Email is off by default. Placeholder SMTP values let Fider boot with EMAIL_NOEMAIL = true; sign-up and invite links are printed to the pod log. To send real mail, set the Fider SMTP variables via environment_variables and remove EMAIL_NOEMAIL.
  • Health path. Startup and liveness probes target /_health — an unauthenticated endpoint returning 200. The container_port and probe port must both be 3000 (the entrypoint exports PORT = 3000; GKE does not auto-inject it).
  • NFS-backed updates use Recreate (only when enable_nfs = true). A rolling update would briefly run two pods against the same NFS volume and shared database; App_GKE therefore sets the strategy to Recreate for NFS-backed apps.
  • Inspect job execution:
    kubectl get jobs -n "$NAMESPACE"
    kubectl logs -n "$NAMESPACE" job/<job-name>

4. Configuration Variables​

Variables are grouped exactly as they appear on the deployment platform. Only settings specific to or notable for Fider are listed; every other input is inherited from App_GKE with its standard behaviour and defaults.

Group 3 — Application Identity​

VariableDefaultDescription
application_namefiderBase name for resources. Do not change after first deploy.
application_versionlatestFider image tag (getfider/fider:<tag>), mapped to the FIDER_VERSION build ARG. latest is pinned to stable (no :latest tag exists); pin to a SHA tag in production.

Group 4 — Runtime & Scaling​

VariableDefaultDescription
deploy_applicationtrueSet false to provision infrastructure only.
min_instance_count1Minimum replicas; GKE does not support scale-to-zero.
max_instance_count5Maximum replicas.
container_port3000Fider listens on 3000; probes must match.
container_resources2 vCPU / 4 GiBCPU/memory limits and requests for the Fider container.
enable_cloudsql_volumetrueCloud SQL Auth Proxy sidecar for connections.
enable_image_mirroringtrueMirror the Fider image into Artifact Registry before deployment.

Group 5 — Environment Variables & Secrets​

VariableDefaultDescription
environment_variables{}Extra non-secret settings. Wire real SMTP (EMAIL_SMTP_*, EMAIL_NOREPLY) or the external BASE_URL here. Do not set DATABASE_URL, JWT_SECRET, or PORT.
secret_environment_variables{}Map of env var → Secret Manager secret name.

Group 6 — GKE Backend & Cluster​

VariableDefaultDescription
service_typeLoadBalancerHow the Kubernetes Service is exposed.
workload_typenullResolves to Deployment (the module's built-in logic); Fider is stateless (state lives in PostgreSQL).
session_affinityClientIPSticky routing (default).
container_protocolhttp1Fider serves standard HTTP/1.1.

Group 7 — StatefulSet​

VariableDefaultDescription
stateful_pvc_enablednullDefaults to the module's built-in logic. Fider stores state in PostgreSQL, so per-pod PVCs are not required.

Group 13 — Filesystem (NFS)​

VariableDefaultDescription
enable_nfsfalseLeave off: Fider stores attachments in PostgreSQL and never writes to the mount. NFS-backed pods deploy with Recreate.
nfs_mount_path/opt/fider/storageMount path inside the container.

Group 15 — Redis Cache & Queue​

VariableDefaultDescription
enable_redisfalseFider is Postgres-backed; leave off unless externalising to Redis.
redis_host / redis_port / redis_auth"" / 6379 / ""Only relevant if Redis is enabled.

Group 16 — Database Backend​

VariableDefaultDescription
database_typePOSTGRES_15Fixed — Fider requires PostgreSQL 15+.
application_database_namefiderPostgreSQL database name. Immutable after first deploy.
application_database_userfiderApplication database user. Immutable after first deploy.

All other inputs follow standard App_GKE behaviour.


5. Outputs​

These values are returned on a successful deployment and are the quickest way to locate and explore the running resources.

OutputDescription
service_nameKubernetes Service name.
namespaceNamespace the workload runs in.
service_cluster_ipIn-cluster ClusterIP.
stage_service_cluster_ipsMap of ClusterIPs for stage-specific services.
service_external_ipExternal LoadBalancer IP (when a static IP is reserved).
service_urlURL to reach Fider.
database_instance_nameCloud SQL instance name.
database_nameApplication database name.
database_userApplication database user.
database_password_secretSecret Manager secret holding the DB password.
database_host / database_portDB endpoint (127.0.0.1 via the Auth Proxy) / port.
storage_bucketsCreated Cloud Storage buckets.
network_name / network_exists / regionsVPC network, presence, available regions.
container_image / container_registryDeployed image and Artifact Registry repo.
monitoring_enabled / monitoring_notification_channelsMonitoring status and channels.
initialization_jobs / db_import_jobNames of the setup and (optional) import jobs.
deployment_id / tenant_id / resource_prefixNaming identifiers.
project_id / project_numberProject identifiers.
cicd_enabled / cicd_configurationCI/CD status and details (repo, trigger, registry).
github_repository_url / github_repository_owner / github_repository_nameCI/CD GitHub details.
artifact_registry_repository / cloudbuild_trigger_name / cloudbuild_trigger_idRegistry and build trigger.
kubernetes_readyWhether the cluster/workload is ready.
vpc_sc_enabled / vpc_sc_perimeter_name / vpc_sc_dry_run_modeVPC-SC status.
audit_logging_enabled / artifact_registry_cmek_enabledAudit logging and CMEK status.

6. Configuration Pitfalls & Sensible Defaults​

Risk: Critical (data loss / outage / security) — High (service degraded) — Medium (cost or partial degradation) — Low (minor).

Inherited plan-time validation. This module passes its configuration through the App_GKE foundation engine, which validates values and combinations at plan time — a read replica without its primary, IAP with no authorized identities, a gen1 runtime with NFS/GCS mounts, a database_type that does not match an enabled extension, an out-of-range redis_port/backup_retention_days. Invalid configuration fails the plan with a clear, named error before any resource is created, so most mistakes below are caught up front rather than at apply or runtime.

SettingSensible valueRiskConsequence if wrong
JWT_SECRET (auto-generated)Never rotate after first bootCriticalRotating it invalidates all active sessions and pending emailed sign-in links.
application_database_name / application_database_userSet onceCriticalImmutable after first deploy; renaming recreates the DB/role and destroys all data.
database_typePOSTGRES_15CriticalAny non-PostgreSQL engine breaks startup — Fider is Postgres-only.
enable_backup_importfalse unless restoringCriticalEnabling without a valid backup source fails the import job.
container_port3000HighGKE does not auto-inject PORT; a mismatched port makes probes hit a dead port and the pod never becomes Ready.
enable_cloudsql_volumetrueHighThe Auth Proxy sidecar is required for PostgreSQL connectivity on GKE.
application_versionpin a SHA tag; latest → stableHighgetfider/fider has no :latest tag; the module pins latest to stable, but pin explicitly for reproducible upgrades.
min_instance_count1HighGKE requires min ≥ 1; the validation guard rejects invalid values.
enable_nfsfalse (default)MediumFider does not use the mount. If enabled, the shared NFS VM must be RUNNING before deploy, and NFS-backed pods use Recreate, so a rollout briefly takes the pod down.
quota_memory_requests / _limitsbinary units (4Gi, 8192Mi)CriticalBare integers are bytes and block all pod scheduling in the namespace.
SMTP (EMAIL_SMTP_*)Configure for real mailMediumLeft as placeholders, sign-up / invite links only appear in the logs — no email is sent.
enable_iaponly when public access not neededHighIAP blocks all unauthenticated requests, including anonymous browsing of the board.

For the foundation behaviour referenced throughout — IAM and Workload Identity, autoscaling, ingress and certificates, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC-SC, backups, and image mirroring — see App_GKE. Fider-specific application configuration shared with the Cloud Run variant is described in Fider_Common.

Need RAD to do something it does not do yet? Request it on the roadmap, or vote on what is already there.