Skip to content

Instantly share code, notes, and snippets.

@ryanberckmans
Created December 16, 2017 22:44
Show Gist options
  • Save ryanberckmans/80067e3e7eab9459ec3676367fe07444 to your computer and use it in GitHub Desktop.
Save ryanberckmans/80067e3e7eab9459ec3676367fe07444 to your computer and use it in GitHub Desktop.
Kubernetes deployment for Ethereum lightserve node
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: geth
labels:
app: geth
spec:
replicas: 1
selector:
matchLabels:
app: geth
template:
metadata:
labels:
app: geth
spec:
containers:
- name: geth
image: ethereum/client-go
args: ["--lightserv=80", "--lightpeers=20"]
ports:
- containerPort: 30303
@actuallymentor
Copy link

actuallymentor commented Dec 31, 2017

Is there a tutorial on how to put this online for first time kubernetes users?

EDIT: Found in reddit link.

If someone reading this wants to help, it's easy to get started on google cloud:

create a google cloud account with your gmail
create a Kubernetes Engine cluster in a few clicks. Smallest is about $5/month but first year is free.
get kubectl setup on your local macbook according to google's instructions
run kubectl apply -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment