> For the complete documentation index, see [llms.txt](https://docs.hypertensor.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hypertensor.org/build-a-subnet-1/upgrading-p2p-layer.md).

# Upgrading P2P Layer

Upgrading the P2P layer of the subnet to fix bugs or make general updates requires each node to restart its node.

It is suggested to use a blue-green deployment strategy by gradually migrating connections to the new version with no breaking changes.

Optionally, subnets can utilize Docker/Kubernetes/Systemd for rolling updates that automatically handle the restarting of nodes to the newest version.
