amend deployment

This commit is contained in:
tsvetkov
2026-03-05 14:22:29 +00:00
parent d3894930c9
commit e9a69457be
2 changed files with 12 additions and 5 deletions

View File

@@ -6,14 +6,14 @@ all:
vars: vars:
# --- Project paths --- # --- Project paths ---
project_dir: "{{ playbook_dir }}/.." project_dir: "/home/username/elk-k8s-deployment/"
k8s_manifests_dir: "{{ project_dir }}/k8s" k8s_manifests_dir: "{{ project_dir }}/k8s"
scripts_dir: "{{ project_dir }}/scripts" scripts_dir: "{{ project_dir }}/scripts"
certs_dir: "{{ project_dir }}/certs" certs_dir: "{{ project_dir }}/certs"
# --- Minikube --- # --- Minikube ---
minikube_cpus: 4 minikube_cpus: 4
minikube_memory: 8192 minikube_memory: 12200
minikube_disk_size: "40g" minikube_disk_size: "40g"
minikube_driver: docker minikube_driver: docker

View File

@@ -113,7 +113,8 @@
tags: [minikube] tags: [minikube]
block: block:
- name: Check if Minikube is running - name: Check if Minikube is running
ansible.builtin.command: minikube status --format='{{.Host}}' # ansible.builtin.command: minikube status --format='{{.Host}}'
ansible.builtin.command: minikube status
register: minikube_status register: minikube_status
ignore_errors: true ignore_errors: true
changed_when: false changed_when: false
@@ -197,7 +198,7 @@
- name: Wait for Elasticsearch to be ready - name: Wait for Elasticsearch to be ready
ansible.builtin.command: > ansible.builtin.command: >
kubectl wait --for=condition=ready pod -l app=elasticsearch kubectl wait --for=condition=ready pod -l app=elasticsearch
-n elk --timeout=300s -n elk --timeout=420s
changed_when: false changed_when: false
# ======================================================================= # =======================================================================
@@ -248,6 +249,12 @@
-n elk --timeout=180s -n elk --timeout=180s
changed_when: false changed_when: false
- name: Wait for Authentik Worker
ansible.builtin.command: >
kubectl wait --for=condition=ready pod -l app=authentik-worker
-n elk --timeout=180s
changed_when: false
# ======================================================================= # =======================================================================
# PHASE 10 — Kibana # PHASE 10 — Kibana
# ======================================================================= # =======================================================================