Skip to content

Commit

Permalink
cleanup & verify
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Nov 30, 2023
1 parent 4158a3d commit e429fbb
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 91 deletions.
8 changes: 1 addition & 7 deletions charts/chainlink-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,4 @@ apiVersion: v1
name: chainlink-cluster
description: Chainlink nodes cluster
version: 0.1.3
appVersion: "2.6.0"

dependencies:
- name: mockserver
version: "5.14.0"
repository: "@mockserver"
condition: mockserver.enabled
appVersion: "2.6.0"
6 changes: 3 additions & 3 deletions charts/chainlink-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ After that all the changes will be synced automatically
Check `.profiles` to understand what is uploaded in profiles `runner` and `node`

# Helm
If you would like to use `helm` directly, please uncomment data in `values-raw-helm.yaml`
If you would like to use `helm` directly, please uncomment data in `values.yaml`
## Install from local files
```
helm install -f values-raw-helm.yaml cl-cluster .
helm install -f values.yaml cl-cluster .
```
Forward all apps (in another terminal)
```
Expand All @@ -99,7 +99,7 @@ kubectl config set-context --current --namespace cl-cluster

Install
```
helm install -f values-raw-helm.yaml cl-cluster chainlink-cluster/chainlink-cluster --version v0.1.2
helm install -f values.yaml cl-cluster .
```

## Create a new release
Expand Down
109 changes: 32 additions & 77 deletions charts/chainlink-cluster/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,38 @@ deployments:
- name: node-1
image: ${DEVSPACE_IMAGE}
version: latest
# override default config per node
# for example, use OCRv2 P2P setup, the whole config
# toml: |
# RootDir = './clroot'
# [Log]
# JSONConsole = true
# Level = 'debug'
# [WebServer]
# AllowOrigins = '*'
# SecureCookies = false
# SessionTimeout = '999h0m0s'
# [OCR2]
# Enabled = true
# [P2P]
# [P2P.V2]
# Enabled = false
# AnnounceAddresses = []
# DefaultBootstrappers = []
# DeltaDial = '15s'
# DeltaReconcile = '1m0s'
# ListenAddresses = []
# [[EVM]]
# ChainID = '1337'
# MinContractPayment = '0'
# [[EVM.Nodes]]
# Name = 'node-0'
# WSURL = 'ws://geth:8546'
# HTTPURL = 'http://geth:8544'
# [WebServer.TLS]
# HTTPSPort = 0
# or use overridesToml to override some part of configuration
# overridesToml: |
- name: node-2
image: ${DEVSPACE_IMAGE}
version: latest
Expand Down Expand Up @@ -192,83 +224,6 @@ deployments:
nodeSelector:
tolerations:
affinity:
# podSecurityContext:
# fsGroup: 999
# runner:
# image: ${DEVSPACE_IMAGE}
# stateful: false
# geth:
# podSecurityContext:
# fsGroup: 999
# securityContext:
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: false
# runAsNonRoot: true
# runAsUser: 999
# runAsGroup: 999
# version: v1.12.0
# wsrpc-port: 8546
# httprpc-port: 8544
# networkid: 1337
# blocktime: 1
# mockserver:
# enabled: true
# releasenameOverride: mockserver
# app:
# runAsUser: 999
# readOnlyRootFilesystem: false
# port: 1080
# db:
# podSecurityContext:
# fsGroup: 999
# securityContext:
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: false
# runAsNonRoot: true
# runAsUser: 999
# runAsGroup: 999
# stateful: false
# chainlink:
# podSecurityContext:
# fsGroup: 14933
# securityContext:
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: false
# runAsNonRoot: true
# runAsUser: 14933
# runAsGroup: 14933
# web_port: 6688
# p2p_port: 6690
# nodes:
# - name: node-1
# image: ${DEVSPACE_IMAGE}
# version: latest
# - name: node-2
# image: ${DEVSPACE_IMAGE}
# version: latest
# - name: node-3
# image: ${DEVSPACE_IMAGE}
# version: latest
# - name: node-4
# image: ${DEVSPACE_IMAGE}
# version: latest
# - name: node-5
# image: ${DEVSPACE_IMAGE}
# version: latest
# - name: node-6
# image: ${DEVSPACE_IMAGE}
# version: latest
# prometheusMonitor: "true"
# podAnnotations: {}
# nodeSelector: {}
# tolerations: []
# affinity: {}

profiles:
# this replaces only "runner" pod, usable when you'd like to run some system level tests inside k8s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ chainlink:
nodes:
- name: node-1
image: "public.ecr.aws/chainlink/chainlink:latest"
# override default config per node
# for example, use OCRv2 P2P setup, the whole config
# override default config per node
# for example, use OCRv2 P2P setup, the whole config
# toml: |
# RootDir = './clroot'
# [Log]
Expand Down Expand Up @@ -56,8 +56,8 @@ chainlink:
# HTTPURL = 'http://geth:8544'
# [WebServer.TLS]
# HTTPSPort = 0
# or use overridesToml to override some part of configuration
# overridesToml: |
# or use overridesToml to override some part of configuration
# overridesToml: |
- name: node-2
- name: node-3
- name: node-4
Expand Down

0 comments on commit e429fbb

Please sign in to comment.