mirror of
https://github.com/wazuh/wazuh-kubernetes.git
synced 2025-12-10 16:46:36 -06:00
42 lines
924 B
YAML
42 lines
924 B
YAML
# Copyright (C) 2018 Wazuh Inc.
|
|
#
|
|
# This program is a free software; you can redistribute it
|
|
# and/or modify it under the terms of the GNU General Public
|
|
# License (version 2) as published by the FSF - Free Software
|
|
# Foundation.
|
|
|
|
# Nginx Deployment
|
|
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: wazuh-nginx
|
|
namespace: wazuh
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: wazuh-nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: wazuh-nginx
|
|
name: wazuh-nginx
|
|
spec:
|
|
containers:
|
|
- name: wazuh-nginx
|
|
image: 'wazuh/wazuh-nginx:3.7.0_6.5.0'
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
env:
|
|
- name: NGINX_PORT
|
|
value: '443'
|
|
ports:
|
|
- containerPort: 80
|
|
- containerPort: 443
|