New run.

parent 0a72fb09
Pipeline #1590 passed with stages
in 4 minutes and 39 seconds
......@@ -55,3 +55,12 @@ kind: ConfigMap
metadata:
name: chrome-load-agent
namespace: prod
---
apiVersion: v1
data:
win.txt: |
https://thedonald.win
kind: ConfigMap
metadata:
name: donald-load-agent
namespace: prod
......@@ -115,3 +115,60 @@ spec:
- name: dev-shm
emptyDir:
medium: Memory
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: donald-load-agent
namespace: prod
spec:
selector:
matchLabels:
app: donald-load-agent
replicas: 2
template:
metadata:
labels:
app: donald-load-agent
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec:
tolerations:
- key: "megadisk"
operator: "Exists"
effect: "NoSchedule"
- key: "highcpu"
operator: "Exists"
effect: "NoSchedule"
containers:
- name: donald-load-agent
image: ${CONTAINER_REGISTRY}:${CI_COMMIT_SHA}
args:
- run
- --url-file
- /etc/chromedp-load-agent/win.txt
- --concurrency
- "10"
- --window-width=800
- --window-height=600
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 7
requests:
cpu: 7
volumeMounts:
- mountPath: /dev/shm
name: dev-shm
- mountPath: /tmp
name: dev-shm
- mountPath: /etc/chromedp-load-agent
name: donald-load-agent
readOnly: true
volumes:
- name: donald-load-agent
configMap:
name: chrome-load-agent
- name: dev-shm
emptyDir:
medium: Memory
......@@ -34,3 +34,14 @@ metadata:
creationTimestamp: null
name: chrome-load-agent
namespace: prod
---
apiVersion: v1
data:
donald.txt: |
https://thedonald.win
kind: ConfigMap
metadata:
creationTimestamp: null
name: donald-win
namespace: prod
......@@ -155,3 +155,52 @@ spec:
medium: Memory
- name: screenshots
emptyDir: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: donald-load-agent
namespace: prod
spec:
selector:
matchLabels:
app: donald-load-agent
replicas: 8
template:
metadata:
labels:
app: donald-load-agent
spec:
imagePullSecrets:
- name: k8s-gcr-read-only
containers:
- name: donald-load-agent
image: ${CONTAINER_REGISTRY}:${CI_COMMIT_SHA}
args:
- run
- --url-file
- /etc/chromedp-load-agent/donald.txt
- --concurrency
- "3"
imagePullPolicy: IfNotPresent
resources:
limits:
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
volumeMounts:
- mountPath: /dev/shm
name: dev-shm
- mountPath: /etc/chromedp-load-agent
name: donald-load-agent
readOnly: true
volumes:
- name: donald-load-agent
configMap:
name: chrome-load-agent
- name: dev-shm
emptyDir:
medium: Memory
- name: screenshots
emptyDir: {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment