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.

after-dark-k3s-hugo.yaml 721B

  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: after-dark-hugo-64
  5. labels:
  6. tier: backend
  7. spec:
  8. replicas: 1
  9. selector:
  10. matchLabels:
  11. app: after-dark-hugo
  12. tier: backend
  13. template:
  14. metadata:
  15. labels:
  16. app: after-dark-hugo
  17. tier: backend
  18. spec:
  19. containers:
  20. - image: tkalpakid/ad8
  21. name: after-dark-hugo-container
  22. ports:
  23. - containerPort: 1313
  24. env:
  25. - name: HUGO_WATCH # real time build
  26. value: "true"
  27. volumeMounts:
  28. - name: rendered-site
  29. mountPath: /output
  30. volumes:
  31. - name: rendered-site
  32. hostPath:
  33. path: /rendered-site
  34. type: DirectoryOrCreate