Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

[Quota Manager] Fix k8s Deployment Issues #391

Merged
merged 182 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
d745b47
Update design documents and table of content
Oct 1, 2019
1fc253e
Update README.md
Oct 2, 2019
9b0efb6
Add cloud-native key word
Oct 2, 2019
db0a699
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
Oct 2, 2019
424dd5b
Start docs for comm and controller
Oct 2, 2019
b41edb9
Add design sketch
Oct 8, 2019
3e54c57
Design spec round 1
Oct 19, 2019
d7d8ad9
Rename fast path file and start feature comparison
Oct 20, 2019
4c6588e
Update rescue path doc [DRAFT]
er1cthe0ne Oct 24, 2019
cceaa68
upload rescue_path.GIF
er1cthe0ne Oct 24, 2019
9785656
update rescue path needed change table
er1cthe0ne Oct 24, 2019
3e2b63e
rescue_path.GIF
er1cthe0ne Oct 25, 2019
f8fc472
rescue_path.adoc
er1cthe0ne Oct 25, 2019
2480dd1
Design spec round 2
Oct 25, 2019
68eda0b
Monitoring design outline
Oct 26, 2019
c1c9cc7
Update comm docs
Oct 26, 2019
79e91fe
Update data storage design
Oct 26, 2019
ca69892
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
Oct 26, 2019
8b154ab
Update data store
Oct 28, 2019
4561d1e
Complete review of existing dbs
Oct 29, 2019
ca4610e
Update review table
Oct 29, 2019
24b4a36
Adjust table column width
Oct 29, 2019
45774da
Update feature comparsion table
Oct 29, 2019
18e500c
Finalize review section in data store
Oct 29, 2019
cc99d14
Add design diagram
Oct 30, 2019
a9c8232
Add a design diagram
Oct 30, 2019
2823921
Add files via upload
er1cthe0ne Oct 30, 2019
47b7e45
fix "design" session level
er1cthe0ne Oct 30, 2019
8c9c004
Update monitoring.adoc
er1cthe0ne Oct 30, 2019
4180450
Update monitoring.adoc
er1cthe0ne Oct 30, 2019
dc39589
Add architectural design discussion
Oct 30, 2019
847900e
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
Oct 30, 2019
088feff
Update architecture image link
Oct 31, 2019
a16e184
Finalize storage design
Oct 31, 2019
041b203
Update a few subtitles
Oct 31, 2019
359463e
Minor grammar fixes
Oct 31, 2019
5d178e4
Add controller architecture diagram
Nov 2, 2019
ca474b0
Update node_monitoring.adoc
er1cthe0ne Nov 4, 2019
35a4ce3
Update monitoring.adoc
er1cthe0ne Nov 4, 2019
4b97cfe
Update monitoring.adoc
er1cthe0ne Nov 4, 2019
0df003a
Update node_monitoring.adoc
er1cthe0ne Nov 4, 2019
72916af
Update monitoring.adoc
er1cthe0ne Nov 4, 2019
db7c3ee
Minor fixes for adoc file
Nov 5, 2019
ed03395
Update monitoring.adoc
er1cthe0ne Nov 5, 2019
6e9944d
Fix references in monitoring doc
Nov 5, 2019
c0723c0
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
Nov 5, 2019
9a41b55
Update monitoring.adoc
er1cthe0ne Nov 5, 2019
24dddf8
Update monitoring.adoc
er1cthe0ne Nov 5, 2019
daf7f55
Add details based on disucssion
Nov 5, 2019
f4bae19
Add a table of content
Nov 5, 2019
f20d71f
Update monitoring.adoc
er1cthe0ne Nov 5, 2019
a753035
Update node_monitoring.adoc
er1cthe0ne Nov 5, 2019
691d658
Update monitoring.adoc
er1cthe0ne Nov 5, 2019
310b51d
Add one item for node monitoring
Nov 5, 2019
b414287
Update node_monitoring.adoc
er1cthe0ne Nov 5, 2019
5c8c86e
Reorganize monitoring doc and update design doc metadata format
Nov 6, 2019
1d0606e
Update rescue_path.adoc
er1cthe0ne Nov 8, 2019
a632e48
Add benchmark results
Nov 12, 2019
fd3762d
Update rescue_path.adoc
er1cthe0ne Nov 20, 2019
769f545
Update monitoring.adoc
er1cthe0ne Nov 21, 2019
de441c3
Update data model doc
Feb 5, 2020
eebe700
Merge from master
Feb 24, 2020
4cbd99a
Add API workflow chart for creation of vpc, subnet and port
Feb 27, 2020
46215bf
Update Create workflow chart
Feb 27, 2020
9b1fbec
Create dataplane_abstraction.adoc
er1cthe0ne Mar 2, 2020
62ad9f4
Update dataplane_abstraction.adoc
er1cthe0ne Mar 2, 2020
9e52e6c
Update dataplane_abstraction.adoc
er1cthe0ne Mar 2, 2020
6b7975e
Update dataplane_abstraction.adoc
er1cthe0ne Mar 2, 2020
ea356ae
Update dataplane_abstraction.adoc
er1cthe0ne Mar 2, 2020
b9c563a
Update dataplane_abstraction.adoc
er1cthe0ne Mar 2, 2020
6c071a0
Update dataplane_abstraction.adoc
er1cthe0ne Mar 10, 2020
9728695
Update dataplane_abstraction.adoc
er1cthe0ne Mar 10, 2020
a915d5b
Add workflow option 2
Mar 12, 2020
ad49c7c
Update system_flow.adoc
er1cthe0ne Mar 18, 2020
c93da51
added - Reference: Neutron High Level Flow
er1cthe0ne Mar 19, 2020
7feebf8
Update system_flow.adoc
er1cthe0ne Mar 19, 2020
7dc4d4b
Update creation workflow
Mar 19, 2020
45ba64e
Update system_flow.adoc
er1cthe0ne Mar 19, 2020
68b0553
check permission
Mar 24, 2020
0c0faa6
api gateway draft
Mar 27, 2020
4dcd9f5
Merge branch 'master' into docs/design
Apr 2, 2020
ec05e70
update controller doc
Apr 3, 2020
7b53131
Merge branch 'master' into docs/design
Apr 4, 2020
f0622e2
Update ToC with microservice doc link
Apr 7, 2020
ab9736e
Update ToC and add vpc/mac manager design files
Apr 7, 2020
f5a5154
Add key difference file
Apr 7, 2020
a102fb1
Merge branch 'master' into docs/design
Apr 9, 2020
ac115c6
Minor updates in system flow
Apr 9, 2020
80b4a4d
Add microservice snapshot table
Apr 9, 2020
669c1e4
Add concurrency handling
Apr 10, 2020
cb72f12
Update controller design doc
Apr 10, 2020
516a4f2
update api_gateway file name
Apr 10, 2020
8a63380
update file names
Apr 10, 2020
22b1e64
Merge mac manager design spec from eunju:feature/macmanager
Apr 10, 2020
bdcb7c3
Merge from master
Apr 19, 2020
83e691b
Add API completeness doc
Apr 20, 2020
ef6a1a8
Updtate api_completeness table
Apr 21, 2020
057c314
Add API count
Apr 21, 2020
66743d2
Add references for OpenStack and Alcor
Apr 21, 2020
fb74537
Merge branch 'master' into docs/design
Apr 26, 2020
cdd80c5
Add vpc/subnet pumls
May 4, 2020
af326f9
Merge branch 'master' into docs/design
May 4, 2020
62f6e39
update vpc puml and system flow adoc
May 4, 2020
ef2d717
Add vm/vpc workflows and puml template
May 7, 2020
ad7fd05
Merge from xieus/master
May 8, 2020
f58577c
Squashed commit of the following:
May 9, 2020
592bdd0
Add a set of new workflows and start services docs
May 14, 2020
1804923
Clean node manager pom.xml and modify docker file
May 14, 2020
c3fd4b5
Clean mac manager pom.xml and modify docker file
May 14, 2020
584e38a
Clean port manager pom.xml and modify docker file
May 14, 2020
c58eaf7
Clean ip manager pom.xml and modify docker file
May 14, 2020
c1775e0
Clean route manager pom.xml and modify docker file
May 14, 2020
ad76d8c
Add maven compile plugin to route pom
May 15, 2020
fc7961b
Clean subnet manager pom.xml and modify docker file
May 15, 2020
a532098
Clean vpc manager pom.xml and modify docker file
May 15, 2020
d708224
Clean API gateway pom.xml and modify docker file
May 15, 2020
1647924
Update pom for lib, web and all other services
May 15, 2020
19674f0
Update main pom file
May 15, 2020
f257f57
Update schema pom files and add dependencies to all service pom
May 15, 2020
c19ce7d
Merge branch 'master' of https://github.com/futurewei-cloud/alcor
May 15, 2020
eb3877f
Temp disable mac manager UTs for further investigation
May 16, 2020
5ae43cd
Merge branch 'master' of https://github.com/futurewei-cloud/alcor
May 16, 2020
7912c8d
Merge from master
May 16, 2020
a566f2f
Outline design doc for dpm,mq,nhm,nmm, update controller and toc docs
May 18, 2020
8c0052b
Add nova integration doc
May 18, 2020
e6fdcd1
Update openstack workflow link
May 18, 2020
9158ce3
update link
May 18, 2020
105a37d
update puml file link
May 18, 2020
f3da89d
add a temp vm_create puml under design and update puml file link in n…
May 18, 2020
7ea3c7b
update puml file link
May 18, 2020
b8afc29
update puml file link
May 18, 2020
1665801
update puml file link
May 18, 2020
a8f1ce3
Clean mac manager pom.xml and modify docker file
May 14, 2020
5094345
Clean vpc manager pom.xml and modify docker file
May 15, 2020
67cdfc9
Update pom for lib, web and all other services
May 15, 2020
8b47084
Update schema pom files and add dependencies to all service pom
May 15, 2020
3bca77c
Temp disable mac manager UTs for further investigation
May 16, 2020
2709c68
Merge branch 'master' of https://github.com/xieus/alcor
May 18, 2020
b2446b1
Merge branch 'upstream_master' into docs/design
May 18, 2020
f015303
Reorg design docs into an Antora-supported structure
May 20, 2020
77ef00f
update antora.yml and rename toc to index
May 20, 2020
466a237
Add playbook yml
May 20, 2020
b895a4d
add nav adoc
May 22, 2020
67def70
update antora.yml
May 22, 2020
e7dd179
update antora.yml format
May 22, 2020
7794ff0
Merge pull request #2 from xieus/docs/design
May 22, 2020
44e57fd
Move adoc files under pages folder
May 22, 2020
622ad96
update antora playbook
May 22, 2020
e9de510
update links in README
May 22, 2020
17fbbca
move image and workflow up to ROOT
May 22, 2020
a55ff88
update links in affected docs
May 22, 2020
c15dc85
Merge from alcor/master
May 22, 2020
5085ddf
sync up
kevin-zhonghao Jul 2, 2020
98a447c
Merge remote-tracking branch 'remotes/upstream/master' into new_master
kevin-zhonghao Jul 2, 2020
f6d42f2
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 2, 2020
ee965e7
sync up
kevin-zhonghao Jul 7, 2020
3f81196
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 7, 2020
df99b38
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 8, 2020
d8b23d4
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 9, 2020
af3a28c
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 16, 2020
2d8cf02
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 17, 2020
95d4e01
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 20, 2020
a2c6e95
:Merge branch 'master' of https://github.com/futurewei-cloud/alcor in…
kevin-zhonghao Jul 28, 2020
8731f23
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 29, 2020
a54029e
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 30, 2020
fc4af48
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Jul 31, 2020
56f75e4
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 4, 2020
b969fa4
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 5, 2020
55451d8
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 11, 2020
04b612d
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 12, 2020
4c46856
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 14, 2020
dbe2be7
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 17, 2020
a393405
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 18, 2020
eabd200
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 19, 2020
b3eec65
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 21, 2020
88b02b7
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Aug 28, 2020
4bce0d7
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Sep 2, 2020
dee095b
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Sep 8, 2020
cd78452
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Sep 17, 2020
3cd80a4
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Sep 22, 2020
3d10aaa
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao Sep 24, 2020
a6cfa95
update
kevin-zhonghao Sep 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes/services/api-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data:
microservices.port.service.url=http://portmanager-service.default.svc.cluster.local:9006/
microservices.sg.service.url=http://sgmanager-service.default.svc.cluster.local:9008/
microservices.route.service.url=http://routemanager-service.default.svc.cluster.local:9003/
microservices.quota.service.url = http://vpcmanager-service.default.svc.cluster.local:9001/
microservices.quota.service.url = http://quotamanager-service.default.svc.cluster.local:9012/
microservices.elasticip.service.url=http://eipmanager-service.default.svc.cluster.local:9011/

keystone.enable=true
Expand Down
28 changes: 13 additions & 15 deletions kubernetes/services/quota_manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ metadata:
name: quota-configmap
data:
application.properties: |
ignite.host=ignite-alcor-service.default.svc.cluster.local
ignite.host=ignite-alcor-service.ignite-alcor.svc.cluster.local
ignite.port=10800
ignite.thin.client.enable=true
logging.level.root=info
logging.level.org.springframework.web=info
logging.file.path=.
logging.type=file
quota.defaults.floating_ip=50
quota.defaults.network=10
quota.defaults.port=50
quota.defaults.floating_ip=-1
quota.defaults.network=-1
quota.defaults.port=-1
quota.defaults.rbac_policy=-1
quota.defaults.router=10
quota.defaults.security_group=10
quota.defaults.security_group_rule=100
quota.defaults.subnet=10
quota.defaults.router=-1
quota.defaults.security_group=-1
quota.defaults.security_group_rule=-1
quota.defaults.subnet=-1
quota.defaults.subnetpool=-1
management.health.redis.enabled=false
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -32,7 +31,7 @@ spec:
selector:
matchLabels:
app: quotamanager
replicas: 3
replicas: 5
template:
metadata:
labels:
Expand All @@ -46,16 +45,16 @@ spec:
- key: application.properties
path: application.properties
containers:
- image: zhonghaolyu/repo:vpcKube1
#- image: fwnetworking/controller:vpc_manager-v0.3.0
- image: quota_manager:v1.0
#- image: fwnetworking/controller:vpc_manager-v0.3.0
name: quotamanager-web
imagePullPolicy: IfNotPresent
command: ["java", "-jar", "/app/AlcorQuotaManager-0.1.0.jar", "--spring.config.location=/etc/app/application.properties"]
command: ["java", "-jar", "/app/AlcorQuotaManager-0.1.0.jar", "--spring.config.location=/opt/jboss/application.properties"]
ports:
- containerPort: 8080
volumeMounts:
- name: quota-volume
mountPath: /etc/app
mountPath: /opt/jboss
envFrom:
- configMapRef:
name: quota-configmap
Expand All @@ -74,4 +73,3 @@ spec:
nodePort: 30012
selector:
app: quotamanager

4 changes: 2 additions & 2 deletions services/quota_manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dockerfile for VPC Manager
# Dockerfile for Quota Manager

FROM jboss/base-jdk:11

Expand All @@ -11,7 +11,7 @@ MAINTAINER Zhonghao Lyu <[email protected]>
#ENV SWAGGER_JSON "/app/swagger.json"
#ENV PORT 801

EXPOSE 8080
EXPOSE 9012

# Generate container image and run container
#COPY ./target/swagger/swagger.json /app/swagger.json
Expand Down