This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e61945
commit 269a14f
Showing
9 changed files
with
123 additions
and
73 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
demo.state.yaml | ||
*.env | ||
logs | ||
kubeconfig_* | ||
.bash_history | ||
agent/v_kube | ||
agent/v_tmp | ||
agent/v_tmp |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM ubuntu:20.04 | |
SHELL ["/bin/bash", "-c"] | ||
|
||
LABEL maintainer="Carlos Rodriguez Lopez <[email protected]>" \ | ||
updated_at=2022-04-25 | ||
updated_at=2022-09-28 | ||
|
||
# Tooling | ||
WORKDIR /root | ||
|
@@ -22,17 +22,18 @@ ENV PATH="${PATH}:/asdf/.asdf/shims:/asdf/.asdf/bin" \ | |
|
||
RUN apt-get update -y && \ | ||
apt-get install -y --no-install-recommends git \ | ||
unzip \ | ||
gpg \ | ||
gpg-agent \ | ||
parallel \ | ||
vim \ | ||
wget \ | ||
less \ | ||
ca-certificates \ | ||
openssh-client \ | ||
wget \ | ||
curl && \ | ||
unzip \ | ||
# No gpg, https://stackoverflow.com/a/61692849 | ||
gnupg \ | ||
gpg-agent \ | ||
parallel \ | ||
vim \ | ||
wget \ | ||
less \ | ||
ca-certificates \ | ||
openssh-client \ | ||
wget \ | ||
curl && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export AWS_PROFILE="example-profile" # https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html | ||
export AWS_ASSUME_ROLE="example-rol-arn" # Optional (Set it to null in case you work with user credentials) | ||
export ROUTE_53_DOMAIN="dr.example.com" | ||
export ROUTE_53_ZONE_ID="Z041787_EXAMPLE" | ||
export MY_DEMO_ID="ex" | ||
## For concreteness, will refer to these as east and west, though in principle could be any two regions: | ||
export EAST_REGION="us-east-1" | ||
export WEST_REGION="us-west-1" | ||
## Number of ManagedMaster. Start with a small number. Optionally, you can increase it | ||
export MC_COUNT=5 | ||
## Number of Nodes to Scale | Check max and min from infra/cluster.yaml | ||
export SCALE=15 | ||
## Debugging | ||
export DEBUG=${DEBUG:-false} |
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
Oops, something went wrong.