add the readme

This commit is contained in:
tsvetkov
2026-02-27 09:45:34 +00:00
parent 1f6e65ab7d
commit d3894930c9

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
This is intended for use with the [elk-jdbc-sso](https://git.96-fromsofia.net/k8s/elk-jdbc-sso) stack.
More information about how this project can be found there.
- To run the playbook:
```
ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --ask-become-pass
```
- It is also possible to run individual phases:
```
# Regenerate certificates only
ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --tags certs,secrets
# Redeploy only Logstash
ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --tags logstash
# Redeploy Elasticsearch and re-run setup
ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --tags elasticsearch,es-setup
```
- To remove the deployment:
```
# Remove all K8s resources but keep Minikube running
ansible-playbook -i inventory/hosts.yml playbooks/teardown.yml --ask-become-pass
# Remove everything including Minikube
ansible-playbook -i inventory/hosts.yml playbooks/teardown.yml --ask-become-pass -e stop_minikube=true
```