pyrsia-node

by pyrsiaoss

Helm chartv0.2.5+3101App 0.2.5+3101Verified publisher

Pyrsia Decentralized Package Network

About this chart

Pyrsia

Microservice Configuration Management - Track, Version, Find, Share and Deploy Microservices

Overview of Pyrsia

Setup and Installation Instructions

Introduction

This chart deploys all of the required secrets, services, and deployments on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+

Installing the Chart

To install the chart with the release name node1:

kubectl create namespace pyrsia-node
helm repo add pyrsiaoss https://helmrepo.pyrsia.io/repos/nightly
helm repo update
helm upgrade --install node1 -n pyrsia-node pyrsiaoss/pyrsia-node --version "0.2.4+3003"

Further details on deploying to multiple cloud providers

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the pyrsia deployment:

helm delete pyrsia -n pyrsia

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Common parameters

NameDescriptionValue
domainDNS Name for the nodesdefault: pyrsia.link
bootdnsURL for the Build Nodedefault: boot.pyrsia.link
buildnodeURL for the Build Node
keys.p2ped25519.ser for the libp2pdefault will auto generate a key pair
keys.blockchained25519.ser for the libp2pdefault will auto generate a key pair

NOTE: Once this chart is deployed, it is not possible to change the application's access credentials, such as usernames or passwords, using Helm. To change these application credentials after deployment, delete any persistent volumes (PVs) used by the chart and re-deploy it, or use the application's built-in administrative tools if available.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm upgrade --install pyrsia -n pyrsia -f values.yaml pyrsiaoss/pyrsia-node

Deploy pyrsia-node with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pyrsia-node 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 chartpyrsia-node is pinned at v0.2.5+3101 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