mirror of
https://github.com/wazuh/wazuh-kubernetes.git
synced 2025-12-10 16:46:36 -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
|
||||
|
||||
├── CHANGELOG.md
|
||||
├── cleanup.md
|
||||
├── instructions.md
|
||||
├── LICENSE
|
||||
├── README.md
|
||||
├── upgrade.md
|
||||
├── VERSION
|
||||
├── envs
|
||||
│ ├── eks
|
||||
│ │ ├── elastic-resources.yaml
|
||||
│ │ ├── kibana-resources.yaml
|
||||
│ │ ├── kustomization.yml
|
||||
│ │ ├── storage-class.yaml
|
||||
│ │ ├── wazuh-master-resources.yaml
|
||||
│ │ └── wazuh-worker-resources.yaml
|
||||
│ └── local-env
|
||||
│ ├── elastic-resources.yaml
|
||||
│ ├── kustomization.yml
|
||||
│ ├── storage-class.yaml
|
||||
│ └── wazuh-resources.yaml
|
||||
└── wazuh
|
||||
├── base
|
||||
│ ├── storage-class.yaml
|
||||
│ └── wazuh-ns.yaml
|
||||
├── certs
|
||||
│ ├── kibana_http
|
||||
│ │ ├── generate_certs.sh
|
||||
│ └── odfe_cluster
|
||||
│ ├── generate_certs.sh
|
||||
├── elastic_stack
|
||||
│ ├── elasticsearch
|
||||
│ │ ├── cluster
|
||||
│ │ │ ├── elasticsearch-api-svc.yaml
|
||||
│ │ │ └── elasticsearch-sts.yaml
|
||||
│ │ ├── elastic_conf
|
||||
│ │ │ ├── elasticsearch.yml
|
||||
│ │ │ └── internal_users.yml
|
||||
│ │ └── elasticsearch-svc.yaml
|
||||
│ └── kibana
|
||||
│ ├── kibana-deploy.yaml
|
||||
│ └── kibana-svc.yaml
|
||||
├── kustomization.yml
|
||||
├── secrets
|
||||
│ ├── elastic-cred-secret.yaml
|
||||
│ ├── wazuh-api-cred-secret.yaml
|
||||
│ ├── wazuh-authd-pass-secret.yaml
|
||||
│ └── wazuh-cluster-key-secret.yaml
|
||||
└── wazuh_managers
|
||||
├── wazuh-cluster-svc.yaml
|
||||
├── wazuh_conf
|
||||
│ ├── master.conf
|
||||
│ └── worker.conf
|
||||
├── wazuh-master-sts.yaml
|
||||
├── wazuh-master-svc.yaml
|
||||
├── wazuh-workers-svc.yaml
|
||||
└── wazuh-worker-sts.yaml
|
||||
|
||||
├── CHANGELOG.md
|
||||
├── cleanup.md
|
||||
├── envs
|
||||
│ ├── eks
|
||||
│ │ ├── dashboard-resources.yaml
|
||||
│ │ ├── indexer-resources.yaml
|
||||
│ │ ├── kustomization.yml
|
||||
│ │ ├── storage-class.yaml
|
||||
│ │ ├── wazuh-master-resources.yaml
|
||||
│ │ └── wazuh-worker-resources.yaml
|
||||
│ └── local-env
|
||||
│ ├── indexer-resources.yaml
|
||||
│ ├── kustomization.yml
|
||||
│ ├── storage-class.yaml
|
||||
│ └── wazuh-resources.yaml
|
||||
├── instructions.md
|
||||
├── LICENSE
|
||||
├── local-environment.md
|
||||
├── README.md
|
||||
├── upgrade.md
|
||||
├── VERSION
|
||||
└── wazuh
|
||||
├── base
|
||||
│ ├── storage-class.yaml
|
||||
│ └── wazuh-ns.yaml
|
||||
├── certs
|
||||
│ ├── dashboard_http
|
||||
│ │ └── generate_certs.sh
|
||||
│ └── indexer_cluster
|
||||
│ └── generate_certs.sh
|
||||
├── indexer_stack
|
||||
│ ├── wazuh-dashboard
|
||||
│ │ ├── dashboard_conf
|
||||
│ │ │ └── dashboard.yml
|
||||
│ │ ├── dashboard-deploy.yaml
|
||||
│ │ └── dashboard-svc.yaml
|
||||
│ └── wazuh-indexer
|
||||
│ ├── cluster
|
||||
│ │ ├── indexer-api-svc.yaml
|
||||
│ │ └── indexer-sts.yaml
|
||||
│ ├── indexer_conf
|
||||
│ │ ├── internal_users.yml
|
||||
│ │ └── opensearch.yml
|
||||
│ └── indexer-svc.yaml
|
||||
├── kustomization.yml
|
||||
├── secrets
|
||||
│ ├── indexer-cred-secret.yaml
|
||||
│ ├── wazuh-api-cred-secret.yaml
|
||||
│ ├── wazuh-authd-pass-secret.yaml
|
||||
│ └── wazuh-cluster-key-secret.yaml
|
||||
└── wazuh_managers
|
||||
├── wazuh-cluster-svc.yaml
|
||||
├── wazuh_conf
|
||||
│ ├── master.conf
|
||||
│ └── worker.conf
|
||||
├── wazuh-master-sts.yaml
|
||||
├── wazuh-master-svc.yaml
|
||||
├── wazuh-workers-svc.yaml
|
||||
└── wazuh-worker-sts.yaml
|
||||
|
||||
|
||||
## Branches
|
||||
|
||||
@ -161,10 +161,10 @@ wazuh Active 12m
|
||||
$ kubectl get services -n wazuh
|
||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||
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-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
|
||||
```
|
||||
|
||||
|
||||
@ -39,8 +39,8 @@ spec:
|
||||
memory: 1Gi
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/wazuh-dashboard/dashboard.yml
|
||||
subPath: dashboard.yml
|
||||
mountPath: /etc/wazuh-dashboard/opensearch_dashboards.yml
|
||||
subPath: opensearch_dashboards.yml
|
||||
readOnly: false
|
||||
- name: dashboard-certs
|
||||
mountPath: /etc/wazuh-dashboard/certs/cert.pem
|
||||
@ -55,7 +55,7 @@ spec:
|
||||
name: dashboard
|
||||
env:
|
||||
- name: ELASTICSEARCH_URL
|
||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9700'
|
||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
|
||||
- name: ELASTICSEARCH_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
|
||||
server.host: 0.0.0.0
|
||||
server.port: 443
|
||||
opensearch.hosts: https://indexer:9700
|
||||
opensearch.hosts: https://indexer:9200
|
||||
opensearch.ssl.verificationMode: none
|
||||
opensearch.username: kibanaserver22
|
||||
opensearch.password: holamundo1
|
||||
@ -20,5 +20,5 @@ spec:
|
||||
app: wazuh-indexer
|
||||
ports:
|
||||
- name: indexer-rest
|
||||
port: 9700
|
||||
targetPort: 9700
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
|
||||
@ -118,9 +118,9 @@ spec:
|
||||
subPath: internal_users.yml
|
||||
readOnly: true
|
||||
ports:
|
||||
- containerPort: 9700
|
||||
- containerPort: 9200
|
||||
name: indexer-rest
|
||||
- containerPort: 9800
|
||||
- containerPort: 9300
|
||||
name: indexer-nodes
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
|
||||
@ -5,8 +5,6 @@ discovery.seed_hosts: wazuh-indexer-0.wazuh-indexer
|
||||
cluster.initial_master_nodes:
|
||||
- wazuh-indexer-0
|
||||
|
||||
http.port: 9700-9799
|
||||
transport.tcp.port: 9800-9899
|
||||
node.max_local_storage_nodes: "3"
|
||||
path.data: /var/lib/wazuh-indexer
|
||||
path.logs: /var/log/wazuh-indexer
|
||||
|
||||
@ -39,7 +39,7 @@ configMapGenerator:
|
||||
- wazuh_managers/wazuh_conf/worker.conf
|
||||
- name: dashboard-conf
|
||||
files:
|
||||
- indexer_stack/wazuh-dashboard/dashboard_conf/dashboard.yml
|
||||
- indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml
|
||||
|
||||
resources:
|
||||
- base/wazuh-ns.yaml
|
||||
|
||||
@ -110,7 +110,7 @@ spec:
|
||||
name: api
|
||||
env:
|
||||
- name: ELASTICSEARCH_URL
|
||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9700'
|
||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
|
||||
- name: ELASTIC_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
@ -107,7 +107,7 @@ spec:
|
||||
name: cluster
|
||||
env:
|
||||
- name: ELASTICSEARCH_URL
|
||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9700'
|
||||
value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
|
||||
- name: ELASTIC_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user