Created
November 27, 2019 01:52
-
-
Save jasonmimick/396072230eb346f1e0b5d411d62d1e04 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: ycsb-load-deployment | |
labels: | |
app: ycsb-load | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: ycsb-load | |
template: | |
metadata: | |
labels: | |
app: ycsb-load | |
spec: | |
containers: | |
- name: loader | |
image: jmimick/alpine-ycsb:latest | |
env: | |
- name: ACTION | |
value: 'load' | |
- name: DBTYPE | |
value: 'mongodb' | |
- name: WORKLETTER | |
value: 'f' | |
- name: MDB_URL | |
value: 'mongodb://ycsb:[email protected]:27017,cluster0-shard-00-01-xuzza.gcp.mongodb.net:27017,cluster0-shard-00-02-xuzza.gcp.mongodb.net:27017/test?ssl=true&authSource=admin' | |
- name: MDB_UPSERT | |
value: 'true' | |
- name: MDB_WRITECONCERN | |
value: 'majority' | |
- name: BATCHSIZE | |
value: '1000' | |
- name: RECORDCOUNT | |
value: '10000' | |
- name: OPERATIONCOUNT | |
value: '10000' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment