fc21a2e924
* Add resources limits and requests for each chart * Refactor the resources limits and requests to follow a patern * Fix some coding issues * fix issues resulting from feedback on the resources PR * Reset some variables to a static value in the neutron chart. * Substituting variable entrypoint by dependency_check in the concerned files * Few adjustments * Update deploy-region.yaml * Update deployment.yaml * Add resources limits and requests for each chart Squah all commits in one. * Add resources limits and requests for some charts * cleaning * Fix indendation issue * Update deployment.yaml * Update daemonset-ovs-vswitchd.yaml
318 lines
6.2 KiB
YAML
318 lines
6.2 KiB
YAML
# Default values for neutron.
|
|
# This is a YAML-formatted file.
|
|
# Declare name/value pairs to be passed into your templates.
|
|
# name: value
|
|
|
|
replicas:
|
|
server: 1
|
|
|
|
images:
|
|
db_init: quay.io/stackanetes/stackanetes-kolla-toolbox:newton
|
|
db_sync: quay.io/stackanetes/stackanetes-neutron-server:newton
|
|
server: quay.io/stackanetes/stackanetes-neutron-server:newton
|
|
dhcp: quay.io/stackanetes/stackanetes-neutron-dhcp-agent:newton
|
|
metadata: quay.io/stackanetes/stackanetes-neutron-metadata-agent:newton
|
|
l3: quay.io/stackanetes/stackanetes-neutron-l3-agent:newton
|
|
neutron_openvswitch_agent: quay.io/stackanetes/stackanetes-neutron-openvswitch-agent:newton
|
|
openvswitch_db_server: quay.io/attcomdev/openvswitch-vswitchd:latest
|
|
openvswitch_vswitchd: quay.io/attcomdev/openvswitch-vswitchd:latest
|
|
post: quay.io/stackanetes/stackanetes-kolla-toolbox:newton
|
|
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.1.0
|
|
pull_policy: "IfNotPresent"
|
|
|
|
upgrades:
|
|
revision_history: 3
|
|
pod_replacement_strategy: RollingUpdate
|
|
rolling_update:
|
|
max_unavailable: 1
|
|
max_surge: 3
|
|
|
|
labels:
|
|
# ovs is a special case, requiring a special
|
|
# label that can apply to both control hosts
|
|
# and compute hosts, until we get more sophisticated
|
|
# with our daemonset scheduling
|
|
ovs:
|
|
node_selector_key: openvswitch
|
|
node_selector_value: enabled
|
|
agent:
|
|
dhcp:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
l3:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
metadata:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
server:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
|
|
network:
|
|
dns:
|
|
kubernetes_domain: cluster.local
|
|
# this must list the skydns server first, and in calico
|
|
# this is consistently 10.96.0.10
|
|
servers:
|
|
- 10.96.0.10
|
|
- 8.8.8.8
|
|
external_bridge: br-ex
|
|
ip_address: 0.0.0.0
|
|
interface:
|
|
external: enp12s0f0
|
|
default: enp11s0f0
|
|
port:
|
|
server: 9696
|
|
metadata: 8775
|
|
|
|
memcached:
|
|
address: "memcached:11211"
|
|
|
|
rabbitmq:
|
|
address: rabbitmq
|
|
admin_user: rabbitmq
|
|
admin_password: password
|
|
port: 5672
|
|
|
|
keystone:
|
|
admin_user: "admin"
|
|
admin_password: "password"
|
|
admin_project_name: "admin"
|
|
admin_region_name: "RegionOne"
|
|
domain_name: "default"
|
|
tenant_name: "admin"
|
|
|
|
neutron_user: "neutron"
|
|
neutron_password: "password"
|
|
neutron_region_name: "RegionOne"
|
|
|
|
nova_user: "nova"
|
|
nova_password: "password"
|
|
nova_region_name: "RegionOne"
|
|
|
|
database:
|
|
port: 3306
|
|
root_user: root
|
|
root_password: password
|
|
neutron_database_name: neutron
|
|
neutron_password: password
|
|
neutron_user: neutron
|
|
|
|
metadata_agent:
|
|
default:
|
|
debug: 'True'
|
|
|
|
neutron:
|
|
workers: 4
|
|
default:
|
|
l3_ha_network_type: gre
|
|
debug: 'True'
|
|
metadata:
|
|
workers: 4
|
|
|
|
ml2:
|
|
tenant_network_types: "flat"
|
|
agent:
|
|
tunnel_types: null
|
|
type_drivers:
|
|
- flat
|
|
mechanism_drivers:
|
|
- openvswitch
|
|
- l2population
|
|
ml2_type_vxlan:
|
|
vni_ranges: "1:1000"
|
|
vxlan_group: 239.1.1.1
|
|
ml2_type_gre:
|
|
tunnel_id_ranges: "1:1000"
|
|
ml2_type_flat:
|
|
flat_networks:
|
|
- "*"
|
|
ml2_type_vlan:
|
|
network_vlan_ranges: "physnet1:1100:1110"
|
|
ovs:
|
|
auto_bridge_add:
|
|
br-physnet1: enp11s0f0
|
|
bridge_mappings:
|
|
- "physnet1:br-physnet1"
|
|
|
|
dependencies:
|
|
server:
|
|
jobs:
|
|
- neutron-db-sync
|
|
service:
|
|
- rabbitmq
|
|
- mariadb
|
|
- keystone-api
|
|
- memcached
|
|
dhcp:
|
|
service:
|
|
- neutron-server
|
|
- rabbitmq
|
|
- nova-api
|
|
jobs:
|
|
- neutron-db-init
|
|
- nova-post
|
|
daemonset:
|
|
- ovs-agent
|
|
metadata:
|
|
service:
|
|
- rabbitmq
|
|
- nova-api
|
|
jobs:
|
|
- neutron-db-init
|
|
- nova-post
|
|
daemonset:
|
|
- ovs-agent
|
|
ovs_agent:
|
|
jobs:
|
|
- neutron-post
|
|
- nova-post
|
|
service:
|
|
- keystone-api
|
|
- rabbitmq
|
|
- neutron-server
|
|
l3:
|
|
service:
|
|
- neutron-server
|
|
- rabbitmq
|
|
- nova-api
|
|
jobs:
|
|
- nova-db-init
|
|
- neutron-db-init
|
|
- nova-post
|
|
daemonset:
|
|
- ovs-agent
|
|
db_sync:
|
|
jobs:
|
|
- neutron-db-init
|
|
service:
|
|
- mariadb
|
|
db_init:
|
|
jobs:
|
|
- mariadb-seed
|
|
service:
|
|
- mariadb
|
|
post:
|
|
service:
|
|
- keystone-api
|
|
jobs:
|
|
- neutron-db-sync
|
|
|
|
resources:
|
|
enabled: false
|
|
agent:
|
|
dhcp:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
l3:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
metadata:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
ovs:
|
|
agent:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
db:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
vswitchd:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
server:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
jobs:
|
|
db_sync:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
init:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
post:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
|
|
# typically overriden by environmental
|
|
# values, but should include all endpoints
|
|
# required by this chart
|
|
endpoints:
|
|
glance:
|
|
hosts:
|
|
default: glance-api
|
|
type: image
|
|
path: null
|
|
scheme: 'http'
|
|
port:
|
|
api: 9292
|
|
registry: 9191
|
|
nova:
|
|
hosts:
|
|
default: nova-api
|
|
path: "/v2/%(tenant_id)s"
|
|
type: compute
|
|
scheme: 'http'
|
|
port:
|
|
api: 8774
|
|
metadata: 8775
|
|
novncproxy: 6080
|
|
keystone:
|
|
hosts:
|
|
default: keystone-api
|
|
path: /v3
|
|
type: identity
|
|
scheme: 'http'
|
|
port:
|
|
admin: 35357
|
|
public: 5000
|
|
neutron:
|
|
hosts:
|
|
default: neutron-server
|
|
path: null
|
|
type: network
|
|
scheme: 'http'
|
|
port:
|
|
api: 9696
|