This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Updating Locust to v0.9.0 and using official Dockerfile #7970
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
60d51fa
updating to work with the soon to be official locus docker container
sekka1 a946031
updating to work with the soon to be official locus docker container
sekka1 fdb5c22
adding flag to enable the creation of the test script or not
sekka1 8536665
updating chart versions
sekka1 d2d2158
adding ingress options
sekka1 4fab0fc
adding node selector and tolerances
sekka1 3e545f6
updating README with new params
sekka1 9876114
updating to use the docker image from master
sekka1 efd8be6
removing unused envars
sekka1 dafd9cc
adding logging flag
sekka1 ede98b8
Updating docker repo
sekka1 d5fb951
fixing ingress tls name
sekka1 e7a7c83
adding flag to enable/disable TLS
sekka1 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: locust | ||
description: A modern load testing framework | ||
version: 0.3.0 | ||
appVersion: 0.7.5 | ||
version: 0.4.0 | ||
appVersion: 0.9.0 | ||
maintainers: | ||
- name: so0k | ||
email: [email protected] | ||
|
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,37 @@ | ||
{{ if .Values.ingress.enable }} | ||
--- | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ template "locust.ingress" . }} | ||
namespace: {{ .Values.namespace }} | ||
heritage: {{ .Release.Service | quote }} | ||
release: {{ .Release.Name | quote }} | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: {{ template "locust.fullname" . }} | ||
component: "ingress" | ||
annotations: | ||
kubernetes.io/ingress.class: "{{ .Values.ingress.ingressClass }}" | ||
# Setup Let's Encrypt Certificates | ||
{{ if .Values.ingress.enableTLS }} | ||
kubernetes.io/tls-acme: "{{ .Values.ingress.enableTlsAcme }}" | ||
{{ end }} | ||
{{ if .Values.ingress.annotations.enable }} | ||
nginx.ingress.kubernetes.io/whitelist-source-range: "{{ .Values.ingress.annotations.whitelistSourceRange }}" | ||
{{ end }} | ||
spec: | ||
{{ if .Values.ingress.enableTLS }} | ||
tls: | ||
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. what happen if i dont want tls? 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. Good point. Updated to make this configurable. |
||
- hosts: | ||
- "{{ .Values.ingress.hostname }}" | ||
secretName: {{ template "locust.ingress" . }}-locust-tls | ||
{{ end }} | ||
rules: | ||
- host: "{{ .Values.ingress.hostname }}" | ||
http: | ||
paths: | ||
- path: / | ||
backend: | ||
serviceName: {{ template "locust.master-svc" . }} | ||
servicePort: {{ .Values.service.internalPort }} | ||
{{ end }} |
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
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.
update the image tag here as well
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.
Updated. This will change once Locust.io setups their own docker hub repo. I can update it then. I am following up with them on this here: locustio/locust#850 (comment)