Skip to content

Commit

Permalink
try multiplanetary
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiker committed Jan 21, 2025
1 parent 1f6bcea commit 23fba2d
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 0 deletions.
17 changes: 17 additions & 0 deletions gke-ninechronicles-internal/multiplanetary/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: multiplanetary
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: argocd
source:
repoURL: https://github.com/planetarium/9c-infra.git
targetRevision: gke
path: charts/multiplanetary
helm:
valueFiles:
- ../../gke-ninechronicles-internal/multiplanetary/values.yaml
15 changes: 15 additions & 0 deletions gke-ninechronicles-internal/multiplanetary/network/general.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
clusterName: ninechronicles-internal-test-1

global:
image:
repository: planetariumhq/ninechronicles-headless
tag: "git-5681ee3a468d8c550d70e0ebed6eb530a5caf82a"

service:
annotations:

seed:
image:
repository: planetariumhq/libplanet-seed
pullPolicy: Always
tag: "git-67d0ef91c52a71a9772cd7fdb241c9fc37b165b8"
94 changes: 94 additions & 0 deletions gke-ninechronicles-internal/multiplanetary/network/odin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
logLevel: "debug"

global:
validatorPath: "validator-5.9c-network.svc.cluster.local"
genesisBlockPath: "https://release.nine-chronicles.com/genesis-block-9c-main"
trustedAppProtocolVersionSigner: "02529a61b9002ba8f21c858224234af971e962cac9bd7e6b365e71e125c6463478"
headlessAppsettingsPath: "https://9c-cluster-config.s3.us-east-2.amazonaws.com/9c-internal/odin/appsettings.json"

appProtocolVersion: "200190/54684Ac4ee5B933e72144C4968BEa26056880d71/MEUCIQCNQmMSk4nnbOXSpe9yk0Q2ecyoQYrnZpQxmMeVz+Ve0wIgb9v1jf4R6DL8iikurLgzH9gYQJ+zvEBsEqQqmS55nPc=/ZHU5OnRpbWVzdGFtcHUxMDoyMDI0LTA2LTE3ZQ=="

peerStrings:
- "033369e95dbfd970dd9a7b4df31dcf5004d7cfd63289d26cc42bbdd01e25675b6f,tcp-seed-1.9c-network.svc.cluster.local,31234"

iceServers:
- "turn://0ed3e48007413e7c2e638f13ddd75ad272c6c507e081bd76a75e4b7adc86c9af:0apejou+ycZFfwtREeXFKdfLj2gCclKzz5ZJ49Cmy6I=@turn-us.planetarium.dev:3478"

networkType: Internal
planet: OdinInternal
consensusType: pbft

resetSnapshot: true
rollbackSnapshot: false

externalSecret:
enabled: true

ingress:
enabled: false

gateway:
enabled: true
services:
- name: remote-headless
hostnames:
- odin-internal-gke-rpc.nine-chronicles.com
backendRefs:
- name: remote-headless-1
protocols:
- web
- grpc

snapshot:
downloadSnapshot: true
slackChannel: "9c-internal"
image: "planetariumhq/ninechronicles-snapshot:git-45205b5ed6d978bb0dda6ad0b84fb0a393015711"
partition:
enabled: false
suspend: true
path: internal
nodeSelector:

# if you want to delete PVC with the volume provisioned together, set this value "Delete"
volumeReclaimPolicy: "Retain"

seed:
count: 1
useTurnServer: false
image:
repository: planetariumhq/libplanet-seed
pullPolicy: Always # Overrides the image tag whose default is the chart appVersion.

hosts:
- "odin-internal-gke-tcp-seed-1.nine-chronicles.com"

nodeSelector:

remoteHeadless:
image:
repository: planetariumhq/ninechronicles-headless
pullPolicy: Always

hosts:
- "odin-internal-gke-rpc-1.nine-chronicles.com"

ports:
headless: 31234
graphql: 80
rpc: 31238

storage:
data: 500Gi

resources:
requests:
cpu: 1
memory: 12Gi

nodeSelector:

loggingEnabled: true

extraArgs:
- --tx-quota-per-signer=1
- --remote-key-value-service
6 changes: 6 additions & 0 deletions gke-ninechronicles-internal/multiplanetary/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
clusterName: "ninechronicles-internal-test-1"

path: "gke-ninechronicles-internal/multiplanetary"

network:
- "odin"

0 comments on commit 23fba2d

Please sign in to comment.