| 1 |
apiVersion: v1 |
| 2 |
kind: ReplicationController |
| 3 |
metadata: |
| 4 |
name: bigquery-controller |
| 5 |
labels: |
| 6 |
name: bigquery-controller |
| 7 |
spec: |
| 8 |
replicas: 2 |
| 9 |
template: |
| 10 |
metadata: |
| 11 |
labels: |
| 12 |
name: bigquery-controller |
| 13 |
spec: |
| 14 |
containers: |
| 15 |
- name: bigquery |
| 16 |
image: gcr.io/cooltool-1009/pipeline_image:latest |
| 17 |
env: |
| 18 |
- name: PROCESSINGSCRIPT |
| 19 |
value: redis-to-bigquery |
| 20 |
- name: REDISLIST |
| 21 |
value: twitter-stream |
| 22 |
# Change this to your project ID. |
| 23 |
- name: PROJECT_ID |
| 24 |
value: cooltool-1009 |
| 25 |
# Change the following two settings to your dataset and table. |
| 26 |
- name: BQ_DATASET |
| 27 |
value: rtda |
| 28 |
- name: BQ_TABLE |
| 29 |
value: tweets |