Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
[global_tags]
|
||||
|
||||
# Configuration for telegraf agent
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 1000
|
||||
metric_buffer_limit = 100000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "0s"
|
||||
precision = ""
|
||||
debug = false
|
||||
quiet = false
|
||||
logfile = ""
|
||||
hostname = ""
|
||||
omit_hostname = false
|
||||
|
||||
[[inputs.tail]]
|
||||
files = ["/data/wo-bisch-lorahandler.log"]
|
||||
from_beginning = false
|
||||
pipe = false
|
||||
tagexclude = ["path","host"]
|
||||
data_format = "influx"
|
||||
|
||||
# Configuration for sending metrics to InfluxDB 2.0
|
||||
[[outputs.influxdb_v2]]
|
||||
urls = ["http://127.0.0.1:8086"]
|
||||
token = "PWuleFEPB2YSduUkzkcW94V_-KFDK5Fi3MAeaA999Qe51OsGlJJSrcZ41pUAppCwF-z3rUNnyFQQJs8fCSTFzg=="
|
||||
organization = "wobischorg"
|
||||
bucket = "wobischbucket"
|
||||
@@ -0,0 +1,120 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
annotations:
|
||||
bind-mount-options:/data/wobischdev/influxdb: z
|
||||
bind-mount-options:/data/wobischdev/redis: z
|
||||
bind-mount-options:/data/wobischdev/lorahandlerdata: z
|
||||
bind-mount-options:/home/containers/onyx-dev_pods/wobischdev/telegraf.conf: z
|
||||
io.kubernetes.cri-o.TTY/wobischdev: "false"
|
||||
io.podman.annotations.autoremove/wobischdev: "FALSE"
|
||||
io.podman.annotations.init/wobischdev: "FALSE"
|
||||
io.podman.annotations.label/wobischdev: type:container_runtime_t
|
||||
io.podman.annotations.privileged/wobischdev: "FALSE"
|
||||
io.podman.annotations.publish-all/wobischdev: "FALSE"
|
||||
labels:
|
||||
app: wobischdev-pod
|
||||
name: wobischdev-pod
|
||||
spec:
|
||||
containers:
|
||||
- name: wo-bisch-web
|
||||
image: registry.gitlab.com/drpuur/wo-bisch-web:2022122101
|
||||
env:
|
||||
- name: REDIS_CONNECTION_STRING
|
||||
value: 127.0.0.1:6379
|
||||
- name: INFLUX_URL
|
||||
value: http://127.0.0.1:8086/api/v2/query?org=wobischorg
|
||||
- name: INFLUX_RO_TOKEN
|
||||
value: TQvQxxLLAj1kTKWuEqcx7BA-KfE6WtJUeDlPa_Dnvms6Zqf6uh6lMbpXtzcsCjKO_x3PrpxxGDR5E6YnDB5PFg==
|
||||
- name: STRIPE_KEY
|
||||
value: sk_test_51Icq29K2XyHQRTs20aEeyUHH3WgE6nBkAKUFuXsQtbnZNIP5fap5zTLTaA0XvhIcRHkqt3vJ2nui6df8R9VDuDDh00nhzmWdHr
|
||||
- name: STRIPE_PK
|
||||
value: pk_test_51Icq29K2XyHQRTs2DeltUIWrbFb5evfJVGaQzMv4r50g8Q7HAUkSFr7BBGv0aP1damXIhM6fZ4Yf9Wz0qW6TpTVi00dWcW7J1O
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
hostPort: 9040
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- CAP_MKNOD
|
||||
- CAP_NET_RAW
|
||||
- CAP_AUDIT_WRITE
|
||||
- name: wo-bisch-lorahandler
|
||||
image: registry.gitlab.com/drpuur/wo-bisch-lorahandler:2022122101
|
||||
env:
|
||||
- name: REDIS_CONNECTION_STRING
|
||||
value: 127.0.0.1:6379
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
hostPort: 9041
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- CAP_MKNOD
|
||||
- CAP_NET_RAW
|
||||
- CAP_AUDIT_WRITE
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: lorahandlerdata
|
||||
- name: influxdb
|
||||
image: docker.io/library/influxdb:2.6
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- CAP_MKNOD
|
||||
- CAP_NET_RAW
|
||||
- CAP_AUDIT_WRITE
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/influxdb2
|
||||
name: influxdb
|
||||
- name: redis
|
||||
image: docker.io/library/redis:7
|
||||
args: ["--save 60 1", "--loglevel warning"]
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- CAP_MKNOD
|
||||
- CAP_NET_RAW
|
||||
- CAP_AUDIT_WRITE
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: redis
|
||||
- name: telegraf
|
||||
image: docker.io/library/telegraf:1.25
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- CAP_MKNOD
|
||||
- CAP_AUDIT_WRITE
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: lorahandlerdata
|
||||
- mountPath: /etc/telegraf/telegraf.conf
|
||||
name: telegrafconf
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- hostPath:
|
||||
path: /data/wobischdev/influxdb
|
||||
type: Directory
|
||||
name: influxdb
|
||||
- hostPath:
|
||||
path: /data/wobischdev/redis
|
||||
type: Directory
|
||||
name: redis
|
||||
- hostPath:
|
||||
path: /data/wobischdev/lorahandlerdata
|
||||
type: Directory
|
||||
name: lorahandlerdata
|
||||
- hostPath:
|
||||
path: /home/containers/onyx-dev_pods/wobischdev/telegraf.conf
|
||||
type: File
|
||||
name: telegrafconf
|
||||
Reference in New Issue
Block a user