mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 11:44:43 +02:00
fix(k8s/open-webui): memory 1Gi→2Gi (OOMKill HuggingFace download au boot)
fix(ansible/postgresql): GRANT ALL ON SCHEMA public (PostgreSQL 15+ default) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bdd36d7188
commit
f9609e48dd
2 changed files with 16 additions and 2 deletions
|
|
@ -139,5 +139,19 @@
|
||||||
loop: "{{ postgresql_users }}"
|
loop: "{{ postgresql_users }}"
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
|
# PostgreSQL 15+ révoque CREATE ON SCHEMA public par défaut
|
||||||
|
- name: Grant schema public to users (PostgreSQL 15+)
|
||||||
|
community.postgresql.postgresql_privs:
|
||||||
|
database: "{{ item.db }}"
|
||||||
|
privs: ALL
|
||||||
|
type: schema
|
||||||
|
objs: public
|
||||||
|
role: "{{ item.name }}"
|
||||||
|
state: present
|
||||||
|
become: true
|
||||||
|
become_user: postgres
|
||||||
|
loop: "{{ postgresql_users }}"
|
||||||
|
no_log: true
|
||||||
|
|
||||||
# Firewall géré centralement par le rôle gateway (nftables)
|
# Firewall géré centralement par le rôle gateway (nftables)
|
||||||
# Port 5432 ouvert pour cluster_network dans nftables.conf.j2
|
# Port 5432 ouvert pour cluster_network dans nftables.conf.j2
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,10 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 256Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
memory: 1Gi
|
memory: 2Gi
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue