Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ metadata:
app.kubernetes.io/part-of: starship
data:
osmosis-1.json: >-
{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1313","rpc":["http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}
{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://localhost:1313","rpc":["http://localhost:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ spec:
mountPath: /explorer
resources:
limits:
cpu: '0.2'
memory: 512Mi
cpu: '1'
memory: 2Gi
requests:
cpu: '0.2'
memory: 512Mi
cpu: '1'
memory: 2Gi
volumes:
- name: explorer-config
configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,25 @@ spec:
containerPort: 9090
env:
- name: REGISTRY_CHAIN_CLIENT_RPCS
value: http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657
value: http://localhost:26653
- name: REGISTRY_CHAIN_API_RPCS
value: http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657
value: http://localhost:26653
- name: REGISTRY_CHAIN_API_GRPCS
value: http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:9091
- name: REGISTRY_CHAIN_API_RESTS
value: http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1317
value: http://localhost:1313
- name: REGISTRY_CHAIN_CLIENT_EXPOSERS
value: http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:8081
volumeMounts:
- name: chain-osmosis-1
mountPath: /chains/osmosis-1
resources: {}
resources:
limits:
cpu: '0.2'
memory: 200M
requests:
cpu: '0.2'
memory: 200M
readinessProbe:
httpGet:
path: /health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ metadata:
app.kubernetes.io/part-of: starship
data:
osmosis-1.json: >-
{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1313","rpc":["http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}
{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://localhost:1313","rpc":["http://localhost:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}
cosmoshub-4.json: >-
{"chain_name":"cosmoshub-4","coingecko":"cosmoshub","api":"http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:1317","rpc":["http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:26657"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"cosmos","logo":"","assets":[{"base":"uatom","symbol":"COSMOS","exponent":"6","coingecko_id":"cosmoshub-4","logo":""}]}
{"chain_name":"cosmoshub-4","coingecko":"cosmoshub","api":"http://localhost:1317","rpc":["http://localhost:26657"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"cosmos","logo":"","assets":[{"base":"uatom","symbol":"COSMOS","exponent":"6","coingecko_id":"cosmoshub-4","logo":""}]}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ spec:
spec:
containers:
- name: explorer
image: ghcr.io/cosmology-tech/starship/ping-pub:latest
image: >-
ghcr.io/cosmology-tech/starship/ping-pub:6b7b0d096946b6bcd75d15350c7345da0d4576db
imagePullPolicy: IfNotPresent
env:
- name: CHAINS_CONFIG_PATH
Expand All @@ -45,11 +46,11 @@ spec:
mountPath: /explorer
resources:
limits:
cpu: '0.2'
memory: 512Mi
cpu: '1'
memory: 2Gi
requests:
cpu: '0.2'
memory: 512Mi
cpu: '1'
memory: 2Gi
volumes:
- name: explorer-config
configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,14 @@ spec:
containerPort: 9090
env:
- name: REGISTRY_CHAIN_CLIENT_RPCS
value: >-
http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:26657
value: http://localhost:26653,http://localhost:26657
- name: REGISTRY_CHAIN_API_RPCS
value: >-
http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:26657
value: http://localhost:26653,http://localhost:26657
- name: REGISTRY_CHAIN_API_GRPCS
value: >-
http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:9091,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:9091
- name: REGISTRY_CHAIN_API_RESTS
value: >-
http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1317,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:1317
value: http://localhost:1313,http://localhost:1317
- name: REGISTRY_CHAIN_CLIENT_EXPOSERS
value: >-
http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:8081,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:8081
Expand All @@ -50,7 +47,13 @@ spec:
mountPath: /chains/osmosis-1
- name: chain-cosmoshub-4
mountPath: /chains/cosmoshub-4
resources: {}
resources:
limits:
cpu: '0.2'
memory: 200M
requests:
cpu: '0.2'
memory: 200M
readinessProbe:
httpGet:
path: /health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8574,8 +8574,8 @@ echo "Validator initialization completed"",
"explorer/configmap.yaml": {
"apiVersion": "v1",
"data": {
"cosmoshub-4.json": "{"chain_name":"cosmoshub-4","coingecko":"cosmoshub","api":"http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:1317","rpc":["http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:26657"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"cosmos","logo":"","assets":[{"base":"uatom","symbol":"COSMOS","exponent":"6","coingecko_id":"cosmoshub-4","logo":""}]}",
"osmosis-1.json": "{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1313","rpc":["http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}",
"cosmoshub-4.json": "{"chain_name":"cosmoshub-4","coingecko":"cosmoshub","api":"http://localhost:1317","rpc":["http://localhost:26657"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"cosmos","logo":"","assets":[{"base":"uatom","symbol":"COSMOS","exponent":"6","coingecko_id":"cosmoshub-4","logo":""}]}",
"osmosis-1.json": "{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://localhost:1313","rpc":["http://localhost:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}",
},
"kind": "ConfigMap",
"metadata": {
Expand Down Expand Up @@ -8636,7 +8636,7 @@ echo "Validator initialization completed"",
"value": "/explorer",
},
],
"image": "ghcr.io/cosmology-tech/starship/ping-pub:latest",
"image": "ghcr.io/cosmology-tech/starship/ping-pub:6b7b0d096946b6bcd75d15350c7345da0d4576db",
"imagePullPolicy": "IfNotPresent",
"name": "explorer",
"ports": [
Expand All @@ -8648,12 +8648,12 @@ echo "Validator initialization completed"",
],
"resources": {
"limits": {
"cpu": "0.2",
"memory": "512Mi",
"cpu": "1",
"memory": "2Gi",
},
"requests": {
"cpu": "0.2",
"memory": "512Mi",
"cpu": "1",
"memory": "2Gi",
},
},
"volumeMounts": [
Expand Down Expand Up @@ -10372,19 +10372,19 @@ echo "Validator initialization completed"",
"env": [
{
"name": "REGISTRY_CHAIN_CLIENT_RPCS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:26657",
"value": "http://localhost:26653,http://localhost:26657",
},
{
"name": "REGISTRY_CHAIN_API_RPCS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:26657",
"value": "http://localhost:26653,http://localhost:26657",
},
{
"name": "REGISTRY_CHAIN_API_GRPCS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:9091,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:9091",
},
{
"name": "REGISTRY_CHAIN_API_RESTS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1317,http://cosmoshub-4-genesis.$(NAMESPACE).svc.cluster.local:1317",
"value": "http://localhost:1313,http://localhost:1317",
},
{
"name": "REGISTRY_CHAIN_CLIENT_EXPOSERS",
Expand Down Expand Up @@ -10419,7 +10419,16 @@ echo "Validator initialization completed"",
"initialDelaySeconds": 5,
"periodSeconds": 10,
},
"resources": {},
"resources": {
"limits": {
"cpu": "0.2",
"memory": "200M",
},
"requests": {
"cpu": "0.2",
"memory": "200M",
},
},
"volumeMounts": [
{
"mountPath": "/chains/osmosis-1",
Expand Down Expand Up @@ -11807,7 +11816,7 @@ $CHAIN_BIN tendermint show-node-id
"explorer/configmap.yaml": {
"apiVersion": "v1",
"data": {
"osmosis-1.json": "{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1313","rpc":["http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}",
"osmosis-1.json": "{"chain_name":"osmosis-1","coingecko":"osmosis","api":"http://localhost:1313","rpc":["http://localhost:26653"],"snapshot_provider":"","sdk_version":"0.45.6","coin_type":118,"min_tx_fee":"3000","addr_prefix":"osmo","logo":"","assets":[{"base":"uosmo","symbol":"OSMO","exponent":"6","coingecko_id":"osmosis-1","logo":""}]}",
},
"kind": "ConfigMap",
"metadata": {
Expand Down Expand Up @@ -11880,12 +11889,12 @@ $CHAIN_BIN tendermint show-node-id
],
"resources": {
"limits": {
"cpu": "0.2",
"memory": "512Mi",
"cpu": "1",
"memory": "2Gi",
},
"requests": {
"cpu": "0.2",
"memory": "512Mi",
"cpu": "1",
"memory": "2Gi",
},
},
"volumeMounts": [
Expand Down Expand Up @@ -13249,19 +13258,19 @@ $CHAIN_BIN tendermint show-node-id
"env": [
{
"name": "REGISTRY_CHAIN_CLIENT_RPCS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657",
"value": "http://localhost:26653",
},
{
"name": "REGISTRY_CHAIN_API_RPCS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:26657",
"value": "http://localhost:26653",
},
{
"name": "REGISTRY_CHAIN_API_GRPCS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:9091",
},
{
"name": "REGISTRY_CHAIN_API_RESTS",
"value": "http://osmosis-1-genesis.$(NAMESPACE).svc.cluster.local:1317",
"value": "http://localhost:1313",
},
{
"name": "REGISTRY_CHAIN_CLIENT_EXPOSERS",
Expand Down Expand Up @@ -13296,7 +13305,16 @@ $CHAIN_BIN tendermint show-node-id
"initialDelaySeconds": 5,
"periodSeconds": 10,
},
"resources": {},
"resources": {
"limits": {
"cpu": "0.2",
"memory": "200M",
},
"requests": {
"cpu": "0.2",
"memory": "200M",
},
},
"volumeMounts": [
{
"mountPath": "/chains/osmosis-1",
Expand Down
88 changes: 88 additions & 0 deletions packages/packages/generator/configs/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1011,3 +1011,91 @@ defaultFaucet:

defaultCometmock:
image: ghcr.io/informalsystems/cometmock:v0.37.x

images:
imagePullPolicy: IfNotPresent

resources:
node:
# Default values for resources for chain and validator nodes
# Preference would be given to the resources directive in chain/relayer
cpu: "0.5"
memory: "500M"
wait:
cpu: "0.1"
memory: "100M"

exposer:
image: ghcr.io/hyperweb-io/starship/exposer:20250205-544757d
ports:
rest: 8081
resources:
cpu: "0.2"
memory: "200M"

# Chain timeouts
timeouts:
time_iota_ms: 10
timeout_propose: 400ms
timeout_propose_delta: 400ms
timeout_prevote: 400ms
timeout_prevote_delta: 400ms
timeout_precommit: 400ms
timeout_precommit_delta: 400ms
timeout_commit: 800ms


explorer:
# Flag to enable explorer for cluster
enabled: false
type: ping-pub
image: ghcr.io/cosmology-tech/starship/ping-pub:6b7b0d096946b6bcd75d15350c7345da0d4576db
localhost: true
ports:
rest: 8080
# Currently the ping-pub explorer is using alot of memory dues to building the site
# at runtime (with custom configs). Anything bellow 2Gi will crash the pods on startup
# todo: make this more efficient with faster startuptime
resources:
cpu: "1"
memory: "2Gi"

registry:
enabled: false
image: ghcr.io/hyperweb-io/starship/registry:20250205-544757d
localhost: true
ports:
rest: 6060
grpc: 7070
resources:
cpu: "0.2"
memory: "200M"

faucet:
enabled: true
type: starship
ports:
rest: 8000
resources:
cpu: "0.2"
memory: "200M"

# monitoring directive is used to setup prometheus and grafana dashboard,
# connected to all chains, relayers and k8s apis itself
monitoring:
enabled: false
ports:
prometheus: 8011
grafana: 9011
resources:
cpu: "0.2"
memory: "400M"

ingress:
enabled: false
type: nginx
# host must be a wildcard entry, so that we can use the wildcard to create
# service specific ingress rules
host: "*.thestarship.io"
certManager:
issuer: "cert-issuer"
Loading