Replaced rabbitMQ with Kafka, fixed regcred
This commit is contained in:
@@ -39,6 +39,8 @@ spec:
|
||||
- "-config.file=/etc/loki/loki.yaml"
|
||||
ports:
|
||||
- containerPort: 3100
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
@@ -98,10 +100,10 @@ spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 512Mi
|
||||
memory: 512M
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
memory: 256M
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ready
|
||||
@@ -136,6 +138,8 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
terminationGracePeriodSeconds: 60
|
||||
volumes:
|
||||
- name: api-logger-promtail-run
|
||||
@@ -176,7 +180,7 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
#storageClassName: api-logger-prometheus-pv
|
||||
storageClassName: api-logger-prometheus-pv
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
@@ -271,11 +275,11 @@ spec:
|
||||
# port: prometheus-http
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150m
|
||||
memory: 894Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 512Mi
|
||||
memory: 512M
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 256M
|
||||
volumeMounts:
|
||||
# - name: config-volume
|
||||
# mountPath: /etc/prometheus
|
||||
@@ -293,6 +297,8 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
volumes:
|
||||
- name: api-logger-prometheus-storage
|
||||
persistentVolumeClaim:
|
||||
@@ -340,7 +346,7 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
#storageClassName: api-logger-grafana-pv
|
||||
storageClassName: api-logger-grafana-pv
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -372,7 +378,6 @@ spec:
|
||||
initContainers:
|
||||
- name: curl
|
||||
image: curlimages/curl:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- /bin/sh
|
||||
args:
|
||||
@@ -403,10 +408,10 @@ spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 768Mi
|
||||
memory: 512M
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 512Mi
|
||||
memory: 256M
|
||||
volumeMounts:
|
||||
- name: api-logger-grafana-storage
|
||||
mountPath: /var/lib/grafana
|
||||
@@ -426,6 +431,8 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
volumes:
|
||||
- name: api-logger-grafana-storage
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user