Files
dexorder/deploy/k8s/arb1.yaml

45 lines
1.0 KiB
YAML

---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: arb1
spec:
replicas: 1
serviceName: arb1
selector:
matchLabels:
app: arb1
template:
metadata:
labels:
app: arb1
spec:
terminationGracePeriodSeconds: 120
nodeSelector:
arb1: 'true'
tolerations:
- key: arb1
value: 'true'
containers:
- name: arb1
image: offchainlabs/nitro-node:v3.2.1-d81324d
command: [
'--init.latest=archive',
'--parent-chain.connection.url=https://eth-mainnet.g.alchemy.com/v2/Ns3gyYixF9sHKT54_ZOrzXzdG5GOqUSS',
]
volumeMounts:
- name: arb1
mountPath: /arb1
resources:
requests:
cpu: '3'
memory: '12GB'
volumeClaimTemplates:
- metadata:
name: arb1
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: retained-resizable
resources:
requests:
storage: 600Gi