mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Update postgres and datadog
This commit is contained in:
+4
-6
@@ -298,7 +298,7 @@ datadog:
|
||||
|
||||
networkMonitoring:
|
||||
# datadog.networkMonitoring.enabled -- Enable network performance monitoring
|
||||
enabled: false
|
||||
enabled: true
|
||||
|
||||
## Enable security agent and provide custom configs
|
||||
securityAgent:
|
||||
@@ -559,7 +559,7 @@ agents:
|
||||
|
||||
# agents.image.tag -- Define the Agent version to use
|
||||
## Use 7-jmx to enable jmx fetch collection
|
||||
tag: 7.24.1
|
||||
tag: 7.34.0
|
||||
|
||||
# agents.image.doNotCheckTag -- Skip the version<>chart compatibility check
|
||||
## By default, the version passed in agents.image.tag is checked
|
||||
@@ -812,10 +812,8 @@ agents:
|
||||
|
||||
# agents.tolerations -- Allow the DaemonSet to schedule on tainted nodes (requires Kubernetes >= 1.6)
|
||||
tolerations:
|
||||
- key: "node"
|
||||
operator: "Equal"
|
||||
value: "special"
|
||||
effect: "NoSchedule"
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
||||
# agents.nodeSelector -- Allow the DaemonSet to schedule on selected nodes
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
|
||||
+2
-4
@@ -18,10 +18,8 @@ spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: server-1
|
||||
tolerations:
|
||||
- key: "node"
|
||||
operator: "Equal"
|
||||
value: "special"
|
||||
effect: "NoSchedule"
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
containers:
|
||||
- name: pihole
|
||||
image: pihole/pihole:latest
|
||||
|
||||
@@ -66,8 +66,9 @@ primary:
|
||||
labels:
|
||||
role: primary
|
||||
service:
|
||||
type: NodePort
|
||||
nodePort: 32222
|
||||
type: ClusterIP
|
||||
nodePort:
|
||||
postgresql: 32222
|
||||
terminationGracePeriodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
|
||||
@@ -75,3 +75,8 @@ sudo rm /swap.img
|
||||
vim /etc/fstab # and remove swap
|
||||
# check
|
||||
sudo swapon --show
|
||||
|
||||
|
||||
# to restore postgres db from dump file
|
||||
|
||||
cat ~/Downloads/dump-2022-03-21_05-48-05_UTC.tar.gz| gunzip | psql --set ON_ERROR_STOP=off postgres -h 192.168.1.2 -p 30973 -U postgres
|
||||
|
||||
Reference in New Issue
Block a user