Public GitOps repository for showing how I run my services on k3s https://tobru.ch/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
591 B

  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. labels:
  5. app: ioteer-dragino
  6. name: ioteer-dragino
  7. namespace: ioteer
  8. spec:
  9. replicas: 1
  10. selector:
  11. matchLabels:
  12. app: ioteer-dragino
  13. strategy: {}
  14. template:
  15. metadata:
  16. labels:
  17. app: ioteer-dragino
  18. spec:
  19. containers:
  20. - image: tobru/ioteer:latest
  21. name: ioteer
  22. command:
  23. - python
  24. - lgt92.py
  25. envFrom:
  26. - secretRef:
  27. name: ioteer-dragino
  28. ports:
  29. - containerPort: 8080
  30. protocol: TCP
  31. imagePullPolicy: Always