Skip to content

Commit

Permalink
Merge pull request #84 from wazuh/wazuh-release-v3.12.2_7.6.4
Browse files Browse the repository at this point in the history
Wazuh Kubernetes release v3.12.2 7.6.2
  • Loading branch information
Manuel J. Bernal authored Apr 13, 2020
2 parents 22b009c + 6fc3646 commit a3e46fb
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 21 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,20 @@ The *instructions.md* file describes how to deploy Wazuh on Kubernetes.
│ ├── README.md
│ ├── VERSION
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── LICENSE
│ ├── cleanup.md
│ ├── instructions.md
│ ├── upgrade.md

## 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

Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION="v3.12.0_7.6.1"
REVISION="31200"
VERSION="v3.12.2_7.6.2"
REVISION="31220"
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion elastic_stack/kibana/kibana-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion elastic_stack/kibana/nginx-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 8 additions & 7 deletions instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ 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

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


Expand All @@ -46,23 +46,23 @@ 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

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

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


Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'
```


Expand Down
2 changes: 1 addition & 1 deletion wazuh_managers/wazuh-master-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wazuh_managers/wazuh-worker-0-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wazuh_managers/wazuh-worker-1-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3e46fb

Please sign in to comment.