| 
									
										
										
										
											2025-09-10 19:42:15 +03:00
										 |  |  | ---
 | 
					
						
							|  |  |  | apiVersion: apps/v1
 | 
					
						
							|  |  |  | kind: Deployment
 | 
					
						
							|  |  |  | metadata:
 | 
					
						
							|  |  |  |   name: greece-notifier
 | 
					
						
							|  |  |  | spec:
 | 
					
						
							|  |  |  |   replicas: 1
 | 
					
						
							|  |  |  |   selector:
 | 
					
						
							|  |  |  |     matchLabels:
 | 
					
						
							|  |  |  |       app: greece-notifier
 | 
					
						
							|  |  |  |   template:
 | 
					
						
							|  |  |  |     metadata:
 | 
					
						
							|  |  |  |       labels:
 | 
					
						
							|  |  |  |         app: greece-notifier
 | 
					
						
							|  |  |  |     spec:
 | 
					
						
							|  |  |  |       nodeSelector:
 | 
					
						
							|  |  |  |         kubernetes.io/hostname: nas.homenet
 | 
					
						
							|  |  |  |       volumes:
 | 
					
						
							|  |  |  |         - name: data
 | 
					
						
							|  |  |  |           nfs:
 | 
					
						
							|  |  |  |             server: nas.homenet
 | 
					
						
							|  |  |  |             path: /mnt/storage/Storage/k8s/greece-notifier/
 | 
					
						
							|  |  |  |             readOnly: false
 | 
					
						
							|  |  |  |       containers:
 | 
					
						
							|  |  |  |         - name: greece-notifier
 | 
					
						
							|  |  |  |           image: ultradesu/greece-notifier:master
 | 
					
						
							| 
									
										
										
										
											2025-09-10 22:44:54 +00:00
										 |  |  |           imagePullPolicy: Always
 | 
					
						
							| 
									
										
										
										
											2025-09-10 19:42:15 +03:00
										 |  |  |           resources:
 | 
					
						
							|  |  |  |             requests:
 | 
					
						
							|  |  |  |               cpu: "100m"
 | 
					
						
							|  |  |  |               memory: "256Mi"
 | 
					
						
							|  |  |  |             limits:
 | 
					
						
							|  |  |  |               cpu: "2000m"
 | 
					
						
							|  |  |  |               memory: "1Gi"
 | 
					
						
							|  |  |  |           volumeMounts:
 | 
					
						
							|  |  |  |             - name: data
 | 
					
						
							|  |  |  |               mountPath: /data
 | 
					
						
							|  |  |  |           env:
 | 
					
						
							| 
									
										
										
										
											2025-09-10 19:44:59 +03:00
										 |  |  |             - name: RUST_LOG
 | 
					
						
							|  |  |  |               value: "info"
 | 
					
						
							| 
									
										
										
										
											2025-09-10 19:42:15 +03:00
										 |  |  |             - name: ENDPOINT_BID
 | 
					
						
							| 
									
										
										
										
											2025-09-10 19:43:43 +03:00
										 |  |  |               value: "56" # Cyprus id
 | 
					
						
							| 
									
										
										
										
											2025-09-10 22:48:48 +00:00
										 |  |  |             - name: UPDATE_INTERVAL_MIN_SECS
 | 
					
						
							| 
									
										
										
										
											2025-09-10 22:48:10 +00:00
										 |  |  |               value: "270"
 | 
					
						
							| 
									
										
										
										
											2025-09-10 22:48:48 +00:00
										 |  |  |             - name: UPDATE_INTERVAL_MAX_SECS
 | 
					
						
							| 
									
										
										
										
											2025-09-10 22:48:10 +00:00
										 |  |  |               value: "350"
 | 
					
						
							| 
									
										
										
										
											2025-09-10 19:42:15 +03:00
										 |  |  |             - name: TELOXIDE_TOKEN
 | 
					
						
							|  |  |  |               valueFrom:
 | 
					
						
							|  |  |  |                 secretKeyRef:
 | 
					
						
							|  |  |  |                   name: greece-notifier-creds
 | 
					
						
							|  |  |  |                   key: TELOXIDE_TOKEN
 |