-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PR checks for wazuh-kubernetes repository #878
Comments
I begin the analysis of the implementation of the tests. |
A workflow was created, which contains 2 jobs:
These jobs prepare the environment to deploy each of the options. In the EKS job, eksctl is used to create the cluster in AWS, the iamserviceaccount is created for the addon permissions to create EBSs and the installation of the addon in the cluster. The Wazuh stack is then deployed and at the end the eks cluster is deleted. It is necessary to review the necessary AWS permissions, since there are errors in the creation of the iamserviceaccount and then set up some tests to verify the correct deployment of the stacks. |
I have been performing an analysis to obtain the logs of each of the components deployed in each of the stacks, which have different ways of accessing the deployed pods and how to obtain the connection data. |
I have managed to deploy both environments, both in EKS and locally with Minikube, correctly. Within the execution job in EKS I added all the steps for the creation of the cluster and its subsequent elimination, in order not to leave major expenses in AWS. It is required to continue with the elimination of the volumes associated with the dynamic allocation of PVCs during the deployment of Wazuh. |
I was investigating an error generated when consulting the Wazuh manager API
The error was generated by the type of portforward performed in Minikube against the Wazuh manager Load Balancer. |
UpdateIt was possible to execute both the deployment test in EKS and the local deployment in the workflow |
Description
As part of the DevOps overhaul objective, we need to add PR checks using the Allocator module (if applies). The checks should test the deployments using Minikube and EKS.
Tasks
Examples/references
The following workflows use the Allocator, we should replicate its use (if applies):
The text was updated successfully, but these errors were encountered: