b9a4a0b31d
This is a functioning neutron chart that leverages a flat network but supports vxlan and gre networks in values.yaml. We were unable to test the vxlan functionality as it tickles the bnx2x cards in our HP blade lab. For now, this leverages daemonsets which make sense. It does require a new label, namely openvswitch=enabled as we need a label that can be applied both to the control plane and tenant compute hosts as both require neutron agents and openvswitch. The interfaces today match our labs, namely enp11s0f0 for the flat network on physnet1 and enp12s0f0 for the external network. These can be overriden in values.yaml via set or a global environmental file. It depends on the keystone endpoint work. This chart was tested against a working nova chart not commited as DTadrzak has one open in PR#45
242 lines
5.0 KiB
YAML
242 lines
5.0 KiB
YAML
# Default values for memcached.
|
|
# This is a YAML-formatted file.
|
|
# Declare name/value pairs to be passed into your templates.
|
|
# name: value
|
|
|
|
replicas:
|
|
server: 1
|
|
|
|
images:
|
|
init: quay.io/stackanetes/stackanetes-kolla-toolbox:barcelona
|
|
db_sync: quay.io/stackanetes/stackanetes-neutron-server:barcelona
|
|
server: quay.io/stackanetes/stackanetes-neutron-server:barcelona
|
|
dhcp: quay.io/stackanetes/stackanetes-neutron-dhcp-agent:barcelona
|
|
metadata: quay.io/stackanetes/stackanetes-neutron-metadata-agent:barcelona
|
|
l3: quay.io/stackanetes/stackanetes-neutron-l3-agent:barcelona
|
|
neutron_openvswitch_agent: quay.io/stackanetes/stackanetes-neutron-openvswitch-agent:barcelona
|
|
openvswitch_db_server: quay.io/attcomdev/openvswitch-vswitchd:latest
|
|
openvswitch_vswitchd: quay.io/attcomdev/openvswitch-vswitchd:latest
|
|
post: quay.io/stackanetes/stackanetes-kolla-toolbox:barcelona
|
|
entrypoint: quay.io/stackanetes/kubernetes-entrypoint:v0.1.0
|
|
pull_policy: "IfNotPresent"
|
|
|
|
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
|
|
- mariadb-seed
|
|
service:
|
|
- rabbitmq
|
|
- mariadb
|
|
- keystone-api
|
|
- memcached
|
|
dhcp:
|
|
service:
|
|
- neutron-server
|
|
- rabbitmq
|
|
- nova-api
|
|
jobs:
|
|
- neutron-init
|
|
- nova-post
|
|
daemonset:
|
|
- neutron-openvswitch
|
|
metadata:
|
|
jobs:
|
|
- neutron-init
|
|
- nova-post
|
|
service:
|
|
- neutron-server
|
|
- rabbitmq
|
|
- nova-api
|
|
daemonset:
|
|
- neutron-openvswitch
|
|
openvswitchagent:
|
|
jobs:
|
|
- neutron-post
|
|
- nova-post
|
|
service:
|
|
- keystone-api
|
|
- rabbitmq
|
|
- neutron-server
|
|
container:
|
|
- openvswitch-db-server
|
|
- openvswitch-vswitchd
|
|
l3:
|
|
jobs:
|
|
- nova-init
|
|
- neutron-init
|
|
- nova-post
|
|
service:
|
|
- neutron-server
|
|
- rabbitmq
|
|
- nova-api
|
|
daemonset:
|
|
- neutron-openvswitch
|
|
db_sync:
|
|
jobs:
|
|
- neutron-init
|
|
- mariadb-seed
|
|
service:
|
|
- mariadb
|
|
init:
|
|
jobs:
|
|
- mariadb-seed
|
|
service:
|
|
- mariadb
|
|
post:
|
|
jobs:
|
|
- neutron-db-sync
|
|
service:
|
|
- keystone-api
|
|
- neutron-server
|
|
|
|
# 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
|