Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cryptcoin-junkey/67de4503e247ce1a9e0c7df3f8789dc4 to your computer and use it in GitHub Desktop.
Save cryptcoin-junkey/67de4503e247ce1a9e0c7df3f8789dc4 to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
labels:
run: lightning-mona
name: lightning-mona
namespace: lightning
spec:
podManagementPolicy: OrderedReady
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
run: lightning-mona
serviceName: lightning-mona
template:
metadata:
labels:
run: lightning-mona
spec:
containers:
- command:
- /entrypoint.sh
- --port=9735
- --network=monacoin
- --log-level=debug
- --max-locktime-blocks=4806
- --override-fee-rates=1000/1000/1000
#TODO: Change the value of the next line.
image: gcr.io/perfect-entry-176506/github-monaco-ex-cdecker-dockerfiles:ffc3aac4427c3c96b8707717ce4e7b7789baa186
imagePullPolicy: Always
name: lightning-mona
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /root
name: data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
updateStrategy:
type: OnDelete
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: ssd
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment