kube.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. # Generation of Kubernetes YAML is still under development! [28/639]#
  2. # Save the output of this file and use kubectl create -f to import
  3. # it into Kubernetes.
  4. #
  5. # Created with podman-3.2.3
  6. apiVersion: v1
  7. kind: Pod
  8. metadata:
  9. creationTimestamp: "2021-08-04T16:27:09Z"
  10. labels:
  11. app: speedtest
  12. name: speedtest
  13. spec:
  14. containers:
  15. - command:
  16. - /run.sh
  17. env:
  18. - name: PATH
  19. value: /usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  20. - name: TERM
  21. value: xterm
  22. - name: container
  23. value: podman
  24. - name: GF_PATHS_HOME
  25. value: /usr/share/grafana
  26. - name: GF_PATHS_LOGS
  27. value: /var/log/grafana
  28. - name: GF_PATHS_PLUGINS
  29. value: /var/lib/grafana/plugins
  30. - name: GF_PATHS_CONFIG
  31. value: /etc/grafana/grafana.ini
  32. - name: GF_PATHS_DATA
  33. value: /var/lib/grafana
  34. - name: GF_PATHS_PROVISIONING
  35. value: /etc/grafana/provisioning
  36. image: docker.io/library/grafana:v8.5.7-pre
  37. name: speedtestgrafana1
  38. ports:
  39. - containerPort: 3000
  40. hostPort: 3000
  41. protocol: TCP
  42. resources: {}
  43. securityContext:
  44. allowPrivilegeEscalation: true
  45. capabilities:
  46. drop:
  47. - CAP_MKNOD
  48. - CAP_NET_RAW
  49. - CAP_AUDIT_WRITE
  50. privileged: false
  51. readOnlyRootFilesystem: false
  52. runAsGroup: 0
  53. runAsUser: 472
  54. seLinuxOptions: {}
  55. volumeMounts:
  56. - mountPath: /var/lib/grafana
  57. name: speedtest_grafana-storage
  58. - mountPath: /etc/grafana/provisioning/datasources
  59. name: speedtest_grafana-provisioning-datasources
  60. - mountPath: /etc/grafana/provisioning/dashboards
  61. name: speedtest_grafana-provisioning-dashboards
  62. workingDir: /usr/share/grafana
  63. - args:
  64. - influxd
  65. command:
  66. - /entrypoint.sh
  67. env:
  68. - name: PATH
  69. value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  70. - name: TERM
  71. value: xterm
  72. - name: container
  73. value: podman
  74. - name: INFLUXDB_VERSION
  75. value: 1.8.2
  76. image: docker.io/library/influxdb:1.8.2
  77. name: speedtestinfluxdb1
  78. ports:
  79. - containerPort: 8086
  80. hostPort: 8087
  81. protocol: TCP
  82. resources: {}
  83. securityContext:
  84. allowPrivilegeEscalation: true
  85. capabilities:
  86. drop:
  87. - CAP_MKNOD
  88. - CAP_NET_RAW
  89. - CAP_AUDIT_WRITE
  90. privileged: false
  91. readOnlyRootFilesystem: false
  92. seLinuxOptions: {}
  93. volumeMounts:
  94. - mountPath: /etc/influxdb/influxdb.conf
  95. name: data-repository-speedtest-influxdb-influxdb.conf-host-0
  96. readOnly: true
  97. - mountPath: /var/lib/influxdb
  98. name: speedtest_influxdb-data-pvc
  99. workingDir: /
  100. dnsConfig: {}
  101. restartPolicy: Never
  102. volumes:
  103. - name: speedtest_influxdb-data-pvc
  104. persistentVolumeClaim:
  105. claimName: speedtest_influxdb-data
  106. - name: speedtest_grafana-storage
  107. persistentVolumeClaim:
  108. claimName: speedtest_grafana-storage
  109. - hostPath:
  110. path: /data/repository/speedtest/influxdb/influxdb.conf
  111. type: File
  112. name: data-repository-speedtest-influxdb-influxdb.conf-host-0
  113. - hostPath:
  114. path: /data/repository/speedtest/grafana/provisioning/datasources
  115. type: File
  116. name: speedtest_grafana-provisioning-datasources
  117. - hostPath:
  118. path: /data/repository/speedtest/grafana/provisioning/dashboards
  119. type: File
  120. name: speedtest_grafana-provisioning-dashboards