Skip to content

Commit b2ffa09

Browse files
authored
Add bucket name in job definition examples
1 parent 51937b4 commit b2ffa09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stable/ard-campaign/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ $ kubectl run --namespace $NAMESPACE redis-client --rm --tty -i --restart='Never
6969

7070
I have no name!@redis-client:/$ redis-cli -h redis-master
7171

72-
redis-master:6379> rpush jobS2 '{"in_scene": "S2A_MSIL2A_20190812T235741_N0213_R030_T56LRR_20190813T014708", "s3_dir": "fiji/Sentinel_2/"}'
72+
redis-master:6379> rpush jobS2 '{"in_scene": "S2A_MSIL2A_20190812T235741_N0213_R030_T56LRR_20190813T014708", "s3_bucket": "pds-satapps", "s3_dir": "fiji/Sentinel_2/"}'
7373
(integer) 1
7474
redis-master:6379> lrange jobS2 0 -1
75-
1) "{\"in_scene\": \"S2A_MSIL2A_20190812T235741_N0213_R030_T56LRR_20190813T014708\", \"s3_dir\": \"fiji/Sentinel_2/\"}"
75+
1) "{\"in_scene\": \"S2A_MSIL2A_20190812T235741_N0213_R030_T56LRR_20190813T014708\", \"s3_bucket\": \"pds-satapps\", \"s3_dir\": \"fiji/Sentinel_2/\"}"
7676
```
7777

7878
For [mass insertion](https://redis.io/topics/mass-insert) you can use e.g.:
@@ -82,7 +82,7 @@ $ kubectl run --namespace $NAMESPACE redis-client --rm --tty -i --restart='Never
8282
--image docker.io/bitnami/redis:5.0.5-debian-9-r104 -- bash
8383

8484
I have no name!@redis-client:/$ cat <<EOF | redis-cli -h redis-master --pipe
85-
rpush jobS2 '{"in_scene": "S2A_MSIL2A_20190812T235741_N0213_R030_T56LRR_20190813T014708", "s3_dir": "fiji/Sentinel_2/"}'
85+
rpush jobS2 '{"in_scene": "S2A_MSIL2A_20190812T235741_N0213_R030_T56LRR_20190813T014708", "s3_bucket": "pds-satapps", "s3_dir": "fiji/Sentinel_2/"}'
8686
...
8787
EOF
8888
```

0 commit comments

Comments
 (0)