Merge "Replace jmalloc/echo-server with vexxhost/atmosphere"
This commit is contained in:
commit
22d14c318c
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
secretName: devstack
|
secretName: devstack
|
||||||
configMap:
|
configMap:
|
||||||
|
ceilometer:
|
||||||
|
dbUri: "sqlite:///:memory:"
|
||||||
horizon:
|
horizon:
|
||||||
ingress:
|
ingress:
|
||||||
host: "horizon.vexxhost.com"
|
host: "horizon.vexxhost.com"
|
||||||
|
@ -4,6 +4,8 @@ metadata:
|
|||||||
name: operator-config
|
name: operator-config
|
||||||
data:
|
data:
|
||||||
operator-config.yaml: |
|
operator-config.yaml: |
|
||||||
|
ceilometer:
|
||||||
|
dbUri: "sqlite:///:memory:"
|
||||||
horizon:
|
horizon:
|
||||||
ingress:
|
ingress:
|
||||||
host: "horizon.vexxhost.com"
|
host: "horizon.vexxhost.com"
|
||||||
|
@ -25,8 +25,10 @@ def create_or_resume(spec):
|
|||||||
"""Create or start-up Ceilometer."""
|
"""Create or start-up Ceilometer."""
|
||||||
|
|
||||||
config_hash = utils.generate_hash(spec)
|
config_hash = utils.generate_hash(spec)
|
||||||
|
env = utils.get_uwsgi_env()
|
||||||
|
|
||||||
utils.create_or_update('ceilometer/secret.yml.j2', spec=spec)
|
utils.create_or_update('ceilometer/secret.yml.j2', spec=spec)
|
||||||
utils.create_or_update('ceilometer/deployment-agent-notification.yml.j2',
|
utils.create_or_update('ceilometer/deployment-agent-notification.yml.j2',
|
||||||
spec=spec, config_hash=config_hash)
|
spec=spec, env=env,
|
||||||
|
config_hash=config_hash)
|
||||||
utils.create_or_update('ceilometer/horizontalpodautoscaler.yml.j2')
|
utils.create_or_update('ceilometer/horizontalpodautoscaler.yml.j2')
|
||||||
|
@ -35,6 +35,13 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: agent
|
- name: agent
|
||||||
image: vexxhost/ceilometer-agent-notification:latest
|
image: vexxhost/ceilometer-agent-notification:latest
|
||||||
|
env:
|
||||||
|
- 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
|
||||||
@ -48,10 +55,7 @@ spec:
|
|||||||
ephemeral-storage: 1G
|
ephemeral-storage: 1G
|
||||||
memory: 128M
|
memory: 128M
|
||||||
- name: atmosphere-ingress
|
- name: atmosphere-ingress
|
||||||
image: jmalloc/echo-server
|
image: vexxhost/atmosphere-ingress
|
||||||
env:
|
|
||||||
- name: LOG_HTTP_BODY
|
|
||||||
value: 'true'
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: ceilometer-config
|
- name: ceilometer-config
|
||||||
secret:
|
secret:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user