mirror of
https://github.com/wazuh/wazuh-kubernetes.git
synced 2025-12-10 00:38:21 -06:00
Update dashboard.yml name and indexer ports
This commit is contained in:
parent
dfb0a939b6
commit
0f26352747
116
README.md
116
README.md
@ -19,63 +19,65 @@ The [instructions.md](instructions.md) file describes how to deploy Wazuh on Kub
|
|||||||
|
|
||||||
## Directory structure
|
## Directory structure
|
||||||
|
|
||||||
├── CHANGELOG.md
|
├── CHANGELOG.md
|
||||||
├── cleanup.md
|
├── cleanup.md
|
||||||
├── instructions.md
|
├── envs
|
||||||
├── LICENSE
|
│ ├── eks
|
||||||
├── README.md
|
│ │ ├── dashboard-resources.yaml
|
||||||
├── upgrade.md
|
│ │ ├── indexer-resources.yaml
|
||||||
├── VERSION
|
│ │ ├── kustomization.yml
|
||||||
├── envs
|
│ │ ├── storage-class.yaml
|
||||||
│ ├── eks
|
│ │ ├── wazuh-master-resources.yaml
|
||||||
│ │ ├── elastic-resources.yaml
|
│ │ └── wazuh-worker-resources.yaml
|
||||||
│ │ ├── kibana-resources.yaml
|
│ └── local-env
|
||||||
│ │ ├── kustomization.yml
|
│ ├── indexer-resources.yaml
|
||||||
│ │ ├── storage-class.yaml
|
│ ├── kustomization.yml
|
||||||
│ │ ├── wazuh-master-resources.yaml
|
│ ├── storage-class.yaml
|
||||||
│ │ └── wazuh-worker-resources.yaml
|
│ └── wazuh-resources.yaml
|
||||||
│ └── local-env
|
├── instructions.md
|
||||||
│ ├── elastic-resources.yaml
|
├── LICENSE
|
||||||
│ ├── kustomization.yml
|
├── local-environment.md
|
||||||
│ ├── storage-class.yaml
|
├── README.md
|
||||||
│ └── wazuh-resources.yaml
|
├── upgrade.md
|
||||||
└── wazuh
|
├── VERSION
|
||||||
├── base
|
└── wazuh
|
||||||
│ ├── storage-class.yaml
|
├── base
|
||||||
│ └── wazuh-ns.yaml
|
│ ├── storage-class.yaml
|
||||||
├── certs
|
│ └── wazuh-ns.yaml
|
||||||
│ ├── kibana_http
|
├── certs
|
||||||
│ │ ├── generate_certs.sh
|
│ ├── dashboard_http
|
||||||
│ └── odfe_cluster
|
│ │ └── generate_certs.sh
|
||||||
│ ├── generate_certs.sh
|
│ └── indexer_cluster
|
||||||
├── elastic_stack
|
│ └── generate_certs.sh
|
||||||
│ ├── elasticsearch
|
├── indexer_stack
|
||||||
│ │ ├── cluster
|
│ ├── wazuh-dashboard
|
||||||
│ │ │ ├── elasticsearch-api-svc.yaml
|
│ │ ├── dashboard_conf
|
||||||
│ │ │ └── elasticsearch-sts.yaml
|
│ │ │ └── dashboard.yml
|
||||||
│ │ ├── elastic_conf
|
│ │ ├── dashboard-deploy.yaml
|
||||||
│ │ │ ├── elasticsearch.yml
|
│ │ └── dashboard-svc.yaml
|
||||||
│ │ │ └── internal_users.yml
|
│ └── wazuh-indexer
|
||||||
│ │ └── elasticsearch-svc.yaml
|
│ ├── cluster
|
||||||
│ └── kibana
|
│ │ ├── indexer-api-svc.yaml
|
||||||
│ ├── kibana-deploy.yaml
|
│ │ └── indexer-sts.yaml
|
||||||
│ └── kibana-svc.yaml
|
│ ├── indexer_conf
|
||||||
├── kustomization.yml
|
│ │ ├── internal_users.yml
|
||||||
├── secrets
|
│ │ └── opensearch.yml
|
||||||
│ ├── elastic-cred-secret.yaml
|
│ └── indexer-svc.yaml
|
||||||
│ ├── wazuh-api-cred-secret.yaml
|
├── kustomization.yml
|
||||||
│ ├── wazuh-authd-pass-secret.yaml
|
├── secrets
|
||||||
│ └── wazuh-cluster-key-secret.yaml
|
│ ├── indexer-cred-secret.yaml
|
||||||
└── wazuh_managers
|
│ ├── wazuh-api-cred-secret.yaml
|
||||||
├── wazuh-cluster-svc.yaml
|
│ ├── wazuh-authd-pass-secret.yaml
|
||||||
├── wazuh_conf
|
│ └── wazuh-cluster-key-secret.yaml
|
||||||
│ ├── master.conf
|
└── wazuh_managers
|
||||||
│ └── worker.conf
|
├── wazuh-cluster-svc.yaml
|
||||||
├── wazuh-master-sts.yaml
|
├── wazuh_conf
|
||||||
├── wazuh-master-svc.yaml
|
│ ├── master.conf
|
||||||
├── wazuh-workers-svc.yaml
|
│ └── worker.conf
|
||||||
└── wazuh-worker-sts.yaml
|
├── wazuh-master-sts.yaml
|
||||||
|
├── wazuh-master-svc.yaml
|
||||||
|
├── wazuh-workers-svc.yaml
|
||||||
|
└── wazuh-worker-sts.yaml
|
||||||
|
|
||||||
|
|
||||||
## Branches
|
## Branches
|
||||||
|
|||||||
@ -161,10 +161,10 @@ wazuh Active 12m
|
|||||||
$ kubectl get services -n wazuh
|
$ kubectl get services -n wazuh
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
dashboard LoadBalancer 10.100.55.244 <entrypoint_assigned> 443:31670/TCP 4h13m
|
dashboard LoadBalancer 10.100.55.244 <entrypoint_assigned> 443:31670/TCP 4h13m
|
||||||
indexer LoadBalancer 10.100.199.148 <entrypoint_assigned> 9700:32270/TCP 4h13m
|
indexer LoadBalancer 10.100.199.148 <entrypoint_assigned> 9200:32270/TCP 4h13m
|
||||||
wazuh LoadBalancer 10.100.176.82 <entrypoint_assigned> 1515:32602/TCP,55000:32116/TCP 4h13m
|
wazuh LoadBalancer 10.100.176.82 <entrypoint_assigned> 1515:32602/TCP,55000:32116/TCP 4h13m
|
||||||
wazuh-cluster ClusterIP None <none> 1516/TCP 4h13m
|
wazuh-cluster ClusterIP None <none> 1516/TCP 4h13m
|
||||||
wazuh-indexer ClusterIP None <none> 9800/TCP 4h13m
|
wazuh-indexer ClusterIP None <none> 9300/TCP 4h13m
|
||||||
wazuh-workers LoadBalancer 10.100.165.20 <entrypoint_assigned> 1514:30128/TCP 4h13m
|
wazuh-workers LoadBalancer 10.100.165.20 <entrypoint_assigned> 1514:30128/TCP 4h13m
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -39,8 +39,8 @@ spec:
|
|||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/wazuh-dashboard/dashboard.yml
|
mountPath: /etc/wazuh-dashboard/opensearch_dashboards.yml
|
||||||
subPath: dashboard.yml
|
subPath: opensearch_dashboards.yml
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: dashboard-certs
|
- name: dashboard-certs
|
||||||
mountPath: /etc/wazuh-dashboard/certs/cert.pem
|
mountPath: /etc/wazuh-dashboard/certs/cert.pem
|
||||||
@ -55,7 +55,7 @@ spec:
|
|||||||
name: dashboard
|
name: dashboard
|
||||||
env:
|
env:
|
||||||
- name: ELASTICSEARCH_URL
|
- name: ELASTICSEARCH_URL
|
||||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9700'
|
value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
|
||||||
- name: ELASTICSEARCH_USERNAME
|
- name: ELASTICSEARCH_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
server.host: 0.0.0.0
|
server.host: 0.0.0.0
|
||||||
server.port: 443
|
server.port: 443
|
||||||
opensearch.hosts: https://indexer:9700
|
opensearch.hosts: https://indexer:9200
|
||||||
opensearch.ssl.verificationMode: none
|
opensearch.ssl.verificationMode: none
|
||||||
opensearch.username: kibanaserver22
|
opensearch.username: kibanaserver22
|
||||||
opensearch.password: holamundo1
|
opensearch.password: holamundo1
|
||||||
@ -20,5 +20,5 @@ spec:
|
|||||||
app: wazuh-indexer
|
app: wazuh-indexer
|
||||||
ports:
|
ports:
|
||||||
- name: indexer-rest
|
- name: indexer-rest
|
||||||
port: 9700
|
port: 9200
|
||||||
targetPort: 9700
|
targetPort: 9200
|
||||||
|
|||||||
@ -118,9 +118,9 @@ spec:
|
|||||||
subPath: internal_users.yml
|
subPath: internal_users.yml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9700
|
- containerPort: 9200
|
||||||
name: indexer-rest
|
name: indexer-rest
|
||||||
- containerPort: 9800
|
- containerPort: 9300
|
||||||
name: indexer-nodes
|
name: indexer-nodes
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
|
|||||||
@ -5,8 +5,6 @@ discovery.seed_hosts: wazuh-indexer-0.wazuh-indexer
|
|||||||
cluster.initial_master_nodes:
|
cluster.initial_master_nodes:
|
||||||
- wazuh-indexer-0
|
- wazuh-indexer-0
|
||||||
|
|
||||||
http.port: 9700-9799
|
|
||||||
transport.tcp.port: 9800-9899
|
|
||||||
node.max_local_storage_nodes: "3"
|
node.max_local_storage_nodes: "3"
|
||||||
path.data: /var/lib/wazuh-indexer
|
path.data: /var/lib/wazuh-indexer
|
||||||
path.logs: /var/log/wazuh-indexer
|
path.logs: /var/log/wazuh-indexer
|
||||||
|
|||||||
@ -39,7 +39,7 @@ configMapGenerator:
|
|||||||
- wazuh_managers/wazuh_conf/worker.conf
|
- wazuh_managers/wazuh_conf/worker.conf
|
||||||
- name: dashboard-conf
|
- name: dashboard-conf
|
||||||
files:
|
files:
|
||||||
- indexer_stack/wazuh-dashboard/dashboard_conf/dashboard.yml
|
- indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- base/wazuh-ns.yaml
|
- base/wazuh-ns.yaml
|
||||||
|
|||||||
@ -110,7 +110,7 @@ spec:
|
|||||||
name: api
|
name: api
|
||||||
env:
|
env:
|
||||||
- name: ELASTICSEARCH_URL
|
- name: ELASTICSEARCH_URL
|
||||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9700'
|
value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
|
||||||
- name: ELASTIC_USERNAME
|
- name: ELASTIC_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@ -107,7 +107,7 @@ spec:
|
|||||||
name: cluster
|
name: cluster
|
||||||
env:
|
env:
|
||||||
- name: ELASTICSEARCH_URL
|
- name: ELASTICSEARCH_URL
|
||||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9700'
|
value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
|
||||||
- name: ELASTIC_USERNAME
|
- name: ELASTIC_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user