-
Notifications
You must be signed in to change notification settings - Fork 608
Fix EKS control plane getting overloaded when adding nodes to the cluster #2331
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2ee1534
Add dev control-plane dashboard
RobertLucian 3cb13e4
Build cluster-autoscaler from our forked version
RobertLucian 32a1bd8
Limit the autoscaler to adding 50 nodes/min
RobertLucian 3ba9b1a
Fix grafana statefulset
RobertLucian 01d96a8
Don't allow adding too many nodes at once to the cluster
RobertLucian 5000450
Merge branch 'master' into fix/node-scale-up
RobertLucian 9eae313
Compare # of existing nodes with the # of requested nodes
RobertLucian 8d31c9f
Nits & reduce cluster max size on cluster up
RobertLucian 27b5b7c
Use additional scrape config setting
RobertLucian 30c5da4
Fix syntax error
RobertLucian feae1b3
Update cluster autoscaler to user the 1.20 branch
RobertLucian df3e2a6
Update cluster autoscaler notes
RobertLucian 9c5af2d
Add export for enabling api server dashboard
RobertLucian 5d53098
Nits
RobertLucian 5b6eba5
Nits
RobertLucian 3a44543
Nits
RobertLucian a9007a7
Add missing license
RobertLucian 5727958
Merge branch 'master' into fix/node-scale-up
RobertLucian 63e4883
Update error messages
deliahu d41f6ab
Address PR comments
RobertLucian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,6 +166,9 @@ Add this to your bash profile (e.g. `~/.bash_profile`, `~/.profile` or `~/.bashr | |
# set the default image registry | ||
export CORTEX_DEV_DEFAULT_IMAGE_REGISTRY="<account_id>.dkr.ecr.<region>.amazonaws.com/cortexlabs" | ||
|
||
# enable api server monitoring in grafana | ||
export CORTEX_DEV_ADD_CONTROL_PLANE_DASHBOARD="true" | ||
|
||
# redirect analytics and error reporting to our dev environment | ||
export CORTEX_TELEMETRY_SENTRY_DSN="https://[email protected]/1848098" | ||
export CORTEX_TELEMETRY_SEGMENT_WRITE_KEY="0WvoJyCey9z1W2EW7rYTPJUMRYat46dl" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
FROM k8s.gcr.io/autoscaling/cluster-autoscaler:v1.20.0 | ||
ARG TARGETARCH, TARGETOS | ||
|
||
FROM golang:1.15 AS builder | ||
RUN git clone -b cluster-autoscaler-release-1.20 --depth 1 https://github.com/cortexlabs/autoscaler /k8s.io/autoscaler | ||
WORKDIR /k8s.io/autoscaler/cluster-autoscaler | ||
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build --installsuffix cgo -o cluster-autoscaler k8s.io/autoscaler/cluster-autoscaler \ | ||
&& cp cluster-autoscaler /usr/local/bin | ||
|
||
FROM alpine:3.8 | ||
RUN apk add -U --no-cache ca-certificates && rm -rf /var/cache/apk/* | ||
COPY --from=builder /usr/local/bin/cluster-autoscaler . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.