Self-hostingPlatforms
Talos Linux
Short version
Section titled "Short version"A Talos cluster with a default StorageClass, an ingress controller or Gateway API, cert-manager or another way to get certificates, and a load balancer that takes TCP and UDP on one Service. Install the chart with voice.expose=loadBalancer. It takes about 20 minutes on a cluster that has those parts.
What this changes
Section titled "What this changes"Fluxer in its own namespace, the same as on any cluster, with a second LoadBalancer Service called fluxer-voice for TCP 7881 and UDP 7882.
Before you start
Section titled "Before you start"- Check the requirements.
- Talos has no storage of its own for workloads. Install a CSI driver with a default StorageClass first, such as Longhorn, Rook Ceph, OpenEBS or local-path-provisioner. Local disks work best for the database. Upgrading Talos reboots each node, and with local storage the pod waits for its own node to come back.
- Talos enforces the Pod Security
baselinelevel in every namespace by default, andbaselinerefuses host ports. With the chart's defaultvoice.expose=hostPortno pod starts, so useloadBalancerornodePort.
Install
Section titled "Install"-
Install the chart with voice on a LoadBalancer Service.
helm install fluxer oci://ghcr.io/fluxerapp/ charts/ fluxer \ --namespace fluxer --create-namespace \--set domain=chat.example.com \--set voice.expose=loadBalancer \ --set ingress.annotations."cert-manager\.io/cluster-issuer"=letsencrypt On bare metal, a LoadBalancer Service needs MetalLB, Cilium or another implementation. With an address you set aside for voice, add
--set voice.to the install, and in step 2 run only theservice. loadBalancerIP=<address> kubectl rollout statusline, which waits until the Fluxer pod is ready to use. -
Set the voice address to the external IP address of the
fluxer-voiceService, and wait for the pod to restart with that address.The first line waits for the load balancer's address, and the second looks up the chart version you installed, so the upgrade stays on the version you have.
until ip=$(kubectl -n fluxer get svc fluxer-voice -o jsonpath='{.status.loadBalancer.ingress[0].ip}') && [ -n "$ip" ]; do sleep 5; doneversion=$(helm get metadata fluxer -n fluxer | awk '/^VERSION:/ {print $2}')helm upgrade fluxer oci://ghcr.io/fluxerapp/ -n fluxer --version "$version" --reset-then-reuse-values \charts/ fluxer --set voice.publicIP="$ip" kubectl -n fluxer rollout status statefulset/fluxer --timeout 15mWhen the pod is ready, the rollout ends with
partitioned roll out complete. -
Print the setup token.
kubectl -n fluxer exec fluxer-0 -- fluxerd setup-tokenOpen your domain and paste the token to create the first admin account.
To keep host ports, create the namespace at the Pod Security privileged level before you install, and leave out voice.expose. That turns off Pod Security for each pod in the namespace, so keep Fluxer in a namespace of its own.
kubectl create namespace fluxerkubectl label namespace fluxer pod-security. kubernetes.io/ enforce= privilegedhelm install fluxer oci://ghcr.io/ fluxerapp/ charts/ fluxer \ --namespace fluxer \ --set domain=chat.example.com \ --set ingress.annotations."cert-manager\.io/ cluster-issuer"=letsencryptThen run the last line of step 2, and step 3.