-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update loadtest infra with changes from v15 testing (#38173)
* Update loadtest infra with changes from v15 testing - Uses the distroless-debug images - Adds firestore support - Updates images to v15.0.0 * fix: rename method ConfigOverride to match interface
- Loading branch information
1 parent
e8b5029
commit 91c9158
Showing
23 changed files
with
93 additions
and
29 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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ kind: ClusterConfig | |
metadata: | ||
name: | ||
region: | ||
version: "1.27" | ||
version: "1.29" | ||
|
||
iam: | ||
withOIDC: true | ||
|
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
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
42 changes: 42 additions & 0 deletions
42
assets/loadtest/control-plane/teleport/gen-firestore-teleport.sh
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,42 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
source vars.env | ||
|
||
values_yaml="$STATE_DIR/teleport-values.yaml" | ||
|
||
mkdir -p "$STATE_DIR" | ||
|
||
cat > "$values_yaml" <<EOF | ||
chartMode: gcp | ||
clusterName: ${CLUSTER_NAME}.${ROUTE53_ZONE} # Name of your cluster. Use the FQDN you intend to configure in DNS below. | ||
teleportVersionOverride: ${TELEPORT_VERSION} | ||
proxyListenerMode: "multiplex" | ||
gcp: | ||
projectId: ${GCP_PROJECT} | ||
region: ${REGION} # AWS region | ||
backendTable: ${CLUSTER_NAME}-backend # Firestore table to use for the Teleport backend | ||
auditLogTable: ${CLUSTER_NAME}-events # Firestore table to use for the Teleport audit log (must be different to the backend table) | ||
auditLogMirrorOnStdout: false # Whether to mirror audit log entries to stdout in JSON format (useful for external log collectors) | ||
sessionRecordingBucket: ${FIRESTORE_SESSION_BUCKET} # Storage bucket to use for Teleport session recordings | ||
backups: true # Whether or not to turn on DynamoDB backups | ||
dynamoAutoScaling: false # Whether Teleport should configure DynamoDB's autoscaling. | ||
highAvailability: | ||
replicaCount: 2 # Number of replicas to configure | ||
certManager: | ||
enabled: false # No certManager because we only run simulated load tests and don't need to connect any agents | ||
# If you are running Kubernetes 1.23 or above, disable PodSecurityPolicies | ||
podSecurityPolicy: | ||
enabled: false | ||
podMonitor: | ||
enabled: true | ||
extraArgs: | ||
- --debug | ||
image: "public.ecr.aws/gravitational/teleport-distroless-debug" | ||
enterpriseImage: "public.ecr.aws/gravitational/teleport-ent-distroless-debug" | ||
auth: | ||
teleportConfig: | ||
kubernetes_service: | ||
enabled: false | ||
EOF |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ type: application | |
|
||
version: 0.1.0 | ||
|
||
appVersion: "14.0.0-alpha.2" | ||
appVersion: "15.0.0" |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ type: application | |
|
||
version: 0.1.0 | ||
|
||
appVersion: "14.0.0-alpha.2" | ||
appVersion: "15.0.0" |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ type: application | |
|
||
version: 0.1.0 | ||
|
||
appVersion: "14.0.0-alpha.2" | ||
appVersion: "15.0.0" |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ agentsPerPod: 15 | |
minReadySeconds: 30 | ||
|
||
image: | ||
tag: 14.0.0-alpha.2 | ||
tag: 15.0.0 | ||
|
||
joinParams: | ||
method: token | ||
|
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