Skip to content

Commit

Permalink
Remove pod-health configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose M committed Jan 16, 2020
1 parent 4d09e43 commit c08bff2
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions wazuh_managers/wazuh-master-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,44 +30,24 @@ spec:
volumes:
- name: config
configMap:
name: wazuh-manager-master-conf
- name: pod-health
configMap:
name: health-check-configmap
name: wazuh-manager-master-conf
containers:
- name: wazuh-manager
image: 'wazuh/wazuh:3.11.0_7.5.1'
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 1
cpu: 2
memory: 1024Mi
livenessProbe:
exec:
command:
- /usr/bin/python3
- /var/health_check.py
initialDelaySeconds: 120
periodSeconds: 360
readinessProbe:
exec:
command:
- /usr/bin/python3
- /var/health_check.py
initialDelaySeconds: 60
periodSeconds: 180
limits:
cpu: 2
memory: 2048Mi
volumeMounts:
- name: config
mountPath: /wazuh-config-mount/etc/ossec.conf
subPath: ossec.conf
readOnly: true
- name: wazuh-manager-master
mountPath: /var/ossec/data
- name: pod-health
mountPath: /var/health_check.py
subPath: health_check.py
mountPath: /var/ossec/data
ports:
- containerPort: 1515
name: registration
Expand Down

0 comments on commit c08bff2

Please sign in to comment.