리소스 변경

This commit is contained in:
ByeonJungHun
2023-11-21 17:41:40 +09:00
parent 970022b3b2
commit 259511f683
5 changed files with 19 additions and 15 deletions

View File

@@ -2,6 +2,8 @@
- hosts: cluster - hosts: cluster
become: true become: true
gather_facts: true gather_facts: true
environment:
KUBECONFIG: /root/.kube/ansible_config
vars: vars:
cmoa_namespace: imxc cmoa_namespace: imxc
pg_version: pg_version:

View File

@@ -1,11 +1,11 @@
[master] [master]
10.10.43.210 10.10.43.200
[worker1] [worker1]
10.10.43.211 10.10.43.201
[worker2] [worker2]
10.10.43.212 10.10.43.202
[cluster:children] [cluster:children]
master master

View File

@@ -355,7 +355,7 @@ alertmanager:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
distributor: distributor:
replicas: 1 replicas: 2
service: service:
annotations: {} annotations: {}
@@ -458,7 +458,7 @@ distributor:
lifecycle: {} lifecycle: {}
ingester: ingester:
replicas: 1 replicas: 3
statefulSet: statefulSet:
# -- If true, use a statefulset instead of a deployment for pod management. # -- If true, use a statefulset instead of a deployment for pod management.
@@ -737,7 +737,7 @@ ruler:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
querier: querier:
replicas: 1 replicas: 3
service: service:
annotations: {} annotations: {}
@@ -839,7 +839,7 @@ querier:
lifecycle: {} lifecycle: {}
query_frontend: query_frontend:
replicas: 1 replicas: 3
service: service:
annotations: {} annotations: {}

View File

@@ -1792,12 +1792,14 @@ create table public.audit_log
target jsonb target jsonb
); );
CREATE TABLE "intermax" ( create table public.intermax
"cluster_id" VARCHAR(128) NOT NULL, (
"namespace" VARCHAR(128) NOT NULL, cluster_id varchar(128) not null,
"url" VARCHAR(256) NULL DEFAULT NULL, namespace varchar(128) not null,
"service_name" VARCHAR(128) NULL DEFAULT NULL, url varchar(256),
PRIMARY KEY ("cluster_id", "namespace") service_name varchar(128),
constraint intermax_pk
primary key (cluster_id, namespace)
); );
-- Configuration Table 생성 -- Configuration Table 생성