Skip to content

Commit

Permalink
Update daemons.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
duddu committed Jun 12, 2023
1 parent 4c45415 commit 041bbc5
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions config/k8s/deployments/daemons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,41 +41,41 @@ spec:
timeoutSeconds: 20
periodSeconds: 120
failureThreshold: 3
- name: monero
image: ghcr.io/duddu/home-server-monero
imagePullPolicy: Always
ports:
- containerPort: 18082
hostPort: 18082
protocol: TCP
env:
- name: MONERO_RPC_LOGIN
valueFrom:
secretKeyRef:
name: monero
key: rpc_login
optional: false
- name: MONERO_PEERS
valueFrom:
secretKeyRef:
name: monero
key: tor_peers
optional: false
resources:
requests:
cpu: "1000m"
memory: "2048Mi"
volumeMounts:
- mountPath: /root/monero
name: nfs-monero-pvc
livenessProbe:
exec:
command:
- monero-healthcheck.sh
initialDelaySeconds: 600
timeoutSeconds: 120
periodSeconds: 600
failureThreshold: 3
# - name: monero
# image: ghcr.io/duddu/home-server-monero
# imagePullPolicy: Always
# ports:
# - containerPort: 18082
# hostPort: 18082
# protocol: TCP
# env:
# - name: MONERO_RPC_LOGIN
# valueFrom:
# secretKeyRef:
# name: monero
# key: rpc_login
# optional: false
# - name: MONERO_PEERS
# valueFrom:
# secretKeyRef:
# name: monero
# key: tor_peers
# optional: false
# resources:
# requests:
# cpu: "1000m"
# memory: "2048Mi"
# volumeMounts:
# - mountPath: /root/monero
# name: nfs-monero-pvc
# livenessProbe:
# exec:
# command:
# - monero-healthcheck.sh
# initialDelaySeconds: 600
# timeoutSeconds: 120
# periodSeconds: 600
# failureThreshold: 3
dnsPolicy: ClusterFirst
hostname: home-server-daemons
restartPolicy: Always
Expand All @@ -86,6 +86,6 @@ spec:
- name: nfs-i2p-pvc
persistentVolumeClaim:
claimName: nfs-i2p
- name: nfs-monero-pvc
persistentVolumeClaim:
claimName: nfs-monero
# - name: nfs-monero-pvc
# persistentVolumeClaim:
# claimName: nfs-monero

0 comments on commit 041bbc5

Please sign in to comment.