Merge pull request #84 from wazuh/wazuh-release-v3.12.2_7.6.4

Wazuh Kubernetes release v3.12.2 7.6.2
This commit is contained in:
Manuel J. Bernal 2020-04-13 21:14:36 +02:00 committed by GitHub
commit a3e46fb0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 39 additions and 21 deletions

View File

@ -2,6 +2,17 @@
All notable changes to this project will be documented in this file.
## [v3.12.2]
### Added
- Update to Wazuh version 3.12.2_7.6.2
- Add reference to local-env branch on the readme ([@xr09](https://github.com/xr09)) [PR#82](https://github.com/wazuh/wazuh-kubernetes/pull/82)
### Fixed
- Path to elasticearch deployment yamls was outdated ([@jctello](https://github.com/jctello)) [PR#82](https://github.com/wazuh/wazuh-kubernetes/pull/84/commits/927b7dabc96d5c1c9f63981858661bba6206b6ef)
## [v3.12.0]
### Added

View File

@ -51,7 +51,7 @@ The *instructions.md* file describes how to deploy Wazuh on Kubernetes.
│ ├── README.md
│ ├── VERSION
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── LICENSE
│ ├── cleanup.md
│ ├── instructions.md
│ ├── upgrade.md
@ -59,6 +59,12 @@ The *instructions.md* file describes how to deploy Wazuh on Kubernetes.
## Branches
* `master` branch contains the latest code, be aware of possible bugs on this branch.
* `local-environment` branch contains modifications for deploying on local environments.
## Local development
To deploy a cluster on your local environment (like Minikube or Kind) use the branch [local-environment](https://github.com/wazuh/wazuh-kubernetes/tree/local-environment/minikube)
## Contribute

View File

@ -1,2 +1,2 @@
VERSION="v3.12.0_7.6.1"
REVISION="31200"
VERSION="v3.12.2_7.6.2"
REVISION="31220"

View File

@ -52,7 +52,7 @@ spec:
privileged: true
containers:
- name: wazuh-elasticsearch
image: 'wazuh/wazuh-elasticsearch:3.12.0_7.6.1'
image: 'wazuh/wazuh-elasticsearch:3.12.2_7.6.2'
resources:
requests:
cpu: 500m

View File

@ -52,7 +52,7 @@ spec:
privileged: true
containers:
- name: wazuh-elasticsearch
image: 'wazuh/wazuh-elasticsearch:3.12.0_7.6.1'
image: 'wazuh/wazuh-elasticsearch:3.12.2_7.6.2'
resources:
requests:
cpu: 500m

View File

@ -52,7 +52,7 @@ spec:
privileged: true
containers:
- name: wazuh-elasticsearch
image: 'wazuh/wazuh-elasticsearch:3.12.0_7.6.1'
image: 'wazuh/wazuh-elasticsearch:3.12.2_7.6.2'
resources:
requests:
cpu: 500m

View File

@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: wazuh-kibana
image: 'wazuh/wazuh-kibana:3.12.0_7.6.1'
image: 'wazuh/wazuh-kibana:3.12.2_7.6.2'
resources:
requests:
cpu: 200m

View File

@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: wazuh-nginx
image: 'wazuh/wazuh-nginx:3.12.0_7.6.1'
image: 'wazuh/wazuh-nginx:3.12.2_7.6.2'
resources:
requests:
cpu: 100m

View File

@ -29,7 +29,7 @@ This pod contains the master node of the Wazuh cluster. The master node centrali
The management is performed only in this node, so the agent registration service (authd) and the API are placed here.
Details:
- Image: Docker Hub 'wazuh/wazuh:3.12.0_7.6.1'
- Image: Docker Hub 'wazuh/wazuh:3.12.2_7.6.2'
- Controller: StatefulSet
#### Wazuh worker 0 / 1
@ -37,7 +37,7 @@ Details:
These pods contain a worker node of the Wazuh cluster. They will receive the agent events.
Details:
- Image: Docker Hub 'wazuh/wazuh:3.12.0_7.6.1'
- Image: Docker Hub 'wazuh/wazuh:3.12.2_7.6.2'
- Controller: StatefulSet
@ -46,7 +46,7 @@ Details:
Elasticsearch pod. No Elasticsearch cluster is supported yet.
Details:
- Image: wazuh/wazuh-elasticsearch:3.12.0_7.6.1
- Image: wazuh/wazuh-elasticsearch:3.12.2_7.6.2
- Controller: StatefulSet
#### Kibana
@ -54,7 +54,7 @@ Details:
Kibana pod. It lets you visualize your Elasticsearch data, along with other features as the Wazuh app.
Details:
- image: Docker Hub 'wazuh/kibana:3.12.0_7.6.1'
- image: Docker Hub 'wazuh/kibana:3.12.2_7.6.2'
- Controller: Deployment
#### Nginx
@ -62,7 +62,7 @@ Details:
The nginx pod acts as a reverse proxy for a safer access to Kibana.
Details:
- image: Docker Hub 'wazuh/nginx:3.12.0_7.6.1'
- image: Docker Hub 'wazuh/nginx:3.12.2_7.6.2'
- Controller: Deployment
@ -134,9 +134,10 @@ Elasticsearch deployment.
```BASH
$ kubectl apply -f elastic_stack/elasticsearch/elasticsearch-svc.yaml
$ kubectl apply -f elastic_stack/elasticsearch/elasticsearch-api-svc.yaml
$ kubectl apply -f elastic_stack/elasticsearch/elasticsearch-sts.yaml
$ kubectl apply -f elastic_stack/elasticsearch/<architecture>/elasticsearch-api-svc.yaml
$ kubectl apply -f elastic_stack/elasticsearch/<architecture>/elasticsearch-sts.yaml
```
Where `<architecture>` is either `single-node` or `cluster`
### Step 3.3: Deploy Kibana and Nginx

View File

@ -27,12 +27,12 @@ Any file that we modify referring to the files previously mentioned, will be cha
To better understand it, we will give an example:
We have our newly created Kubernetes environment following our instructions. In this example, the image of Wazuh used has been `wazuh/wazuh:3.12.0_7.6.1`.
We have our newly created Kubernetes environment following our instructions. In this example, the image of Wazuh used has been `wazuh/wazuh:3.12.2_7.6.2`.
```
containers:
- name: wazuh-manager
image: 'wazuh/wazuh:3.12.0_7.6.1'
image: 'wazuh/wazuh:3.12.2_7.6.2'
```
Let's proceed by creating a set of rules in our `local_rules.xml` file at location `/var/ossec/etc/rules` in our wazuh manager master pod.
@ -187,7 +187,7 @@ And now we're going to upgrade to the next version:
```
containers:
- name: wazuh-manager
image: 'wazuh/wazuh:3.12.0_7.6.1'
image: 'wazuh/wazuh:3.12.2_7.6.2'
```

View File

@ -33,7 +33,7 @@ spec:
name: wazuh-manager-master-conf
containers:
- name: wazuh-manager
image: 'wazuh/wazuh:3.12.0_7.6.1'
image: 'wazuh/wazuh:3.12.2_7.6.2'
resources:
requests:
cpu: 2

View File

@ -47,7 +47,7 @@ spec:
name: wazuh-manager-worker-0-conf
containers:
- name: wazuh-manager
image: 'wazuh/wazuh:3.12.0_7.6.1'
image: 'wazuh/wazuh:3.12.2_7.6.2'
resources:
requests:
cpu: 2

View File

@ -47,7 +47,7 @@ spec:
name: wazuh-manager-worker-1-conf
containers:
- name: wazuh-manager
image: 'wazuh/wazuh:3.12.0_7.6.1'
image: 'wazuh/wazuh:3.12.2_7.6.2'
resources:
requests:
cpu: 2