File tree Expand file tree Collapse file tree 9 files changed +53
-7
lines changed
fluentd-aggregator-detached-multiple-failures
fluentd-aggregator-detached Expand file tree Collapse file tree 9 files changed +53
-7
lines changed Original file line number Diff line number Diff line change 37
37
context : images/syslog-ng-reloader
38
38
tags : syslog-ng-reloader:local
39
39
output : syslog-ng-reloader.tar
40
+ - image : fluentd-drain-watch
41
+ context : images/fluentd-drain-watch
42
+ tags : fluentd-drain-watch:local
43
+ output : fluentd-drain-watch.tar
40
44
41
45
steps :
42
46
- name : Checkout
91
95
docker load --input /tmp/fluentd-full.tar
92
96
docker load --input /tmp/config-reloader.tar
93
97
docker load --input /tmp/syslog-ng-reloader.tar
98
+ docker load --input /tmp/fluentd-drain-watch.tar
94
99
docker load --input /tmp/controller.tar
95
100
docker image ls -a
96
101
@@ -149,6 +154,7 @@ jobs:
149
154
docker load --input /tmp/fluentd-full.tar
150
155
docker load --input /tmp/config-reloader.tar
151
156
docker load --input /tmp/syslog-ng-reloader.tar
157
+ docker load --input /tmp/fluentd-drain-watch.tar
152
158
docker load --input /tmp/controller.tar
153
159
docker image ls -a
154
160
Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ test-e2e-nodeps:
232
232
LOGGING_OPERATOR_IMAGE=" ${OPERATOR_IMG} " \
233
233
CONFIG_RELOADER_IMAGE=" ${CONFIG_RELOADER_IMG} " \
234
234
SYSLOG_NG_RELOADER_IMAGE=" ${SYSLOG_NG_RELOADER_IMG} " \
235
+ FLUENTD_DRAIN_WATCH_IMAGE=" ${FLUENTD_DRAIN_WATCH_IMG} " \
235
236
FLUENTD_IMAGE=" ${FLUENTD_IMG} " \
236
237
KIND_PATH=" $( KIND) " \
237
238
KIND_IMAGE=" $( KIND_IMAGE) " \
Original file line number Diff line number Diff line change @@ -34,12 +34,14 @@ import (
34
34
)
35
35
36
36
const (
37
- FluentdImageRepo = "fluentd-full"
38
- FluentdImageTag = "local"
39
- ConfigReloaderRepo = "config-reloader"
40
- ConfigReloaderTag = "local"
41
- SyslogNGReloaderRepo = "syslog-ng-reloader"
42
- SyslogNGReloaderTag = "local"
37
+ FluentdImageRepo = "fluentd-full"
38
+ FluentdImageTag = "local"
39
+ ConfigReloaderRepo = "config-reloader"
40
+ ConfigReloaderTag = "local"
41
+ SyslogNGReloaderRepo = "syslog-ng-reloader"
42
+ SyslogNGReloaderTag = "local"
43
+ FluentdDrainWatchRepo = "fluentd-drain-watch"
44
+ FluentdDrainWatchTag = "local"
43
45
)
44
46
45
47
var sequence uint32
Original file line number Diff line number Diff line change 46
46
repository : "syslogng-reload" ,
47
47
tag : "local" ,
48
48
},
49
+ {
50
+ lookupEnv : "FLUENTD_DRAIN_WATCH_IMAGE" ,
51
+ repository : "fluentd-drain-watch" ,
52
+ tag : "local" ,
53
+ },
49
54
{
50
55
lookupEnv : "FLUENTD_IMAGE" ,
51
56
repository : "fluentd-full" ,
Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ func TestFluentdAggregator_detached_multiple_failure(t *testing.T) {
124
124
Replicas : 1 ,
125
125
Drain : v1beta1.FluentdDrainConfig {
126
126
Enabled : true ,
127
+ Image : v1beta1.ImageSpec {
128
+ Repository : common .FluentdDrainWatchRepo ,
129
+ Tag : common .FluentdDrainWatchTag ,
130
+ },
127
131
},
128
132
},
129
133
Workers : 2 ,
@@ -160,6 +164,10 @@ func TestFluentdAggregator_detached_multiple_failure(t *testing.T) {
160
164
Replicas : 1 ,
161
165
Drain : v1beta1.FluentdDrainConfig {
162
166
Enabled : true ,
167
+ Image : v1beta1.ImageSpec {
168
+ Repository : common .FluentdDrainWatchRepo ,
169
+ Tag : common .FluentdDrainWatchTag ,
170
+ },
163
171
},
164
172
},
165
173
Workers : 2 ,
Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ func TestFluentdAggregator_detached_MultiWorker(t *testing.T) {
127
127
Replicas : 1 ,
128
128
Drain : v1beta1.FluentdDrainConfig {
129
129
Enabled : true ,
130
+ Image : v1beta1.ImageSpec {
131
+ Repository : common .FluentdDrainWatchRepo ,
132
+ Tag : common .FluentdDrainWatchTag ,
133
+ },
130
134
},
131
135
},
132
136
Workers : 2 ,
@@ -165,6 +169,10 @@ func TestFluentdAggregator_detached_MultiWorker(t *testing.T) {
165
169
Replicas : 1 ,
166
170
Drain : v1beta1.FluentdDrainConfig {
167
171
Enabled : true ,
172
+ Image : v1beta1.ImageSpec {
173
+ Repository : common .FluentdDrainWatchRepo ,
174
+ Tag : common .FluentdDrainWatchTag ,
175
+ },
168
176
},
169
177
},
170
178
},
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ func TestFluentdAggregator_MultiWorker(t *testing.T) {
119
119
Replicas : 1 ,
120
120
Drain : v1beta1.FluentdDrainConfig {
121
121
Enabled : true ,
122
+ Image : v1beta1.ImageSpec {
123
+ Repository : common .FluentdDrainWatchRepo ,
124
+ Tag : common .FluentdDrainWatchTag ,
125
+ },
122
126
},
123
127
},
124
128
Workers : 2 ,
@@ -298,6 +302,10 @@ func TestFluentdAggregator_ConfigChecks(t *testing.T) {
298
302
Replicas : 1 ,
299
303
Drain : v1beta1.FluentdDrainConfig {
300
304
Enabled : true ,
305
+ Image : v1beta1.ImageSpec {
306
+ Repository : common .FluentdDrainWatchRepo ,
307
+ Tag : common .FluentdDrainWatchTag ,
308
+ },
301
309
},
302
310
},
303
311
Workers : 1 ,
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ func TestVolumeDrain_Downscale(t *testing.T) {
117
117
Replicas : 2 ,
118
118
Drain : v1beta1.FluentdDrainConfig {
119
119
Enabled : true ,
120
+ Image : v1beta1.ImageSpec {
121
+ Repository : common .FluentdDrainWatchRepo ,
122
+ Tag : common .FluentdDrainWatchTag ,
123
+ },
120
124
},
121
125
},
122
126
},
@@ -351,6 +355,10 @@ func TestVolumeDrain_Downscale_DeleteVolume(t *testing.T) {
351
355
Drain : v1beta1.FluentdDrainConfig {
352
356
Enabled : true ,
353
357
DeleteVolume : true ,
358
+ Image : v1beta1.ImageSpec {
359
+ Repository : common .FluentdDrainWatchRepo ,
360
+ Tag : common .FluentdDrainWatchTag ,
361
+ },
354
362
},
355
363
},
356
364
},
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function main()
20
20
21
21
function load_images()
22
22
{
23
- local images=( " controller:local" " fluentd-full:local" " config-reloader:local" )
23
+ local images=( " controller:local" " fluentd-full:local" " config-reloader:local" " syslog-ng-reloader:local " " fluentd-drain-watch:local " )
24
24
for image in ${images[@]} ; do
25
25
kind load docker-image " ${image} "
26
26
done
You can’t perform that action at this time.
0 commit comments