pyrsia-node
by pyrsiaoss
Pyrsia Decentralized Package Network
About this chart
Pyrsia
Microservice Configuration Management - Track, Version, Find, Share and Deploy Microservices
Setup and Installation Instructions
- Google - GKE
- AWS - EKS
- Oracle - OCI: Work in progress
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
| Name | Description | Value |
|---|---|---|
domain | DNS Name for the nodes | default: pyrsia.link |
bootdns | URL for the Build Node | default: boot.pyrsia.link |
buildnode | URL for the Build Node | |
keys.p2p | ed25519.ser for the libp2p | default will auto generate a key pair |
keys.blockchain | ed25519.ser for the libp2p | default 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpyrsia-node is pinned at v0.2.5+3101 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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