|
509a07b39d
|
configuration added
|
2025-03-26 14:58:55 +01:00 |
|
|
1f429f079b
|
loki.source.syslog "tcp_socket" {
listener {
address = "0.0.0.0:1514"
labels = { component = "loki.source.syslog", protocol = "tcp" }
}
forward_to = [loki.write.local_loki.receiver]
}
|
2025-03-26 13:55:46 +01:00 |
|
|
574fe29565
|
labels = { component = "loki.source.syslog", protocol = "tcp" }
|
2025-03-26 13:46:08 +01:00 |
|
|
992749c6fc
|
loki.source.kubernetes "all_pod_logs" {
targets = discovery.relabel.pod_logs.output
forward_to = [loki.write.local_loki.receiver]
}
|
2025-03-26 13:16:02 +01:00 |
|
|
2fda5818ec
|
create: false
name: alloy-config
key: config.alloy
|
2025-03-26 13:03:23 +01:00 |
|
|
a1925e083b
|
- name: "tcpsocket"
|
2025-03-26 12:56:03 +01:00 |
|
|
21ce529abe
|
create: false
name: alloy-config
key: config.alloy
|
2025-03-26 12:50:13 +01:00 |
|
|
ecf2ed5787
|
extraPorts:
- name: "tcp_socket"
port: 1514
targetPort: 1514
protocol: "TCP"
appProtocol: "tcp"
|
2025-03-26 12:43:02 +01:00 |
|
|
e8c6aeb3c2
|
address = "0.0.0.0:1514"
|
2025-03-26 12:38:39 +01:00 |
|
|
bfc8972580
|
forward_to = [loki.write.local_loki.receiver]
|
2025-03-26 12:34:48 +01:00 |
|
|
d64ecf325b
|
address = "0.0.0.0:12345"
|
2025-03-26 12:30:30 +01:00 |
|
|
c16ad82150
|
# extraPorts:
# - name: "tcp_socket"
# port: 1514
# targetPort: 1514
# protocol: "TCP"
# appProtocol: "tcp"
|
2025-03-26 12:28:37 +01:00 |
|
|
e901ac85fc
|
extraPorts:
- name: "tcp_socket"
port: 1514
targetPort: 1514
protocol: "TCP"
appProtocol: "tcp"
|
2025-03-26 11:53:11 +01:00 |
|
|
08a4037929
|
extraPorts:
- name: "tcp_socket"
port: 1514
targetPort: 1514
protocol: "TCP"
appProtocol: "tcp"
|
2025-03-26 11:46:02 +01:00 |
|
|
2a8bdd0f6d
|
loki.source.syslog "tcp_socket" {
listener {
address = "0.0.0.0:1514"
}
forward_to = [loki.write.local_loki.receiver]
}
|
2025-03-26 11:01:33 +01:00 |
|
|
5c9b4c679d
|
sleep 60
|
2025-03-25 15:16:07 +01:00 |
|
|
d941d12bcd
|
mkdir pupa
|
2025-03-25 15:02:50 +01:00 |
|
|
c34d538073
|
/var/log/openbao/openbao/*.log {
|
2025-03-25 14:08:02 +01:00 |
|
|
42be001b3c
|
bao audit enable -path="file" file file_path=/openbao/logs/openbao/openbao.log
|
2025-03-25 13:59:25 +01:00 |
|
|
278cf798f4
|
apiVersion: v1
kind: ConfigMap
metadata:
name: openbao-logrotate-config
namespace: openbao
data:
openbao: |
/var/log/openbao/*.log {
size 5k
rotate 7
compress
missingok
notifempty
postrotate
kill -SIGHUP $(pidof bao)
endscript
}
|
2025-03-25 13:52:55 +01:00 |
|
|
5c197fd0f1
|
sidecar container detached
|
2025-03-25 13:26:28 +01:00 |
|
|
bb3c6cf438
|
/openbao/logs/openbao/openbao.log
|
2025-03-25 13:19:15 +01:00 |
|
|
2372cefe0b
|
# bao audit enable -path="file" file file_path=/openbao/logs/openbao.log
|
2025-03-25 13:13:39 +01:00 |
|
|
be7881e2ec
|
test
|
2025-03-25 13:03:29 +01:00 |
|
|
c6e71f8aeb
|
logging setup
|
2025-03-25 12:51:00 +01:00 |
|
|
547938acd4
|
- name: host-log
hostPath:
path: /var/log
type: Directory
|
2025-03-25 11:18:52 +01:00 |
|
|
320e67a1d2
|
no liveness probe
|
2025-03-24 14:50:16 +01:00 |
|
|
71a5463237
|
rm /tmp/init.txt
bao audit enable -path="stdout" file file_path=stdout
bao audit enable -path="file" file file_path=/openbao/logs/openbao.log
|
2025-03-24 14:20:54 +01:00 |
|
|
4620a92aee
|
# rm /tmp/init.txt
|
2025-03-24 13:57:39 +01:00 |
|
|
5086db7cba
|
100
|
2025-03-24 13:50:33 +01:00 |
|
|
2c5cad03c8
|
sleep 10
|
2025-03-24 13:50:07 +01:00 |
|
|
aae508014a
|
cat /tmp/init.txt | grep "Key " | awk '{print $NF}' | xargs -I{} bao operator unseal {}
echo $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/initial_token.txt
echo $(grep "Unseal Key 1:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key1.txt
echo $(grep "Unseal Key 2:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key2.txt
echo $(grep "Unseal Key 3:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key3.txt
echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
rm /tmp/init.txt
|
2025-03-24 13:41:47 +01:00 |
|
|
8d7a7cb1bf
|
bao operator init >> /tmp/init.txt
|
2025-03-24 13:38:15 +01:00 |
|
|
8f28c30364
|
###
|
2025-03-24 13:33:13 +01:00 |
|
|
dcce720122
|
# bao audit enable -path="stdout" file file_path=stdout
# bao audit enable -path="file" file file_path=/openbao/logs/openbao.log
|
2025-03-24 13:32:40 +01:00 |
|
|
f39c8c979b
|
livenessProbe:
enabled: true
execCommand:
- /bin/sh
- -c
- bao status
|
2025-03-24 13:12:46 +01:00 |
|
|
d41a27305e
|
livenessProbe:
enabled: true
|
2025-03-24 12:54:27 +01:00 |
|
|
4601d2f25d
|
those command were deleted
|
2025-03-20 16:18:43 +01:00 |
|
|
5f5ac62b0b
|
touch /shared/main.alive; trap 'rm -f /shared/main.alive; exit 0' TERM; while true; do sleep 1; done
|
2025-03-20 16:14:03 +01:00 |
|
|
3937c98d00
|
/openbao/logs/alive/main.alive
|
2025-03-20 16:03:21 +01:00 |
|
|
d21c543f2c
|
log-sidecar removed
|
2025-03-20 15:50:04 +01:00 |
|
|
64677a02d1
|
url = "http://loki-loki-distributed-gateway.monitoring.svc.cluster.local/loki/api/v1/push"
|
2025-03-20 15:14:01 +01:00 |
|
|
350398cb23
|
path_targets = [{"__path__" = "/openbao/logs/*"}]
|
2025-03-20 14:44:48 +01:00 |
|
|
02c739524b
|
config.alloy
|
2025-03-20 14:39:03 +01:00 |
|
|
3db4058181
|
- key: "config.yaml"
path: "/config.alloy"
- key: "config.yaml"
path: "/pupa/config.alloy"
|
2025-03-20 14:34:51 +01:00 |
|
|
d866169744
|
- name: config-volume
mountPath: /etc/alloy
items:
- key: "config.yaml"
path: "config.alloy"
|
2025-03-20 14:28:27 +01:00 |
|
|
267a04fee5
|
mountPath: /etc/alloy
items:
- key: "config.yaml"
path: "config.alloy"
|
2025-03-20 14:23:57 +01:00 |
|
|
c376f6d0c6
|
- --config.file=/var/lib/alloy/config/config.yaml
|
2025-03-20 14:09:45 +01:00 |
|
|
39eab1ef93
|
- name: config-volume
configMap:
name: sidecar-container-alloy-config
|
2025-03-20 14:00:59 +01:00 |
|
|
ec2fc47ea2
|
mountPath: /var/lib/alloy
|
2025-03-20 13:52:04 +01:00 |
|