Fix ceilometer deployment

Change-Id: I9474f2e6b920b58f61bd9a533ce9b56a06034ff6
This commit is contained in:
okozachenko 2020-06-18 20:01:25 +03:00
parent 22d14c318c
commit fa82dbe9c2

View File

@ -35,13 +35,7 @@ spec:
containers: containers:
- name: agent - name: agent
image: vexxhost/ceilometer-agent-notification:latest image: vexxhost/ceilometer-agent-notification:latest
env: imagePullPolicy: Always
- name: "DATABASE_URI"
value: "{{ spec.dbUri }}"
{% for v in env %}
- name: "{{ v.name }}"
value: "{{ v.value }}"
{% endfor %}
volumeMounts: volumeMounts:
- name: ceilometer-config - name: ceilometer-config
mountPath: /etc/ceilometer mountPath: /etc/ceilometer
@ -51,11 +45,28 @@ spec:
ephemeral-storage: 1G ephemeral-storage: 1G
memory: 256M memory: 256M
requests: requests:
cpu: 500m cpu: 200m
ephemeral-storage: 1G ephemeral-storage: 1G
memory: 128M memory: 128M
- name: atmosphere-ingress - name: atmosphere-ingress
image: vexxhost/atmosphere-ingress image: vexxhost/atmosphere-ingress
imagePullPolicy: Always
env:
- name: "DATABASE_URI"
value: "{{ spec.dbUri }}"
{% for v in env %}
- name: "{{ v.name }}"
value: "{{ v.value }}"
{% endfor %}
resources:
limits:
cpu: 100m
ephemeral-storage: 100M
memory: 128M
requests:
cpu: 50m
ephemeral-storage: 100M
memory: 64M
volumes: volumes:
- name: ceilometer-config - name: ceilometer-config
secret: secret: