add the readme
This commit is contained in:
28
README.md
Normal file
28
README.md
Normal 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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user