Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] autoscaler API #331

Merged
merged 5 commits into from
Oct 2, 2018
Merged

[Task] autoscaler API #331

merged 5 commits into from
Oct 2, 2018

Conversation

John-Lin
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Sep 27, 2018

Codecov Report

❗ No coverage uploaded for pull request base (develop@d0f57a9). Click here to learn what that means.
The diff coverage is 58.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #331   +/-   ##
==========================================
  Coverage           ?   70.77%           
==========================================
  Files              ?       70           
  Lines              ?     4499           
  Branches           ?        0           
==========================================
  Hits               ?     3184           
  Misses             ?     1051           
  Partials           ?      264
Impacted Files Coverage Δ
src/server/backend/deployment.go 0% <0%> (ø)
src/deployment/deployment.go 90.06% <100%> (ø)
src/server/route.go 82.38% <100%> (ø)
src/kubernetes/autoscaler.go 100% <100%> (ø)
src/server/handler_deployment.go 59.6% <41.17%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0f57a9...208ca4c. Read the comment docs.

@John-Lin John-Lin force-pushed the johnlin/autoscaler branch 3 times, most recently from 842a85e to 2234332 Compare September 28, 2018 04:03
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// CreateAutoscaler will get the external IP address of node
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why autoscaler needs the external IP of node ?

}

// DeleteAutoscaler will delete a autoscaler
func DeleteAutoscaler(sp *serviceprovider.Container, autoscalerInfo entity.AutoscalerInfo) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will autoscaler delete itself while the corresponding deployment is been removed ?

@John-Lin John-Lin force-pushed the johnlin/autoscaler branch 2 times, most recently from 8d76eb6 to d45d703 Compare October 1, 2018 07:11
@John-Lin John-Lin force-pushed the johnlin/autoscaler branch from 4b6e04b to 208ca4c Compare October 2, 2018 08:38
@John-Lin John-Lin merged commit d3b5968 into develop Oct 2, 2018
@John-Lin John-Lin deleted the johnlin/autoscaler branch October 3, 2018 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants