-
Notifications
You must be signed in to change notification settings - Fork 69
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
Programmatical Subnets for EKS #421
Open
weastel
wants to merge
29
commits into
prometheus:master
Choose a base branch
from
weastel:automatic_subnet_ids
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
925b1e5
Add documentation for gke and update file names in both prombench and…
weastel 64f45c3
Replace occurence of PROJECT_ID to GKE_PROJECT_ID in gke.md
weastel c7d9a57
Move gke specific files to environment directory
weastel fb45a2b
Add authentication support for eks
weastel e483aeb
Add support for deploymentRangeVars
weastel d2bdd12
Add cluster and nodepool related functionalities for EKS
weastel f022283
Add NewK8sProvider support for eks and CLI related changes to incorpo…
weastel 0c2c540
Fix minor tweaks
weastel aaba149
Change instance type of eks so it matches gke configurations
weastel 7ccbb97
Fix PR to solve test based issues
weastel 94d5882
Chnage as per review
weastel 742f280
Make makefile more readable
weastel 2103d30
Add info command for eks and documentational changes
weastel 16b18ad
Update docs changes and remove uneccessary debugging
weastel 74a98b8
Add aws iam based authentication
weastel 421589a
Move gke specific files to environment directory
weastel ded1e7c
Add authentication support for eks
weastel 7cf5aca
Add readme.md changes
weastel 1e9271f
Fix PR to solve test based issues
weastel 9aa107e
Make makefile more readable
weastel 82c4ee1
apply required changes
weastel 9655114
CHnage toml based credentials to yaml based
weastel 2a6f117
Add docs
weastel b9e518f
Add support for stack Creation using cloudFormation sdk
weastel 51800d7
Add support for stack Deletion using cloudFormation sdk
weastel b11c6d2
Add support for stackCreation and stackDeletion
weastel 79b7208
Add comment based documentation for listdownSubnetIds and showSubnetIds
weastel 2f10379
Remove docs related to manual subnet ids
weastel 596ac75
Fix stackdelete problem
weastel 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 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 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 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 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 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,4 +1,5 @@ | ||
INFRA_CMD ?= ../infra/infra | ||
PROVIDER ?= gke | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we re-declaring PROVIDER here? :) |
||
|
||
PROVIDER ?= gke | ||
|
||
|
@@ -12,7 +13,6 @@ node_create: | |
${INFRA_CMD} ${PROVIDER} nodes create -a ${AUTH_FILE} \ | ||
-v ZONE:${ZONE} -v GKE_PROJECT_ID:${GKE_PROJECT_ID} \ | ||
-v EKS_WORKER_ROLE_ARN:${EKS_WORKER_ROLE_ARN} -v EKS_CLUSTER_ROLE_ARN:${EKS_CLUSTER_ROLE_ARN} \ | ||
-v EKS_SUBNET_IDS:${EKS_SUBNET_IDS} \ | ||
-v CLUSTER_NAME:${CLUSTER_NAME} -v PR_NUMBER:${PR_NUMBER} \ | ||
-f manifests/prombench/nodes_${PROVIDER}.yaml | ||
|
||
|
@@ -36,22 +36,19 @@ node_delete: | |
$(INFRA_CMD) ${PROVIDER} nodes delete -a ${AUTH_FILE} \ | ||
-v ZONE:${ZONE} -v GKE_PROJECT_ID:${GKE_PROJECT_ID} \ | ||
-v EKS_WORKER_ROLE_ARN:${EKS_WORKER_ROLE_ARN} -v EKS_CLUSTER_ROLE_ARN:${EKS_CLUSTER_ROLE_ARN} \ | ||
-v EKS_SUBNET_IDS:${EKS_SUBNET_IDS} \ | ||
-v CLUSTER_NAME:${CLUSTER_NAME} -v PR_NUMBER:${PR_NUMBER} \ | ||
-f manifests/prombench/nodes_${PROVIDER}.yaml | ||
|
||
all_nodes_running: | ||
$(INFRA_CMD) ${PROVIDER} nodes check-running -a ${AUTH_FILE} \ | ||
-v ZONE:${ZONE} -v GKE_PROJECT_ID:${GKE_PROJECT_ID} \ | ||
-v EKS_WORKER_ROLE_ARN:${EKS_WORKER_ROLE_ARN} -v EKS_CLUSTER_ROLE_ARN:${EKS_CLUSTER_ROLE_ARN} \ | ||
-v EKS_SUBNET_IDS:${EKS_SUBNET_IDS} -v SEPARATOR:${SEPARATOR} \ | ||
-v CLUSTER_NAME:${CLUSTER_NAME} -v PR_NUMBER:${PR_NUMBER} \ | ||
-f manifests/prombench/nodes_${PROVIDER}.yaml | ||
|
||
all_nodes_deleted: | ||
$(INFRA_CMD) ${PROVIDER} nodes check-deleted -a ${AUTH_FILE} \ | ||
-v ZONE:${ZONE} -v GKE_PROJECT_ID:${GKE_PROJECT_ID} \ | ||
-v EKS_WORKER_ROLE_ARN:${EKS_WORKER_ROLE_ARN} -v EKS_CLUSTER_ROLE_ARN:${EKS_CLUSTER_ROLE_ARN} \ | ||
-v EKS_SUBNET_IDS:${EKS_SUBNET_IDS} -v SEPARATOR:${SEPARATOR} \ | ||
-v CLUSTER_NAME:${CLUSTER_NAME} -v PR_NUMBER:${PR_NUMBER} \ | ||
-f manifests/prombench/nodes_${PROVIDER}.yaml |
This file contains 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 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,4 +1,8 @@ | ||
<<<<<<< HEAD | ||
projectid: {{ .GKE_PROJECT_ID }} | ||
======= | ||
projectid: {{ .PROJECT_ID }} | ||
>>>>>>> Chnage as per review | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some conflicts didn't get resolved |
||
zone: {{ .ZONE }} | ||
cluster: | ||
name: {{ .CLUSTER_NAME }} | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.