kube1.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ---
  2. # Generation of Kubernetes YAML is still under development!
  3. # Save the output of this file and use kubectl create -f to import
  4. # it into Kubernetes.
  5. #
  6. # Created with podman-3.2.3
  7. apiVersion: v1
  8. kind: Pod
  9. metadata:
  10. creationTimestamp: "2021-08-04T16:27:09Z"
  11. labels:
  12. app: speedtest
  13. name: speedtest
  14. spec:
  15. containers:
  16. - args:
  17. - influxd
  18. command:
  19. - /entrypoint.sh
  20. env:
  21. - name: PATH
  22. value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  23. - name: TERM
  24. value: xterm
  25. - name: container
  26. value: podman
  27. - name: INFLUXDB_VERSION
  28. value: 1.8.2
  29. image: docker.io/library/influxdb:1.8.2
  30. name: speedtestinfluxdb1
  31. ports:
  32. - containerPort: 8086
  33. hostPort: 8086
  34. protocol: TCP
  35. resources: {}
  36. securityContext:
  37. allowPrivilegeEscalation: true
  38. capabilities:
  39. drop:
  40. - CAP_MKNOD
  41. - CAP_NET_RAW
  42. - CAP_AUDIT_WRITE
  43. privileged: false
  44. readOnlyRootFilesystem: false
  45. seLinuxOptions: {}
  46. volumeMounts:
  47. - mountPath: /etc/influxdb/influxdb.conf
  48. name: data-repository-speedtest-influxdb-influxdb.conf-host-0
  49. readOnly: true
  50. - mountPath: /var/lib/influxdb
  51. name: speedtest_influxdb-data-pvc
  52. workingDir: /
  53. dnsConfig: {}
  54. restartPolicy: Never
  55. volumes:
  56. - name: speedtest_influxdb-data-pvc
  57. persistentVolumeClaim:
  58. claimName: speedtest_influxdb-data
  59. - name: data-repository-speedtest-influxdb-influxdb.conf-host-0
  60. hostPath:
  61. path: /data/repository/speedtest/influxdb/influxdb.conf
  62. type: File