Installing an X-Road 8 Security Server on Kubernetes

X-Road 8 is in beta (8.0.0 Beta 2) with production scheduled for December 2026, so a Kubernetes install is a test or pre-production exercise today. This page covers the Helm sequence, the OpenBao and PostgreSQL dependencies and what to confirm before you commit.

On this page

How to install an X-Road 8 Security Server on Kubernetes with Helm

A platform team that must run an X-Road Security Server in a cluster it controls, while X-Road 8 is still in beta, needs a deployment it can rebuild and test without touching production. This section describes a Helm-based deployment of a namespace, OpenBao with PostgreSQL storage, the Security Server databases and the split Security Server components, which suits test and pre-production work now. X-Road is open-source software published under the MIT license and developed by the Nordic Institute for Interoperability Solutions (NIIS). Its main components are the Central Server, the Security Server and the Configuration Proxy. The X-Road repository on GitHub is the starting point for checking what the 8.0 Beta 2 chart ships.

The Security Server requirements in the installation guide we reference come from the version 6 guide, so reconfirm them for 8.0 Beta 2 before you size any nodes. The v6 guide lists Ubuntu Server 22.04 and 24.04 LTS on x86-64, Red Hat Enterprise Linux 8 and 9, at least 3 GB RAM (4 GB with monitoring add-ons) and 3 GB free disk space. It also requires PostgreSQL, local or remote, including managed services. Those figures describe a host install, not a pod, so ask NIIS or check the 8.0 documentation for the container resource requests, the supported Kubernetes versions and whether the PostgreSQL requirement changes when the three Security Server databases are created by the chart. Record the answers in your change record before the first deploy.

Map the network before the first deploy. The v6 guide expects TCP 5500 for message exchange and 5577 for OCSP from external networks, and TCP 4000 for the admin UI and 8080 or 8443 for information system access from internal networks. In Kubernetes, these become decisions about Services, ingress or load balancers and NetworkPolicy rules, so decide early which namespaces and networks may reach each port. Confirm in the 8.0 chart values which ports it exposes and whether the admin UI can stay on a private address. The v6 guide also documents hardware security module support through PKCS#11 and the xroad-addon-hwtokens package, so confirm how 8.0 handles HSM-backed keys before you assume a test cluster can match production.

How the namespace, OpenBao, databases and Security Server components connect

The diagram starts at the Helm release in its own Kubernetes namespace, which holds the OpenBao pod, the split Security Server components and their databases. Peer Security Servers reach the message component over TCP 5500 and 5577 (OCSP), crossing the external boundary. Administrators use the admin UI on TCP 4000, and information systems use TCP 8080 or 8443, both from internal networks. OpenBao stores its data in PostgreSQL, and whether that PostgreSQL is managed or in-cluster is for you to confirm. The layout is illustrative, so check each connection and port against your chart values and network policy.

Illustrative layout of the namespace, OpenBao, databases and split Security Server components.

Choosing database, storage and key options for X-Road 8 on Kubernetes

This table compares the database, secret storage and key options you choose before running the Helm install, with the fit, trade-off and check for each. Read each row against your platform team's skills and recovery targets, because the database and OpenBao choices affect each other. The main takeaway is that every option must be confirmed against the 8.0 Beta 2 chart before you commit, since beta values and supported settings can change.

OptionWhen it fitsTrade-offWhat to confirm
PostgreSQL in the clusterLabs and pilots where the platform team already runs PostgreSQL with tested backupsYou own failover, patching, storage performance and restores for the databaseWhether the 8.0 Beta 2 chart deploys PostgreSQL, and how its volumes and backups are set
Managed PostgreSQL (AWS RDS or Azure Database for PostgreSQL)Production where the cloud team already runs managed databases and wants the provider to handle patching and backupsPrivate networking, TLS and a recurring service fee sit with your cloud teamEngine version, TLS mode and connection fields the chart accepts for an external database
OpenBao on PostgreSQL storageTeams that want secret data in a database they can back up and inspect with standard PostgreSQL toolsSecret availability depends on the database, which the OpenBao storage documentation calls easier to operate safely than RaftWhether the chart's OpenBao storage setting selects PostgreSQL, and which database and role it creates
OpenBao on integrated Raft storageTeams that want no separate database for secrets and can run replicated OpenBao nodesYour team must learn and test Raft membership, snapshots and node recoveryWhether the 8.0 Beta 2 chart enables Raft, and how each pod gets persistent storage
Single OpenBao nodeLabs and beta evaluation, where a secret store restart is acceptableOne node failure stops secret access for the Security Server until it recoversDefault replica count in the 8.0 Beta 2 chart, and whether it can be changed in values
OpenBao in HA modeProduction where secret access must continue through a node lossAdds an HA backend, failover testing and unsealing steps on every nodeWhich HA backend the chart uses, and whether standbys serve reads in its OpenBao version
Software keysEvaluations and deployments where your policy accepts keys protected by the secret store and host controlsKey protection depends on the secret store and host access, with no tamper-resistant deviceSupported key types in the 8.0 Beta 2 chart, and which keys it generates at install
Hardware security module through PKCS#11Organizations whose policy requires signing keys to stay inside a hardware deviceAdds device driver setup, device failover planning and vendor support for each HSMWhether the 8.0 Beta 2 chart supports PKCS#11 and the xroad-addon-hwtokens package, with RSA and EC keys

Installing the X-Road 8 Security Server on Kubernetes in sequence

The sequence takes an empty Kubernetes namespace to a registered X-Road 8.0.0 Beta 2 Security Server, with OpenBao and the Security Server databases in place first. Each step depends on the one before it, so the check at the end of each step is the gate to the next. The exact chart name, values keys and namespace come from the release files in the nordic-institute repository, and this page follows their structure.

  1. Confirm release files and Kubernetes version

    Download the X-Road 8.0.0 Beta 2 release files from the nordic-institute repository on GitHub and confirm the Helm chart, image references and values file that match this tag. Record the chart name, values keys and target namespace from those files, since the exact names are set there and not on this page. Then confirm that your cluster runs a Kubernetes minor version that kubernetes.io/releases still lists as maintained on the day you install. Beta 2 is for testing, with the production release scheduled for December 2026. Done means helm template renders the chart for your chosen values without errors, and kubectl version reports a maintained minor.

  2. Prepare namespace, RBAC and pod security

    Create a dedicated namespace for the Security Server and its OpenBao instance, with service accounts that hold only the permissions the chart needs. Label the namespace with the Pod Security Standards level that the release files support, and confirm that the pod specs in the rendered chart comply with it before you install anything. Keep cluster-admin with the person running the installation and remove it when the work is complete. Done means kubectl auth can-i returns no for the default service account on secrets and on pod exec, and the namespace labels show the enforced level.

  3. Provision PostgreSQL for OpenBao and Security Server

    Decide whether PostgreSQL runs inside the cluster or as a managed service reachable from the cluster network, and record the choice in your installation plan. The Security Server installation guide for the 7.x line lists local, remote and managed services such as AWS RDS and Azure Database for PostgreSQL, so confirm with the 8.0.0 Beta 2 documentation which options apply. Require TLS on client connections, keep credentials in Kubernetes Secrets and restrict network access to the namespace. Done means a temporary pod using psql opens an authenticated TLS connection to the server, and a pod outside the namespace cannot reach it.

  4. Deploy and unseal OpenBao on PostgreSQL

    Deploy OpenBao with PostgreSQL as its storage backend, using the OpenBao settings in the release files, and then initialize and unseal it. Store the unseal material and root token outside the cluster in a controlled secrets store, and follow the sibling topic on OpenBao as the X-Road 8 secret store for the initialization, unsealing and operational duties. OpenBao documents PostgreSQL as a supported high availability backend, so confirm in the release files how many replicas the deployment runs. Done means the OpenBao status check reports initialized and unsealed, and the OpenBao pod reports ready.

  5. Create the three Security Server databases

    Create the three PostgreSQL databases that the Security Server uses, using the database names defined in the release files. Give each database its own owner role with a separate password, and grant each role access only to its own database, with no access to the OpenBao database. Write the database and role names in your installation record so the Helm values in the next step match them exactly. Done means each role connects to its own database, a connection with the same role to either of the other two databases fails, and the names match the values file.

  6. Install split Security Server components with Helm

    Install the split Security Server components as separate workloads through the Helm chart from the release files, into the namespace you prepared. Point the chart's database and OpenBao settings at Kubernetes Secrets rather than writing passwords into values files. Render the manifests with helm template and review the service types, probes and security contexts before running helm install. Done means helm status reports the release as deployed, and every expected component workload appears in the namespace.

  7. Verify pods, probes and reachable ports

    Check that every Security Server pod reaches Ready, that liveness and readiness probes pass, and that each service exposes the ports the release files define. The 7.x installation guide lists TCP 5500 for message exchange and 5577 for OCSP from external networks, and TCP 4000 for the admin UI with 8080 or 8443 for information system access from internal networks. Confirm the 8.0.0 Beta 2 ports in the release files before you open any firewall rule, then test each path from the network it is meant for. Done means each intended port answers from its own network and is unreachable from the networks it should not serve.

  8. Complete first Security Server registration

    Sign in to the admin UI with the accounts for the security officer and registration officer roles described in the Security Server user guide, and submit the registration request for this Security Server. Registration depends on the ecosystem operator or Central Server accepting the request, so agree the process with them first and run this step in a test instance. Keep a separate account for each role so that approvals are traceable. Done means the Security Server appears as registered in the configuration your ecosystem uses, and a test request from an approved client succeeds.

Which Kubernetes setup fits your environment

A managed service runs the Kubernetes control plane and its etcd datastore for you, so your team's work shifts to node pools, networking, storage classes, load balancers and upgrade scheduling. The X-Road 8 Helm install itself does not change shape: it still runs in namespaces you create, and the Security Server databases still sit on a PostgreSQL service you select.

  • Control plane terms: The provider operates the API server and etcd, so backup, restore and upgrade commitments must be requested and written into your scope before you rely on them.
  • Node pools and upgrades: Your team schedules node pool upgrades after the provider upgrades the control plane, and checks the version skew policy at each step.
  • Storage and ingress: Confirm the storage classes for OpenBao and PostgreSQL volumes, and confirm that load balancers expose the Security Server message exchange and OCSP ports your external networks need. Keep the admin UI on port 4000 reachable from internal networks only.
  • Managed PostgreSQL: The Security Server supports managed services such as AWS RDS and Azure Database for PostgreSQL, so you can host its databases outside the cluster.

Check that the provider's backup, restore and Kubernetes version support terms, along with your PostgreSQL service choice, appear in the written scope before the install starts.

Securing OpenBao, Kubernetes Secrets and Security Server admin access

This section covers the three places where X-Road 8 keeps or accepts sensitive access: secret values in OpenBao, Kubernetes Secret objects in the cluster, and the Security Server admin interface. Each card names one control to decide before the install goes live, along with what to check after it.

Encrypt Kubernetes Secrets at rest

Kubernetes stores Secret objects unencrypted in etcd by default, so anyone who can read an etcd snapshot or backup can read the values inside it. Before you install, enable encryption at rest for Secrets in the API server configuration, or move sensitive values to an external store through the Secrets Store CSI Driver. Then confirm that etcd backups get the same protection as the cluster itself. Ask your platform team which option your Kubernetes distribution supports.

Kubernetes Secrets good practices

Limit Secret access with RBAC

Restrict the list and watch verbs on Secrets, since either one returns Secret contents for every object the caller can see in a namespace. Scope roles to the X-Road namespace, grant Secret access only to the service accounts that need it, and keep cluster-wide bindings for platform administrators. Check each account with kubectl auth can-i --list and record the result before go-live.

Use AppRole for server authentication

OpenBao offers several auth methods, including AppRole, Kubernetes, LDAP, JWT/OIDC and tokens. Its documentation recommends Userpass for developer machines and AppRole for servers, so X-Road components that call OpenBao should log in with a role ID and secret ID pair. Plan how the secret ID is delivered, stored and rotated, since it is the credential the server presents at login. Confirm which method the X-Road 8 Helm chart configures in the OpenBao release you deploy.

OpenBao auth methods

Map admin users to X-Road roles

The Security Server defines five roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Admin users authenticate through PAM, and the user guide describes LDAP integration through SSSD, with LDAP groups mapped to those roles. That guide covers the 6.x Security Server, so confirm the 8.0 mapping and role names in the beta before you design your group structure. Separate duties across different people where your policy requires it.

Security Server user guide

Apply the hardening guide account controls

The X-Road security hardening guidelines (version 0.6, dated 09.01.2025) recommend locking accounts for 15 minutes after 3 failed logins and using passwords of at least 16 characters. They also recommend key-only SSH and the allowed-hostnames setting, which guards against host header injection. Apply these to every host in the deployment path, including jump hosts and any machine running admin tooling, then test each setting from a fresh session. Confirm which items apply to the 8.0 beta packaging before you sign off.

Security hardening guidelines

Restrict ports with network policies

The Security Server installation guide lists TCP 5500 for message exchange and TCP 5577 for OCSP from external networks. It lists TCP 4000 for the admin UI and TCP 8080 or 8443 for information system access from internal networks. Translate these into Kubernetes NetworkPolicy objects so that each port accepts only its intended sources, and deny other ingress by default. Confirm that your CNI plugin enforces NetworkPolicy, and restrict OpenBao and PostgreSQL ports to the X-Road pods.

Security Server installation guide

Keeping the cluster and dependencies supported after go-live

Plan Kubernetes upgrades as a recurring duty that starts at go-live. The Kubernetes project ships approximately three minor releases a year on a cycle of about 14 weeks, and it maintains only the three most recent minors. As of September 2026, those were 1.37, 1.36 and 1.35, and 1.35 is scheduled to reach end of life on February 28, 2027. Each minor line receives patch releases for roughly a year, so a cluster that falls behind stops receiving security fixes before the next window arrives. The Kubernetes version skew policy requires kube-apiserver to be upgraded one minor version at a time, and only then the controller manager, scheduler and kubelets. Kubelets may run up to three minor versions behind the API server, which gives room to sequence the work but is not a reason to delay it. Before each step, record the kubelet version on every node and the target minor version in your change log.

OpenBao is the secret store in this deployment, so its release line needs the same discipline. The OpenBao project publishes both minor and patch releases, including v2.7.0 on September 23, 2026 and v2.7.1 on October 1, 2026, as listed on the OpenBao releases page. A patch release usually carries fixes that should be applied promptly, while a minor release can change behavior that your unseal, backup and access runbooks depend on, so treat both as changes that need a test. The chart pins specific image versions, so nothing moves until someone edits the values file and redeploys. That pinning protects you from surprise changes, but it also means an unpatched version can stay in place unnoticed. Check the release page on a regular schedule, record the pinned OpenBao tag, and rehearse the unseal and restore steps on a non-production copy before you change the tag.

Beta limits to confirm before a production cutover

X-Road 8 is available as 8.0.0 Beta 2, with production scheduled for December 2026. Each card names a part of this installation that rests on version 6 documentation, on beta release files or on a moving third-party dependency, and must be confirmed before any production cutover.

Beta status limits production use

X-Road 8 "Spaceship" is available as 8.0.0 Beta 2, and the production release is scheduled for December 2026. Keep this installation in a lab or pilot until a final 8.0 release is published. Do not tie live member exchanges, service levels or contractual obligations to a beta build. Record the beta tag you tested in your change plan so that any later upgrade starts from a known state.

X-Road releases

Requirements and ports need 8.0 confirmation

The operating system, RAM, disk and port figures for the Security Server come from the version 6 installation guide. Reconfirm the supported platforms, minimum resources and ports 5500, 5577, 4000, 8080 and 8443 against the documentation published for 8.0 before you size nodes or write firewall rules. Review inbound and outbound paths again once the components run behind Kubernetes services, because a port that works on a host may need a different route in a cluster.

Version 6 installation guide

Read chart layout from release files

The namespace, database count and split of Security Server components should be taken directly from the Helm chart and its release files. Record the namespace the chart creates, count the databases it expects, and list each component it deploys as a separate workload. Compare that list with the three Security Server databases and the split components in this guide, and update your runbook wherever they differ. A layout change between beta builds can alter backup scope and network policy, so repeat the check on every rebuild.

Confirm HSM and LDAP support

X-Road supports hardware security modules through PKCS#11 drivers in the xroad-addon-hwtokens package. Admin users authenticate through PAM, which can reach LDAP through SSSD with groups mapped to X-Road roles. Those features are documented for the version 6 line, so confirm with NIIS which HSM drivers, key types and LDAP admin paths the 8.0 line supports before you plan key ceremonies or directory integration. If either feature is missing, admin access and signing keys stay on the supported path until it is available.

Check Kubernetes versions against releases

Match the chart's supported Kubernetes versions against the X-Road releases page and the Kubernetes release schedule before you choose a cluster version. Kubernetes maintains only the three most recent minor releases, and each has a fixed end-of-life date. A version that is current today may leave support during a 2027 production window. Confirm the chart's version range, then plan a cluster upgrade path that keeps the Security Server on a version both projects support.

Kubernetes releases

Record the pinned OpenBao version

The chart pins a specific OpenBao version for the secret store, so write that version into your change record before the first install. OpenBao v2.7.0 was released on September 23, 2026 and v2.7.1 on October 1, 2026, so a pin set during the beta may already trail the current patch line. Compare the pin with the OpenBao releases page, name the team that reviews patches, and note the storage backend you chose, since PostgreSQL and integrated storage carry different operating duties.

OpenBao releases

What buyers ask before installing an X-Road 8 Security Server on Kubernetes

How much does it cost to install an X-Road 8 Security Server on Kubernetes?

No single price applies, because the cost follows the written scope. DeployOpen does not publish a price list, and a quote is built from the scope agreed in writing before work starts. The main drivers are how ready your cluster is (existing Kubernetes, storage classes, ingress and network policy), whether PostgreSQL is an existing managed service or must be built, how OpenBao is set up (single instance or highly available), how much testing and retesting is included, and how many Security Servers are in scope. Design, installation, configuration and handover are one-time work. Upgrades, monitoring and support are usually recurring and may be priced as a retainer. Ask for a quote that lists each component, each environment covered and the acceptance tests.

How long does an X-Road 8 Kubernetes installation take?

The duration depends on the same drivers as cost, plus the confirmation work that must finish before the build starts. No fixed timeline applies across installations, so the schedule should come from the written scope. Steps that most often extend it include getting cluster access and change approvals, agreeing on the PostgreSQL instance and backup policy, confirming OpenBao initialization and unseal procedures with the people who will hold the keys, and settling the ecosystem details your X-Road operator publishes for members. Testing in a non-production environment is a separate phase that adds time. Ask for a timeline that shows which steps wait on your teams, so you can see where delays would start.

What does our team need to provide for the installation?

Plan for four groups of people and name an owner in each before work starts. Cluster administrators provide the namespace, node capacity, storage classes, ingress, network policy and access for the installer. A PostgreSQL owner provides the databases for the Security Server and OpenBao storage, along with backup and restore responsibilities. The network team opens the ports the Security Server documents, including TCP 5500 and 5577 from external networks and TCP 4000 plus 8080 or 8443 from internal networks, and sets up routing to your information systems. The identity team covers admin access, including LDAP groups mapped to X-Road roles through PAM and SSSD if you use them. Your X-Road operator or ecosystem contact confirms the ecosystem details the Security Server must join.

Can an internal team install X-Road 8 on Kubernetes without a partner?

Yes, if your team already runs Kubernetes, PostgreSQL and OpenBao in production and has people who can operate each of them. The Helm-based install combines those three layers, and most failures happen at their boundaries: a database without tested backups, an OpenBao instance that cannot be unsealed during an incident, or a cluster whose Kubernetes version falls outside the skew your release supports. Because X-Road 8 is in beta, expect changes between builds. Test in an isolated environment first, keep the upgrade path to the production release in view, and confirm with your X-Road operator which build to use. A team new to any of the three layers should train first or bring in a partner for the initial build and handover.

Should we run X-Road 8 in production now?

No, not without a documented confirmation from your X-Road operator and passing tests in your own environment. X-Road 8 "Spaceship" is available for testing as 8.0.0 Beta 2, and the production release is scheduled for December 2026. Treat the beta as a test build for validating services, and do not carry live message exchange on it. Before go-live, confirm which build will ship, whether the Helm chart and component set change, what the upgrade path from 7.8 requires, and whether the Central Server and other members in your ecosystem run compatible versions. Then run a full exchange test, a backup and restore test and a rollback rehearsal. Keep your current X-Road servers running until those tests pass. Check the X-Road releases page for the current status.

Does DeployOpen issue audit reports for this installation?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, configuration and evidence for compliance assessments, such as documented architecture, role assignments, logging settings, backup records and test results, so that your independent auditor or certification body can review them. The auditor or certification body issues any report. Ask the partner which evidence it will hand over, in what format, and which controls each item supports. The assessment scope depends on which systems and data flow through X-Road, so confirm that boundary with your assessor early.

Which checks should we run before accepting the installation?

Accept the installation only after each check below passes and its result is recorded with the chart and image versions used. The checks cover the following areas:

  • Pod readiness across the namespace, including recovery after a node drain
  • Database connectivity, role separation and a tested restore of each database
  • OpenBao seal status, the unseal procedure and a tested backup of its storage
  • Message exchange on the external port and admin access on the internal port, from the networks you planned
  • Logs and alerts reaching your monitoring stack

Ask the partner to put these checks into a written acceptance test list before work starts, so that pass and fail criteria are agreed before the build begins.

How DeployOpen scopes and delivers an X-Road 8 Kubernetes install

DeployOpen plans and builds the X-Road 8 Security Server on Kubernetes inside your own cluster, with the namespace, OpenBao, the three Security Server databases and the split components agreed before work starts. Because X-Road 8 is still in beta, the scope fixes the exact release under test and what changes when the production release follows.

How we scope

  • The written scope names the X-Road 8 beta build, the Kubernetes distribution and the cluster your team owns.
  • Scope lists the namespace, OpenBao with PostgreSQL storage, and the three Security Server databases to be created.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Helm values are set per environment, covering the namespace, OpenBao storage and the Security Server database connections.
  • The split Security Server components are deployed, and their connections to OpenBao and PostgreSQL are tested before handover.
  • Firewall rules follow the documented ports, such as TCP 5500 for message exchange.

How we hand over

  • Handover includes the Helm values, runbooks for OpenBao initialization and unsealing, and database backup steps.
  • Documentation covers the install as built, with the versions, ports and database layout your team will operate.
  • Your team receives a walkthrough of the deployed components and a list of open items to confirm before production.

How we support

  • Retainers can cover upgrades when X-Road 8 moves from beta to the production release scheduled for December 2026.
  • Support can include Kubernetes minor version upgrades, OpenBao upgrades and Security Server patches, scoped in writing.
  • Security testing of the deployment can be added to a retainer, scoped in writing like the original build.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.