Enable oslo.cache for Neutron metadata agent
Neutron metadata agent can use oslo.cache to cache some requests to neutron-server. As we have memcached already in place, we can enable that feature. This commit does so. Change-Id: I4ec1e7d22ed6bb54359dd5b6a80bc42222e59d00
This commit is contained in:
parent
8ac7ec6525
commit
3d732ce4d0
@ -49,6 +49,10 @@
|
||||
{{- tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set .Values.conf.neutron.nova.nova.auth "auth_url" | quote | trunc 0 -}}
|
||||
{{- end }}
|
||||
|
||||
{{- if empty .Values.conf.metadata_agent.cache.oslo.cache.memcache_servers -}}
|
||||
{{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" | set .Values.conf.metadata_agent.cache.oslo.cache "memcache_servers" | quote | trunc 0 -}}
|
||||
{{- end -}}
|
||||
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
|
@ -446,6 +446,11 @@ conf:
|
||||
nova_metadata_port: 80
|
||||
nova_metadata_protocol: http
|
||||
metadata_proxy_shared_secret: "password"
|
||||
cache:
|
||||
oslo:
|
||||
cache:
|
||||
enabled: true
|
||||
backend: dogpile.cache.memcached
|
||||
sriov_agent:
|
||||
override:
|
||||
append:
|
||||
|
Loading…
x
Reference in New Issue
Block a user