mirror of
https://github.com/wazuh/wazuh-kubernetes.git
synced 2025-12-10 00:38:21 -06:00
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
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.12.0_7.6.1'
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
env:
|
|
- name: NGINX_PORT
|
|
value: '443'
|
|
- name: NGINX_NAME
|
|
value: 'foo'
|
|
- name: NGINX_PWD
|
|
value: 'bar'
|
|
ports:
|
|
- containerPort: 80
|
|
- containerPort: 443
|