diff --git a/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/chunks/000001 b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/chunks/000001 new file mode 100755 index 000000000..8e3a44b2f Binary files /dev/null and b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/chunks/000001 differ diff --git a/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/index b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/index new file mode 100755 index 000000000..24a92d747 Binary files /dev/null and b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/index differ diff --git a/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/meta.json b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/meta.json new file mode 100755 index 000000000..e6b3a3d59 --- /dev/null +++ b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58A1N9PF6YCTBSVA4DXYX", + "minTime": 1725149325000000, + "maxTime": 1725149325000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58A1N9PF6YCTBSVA4DXYX" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/tombstones b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58A1N9PF6YCTBSVA4DXYX/tombstones differ diff --git a/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/chunks/000001 b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/chunks/000001 new file mode 100755 index 000000000..edca49874 Binary files /dev/null and b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/chunks/000001 differ diff --git a/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/index b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/index new file mode 100755 index 000000000..86241fcf4 Binary files /dev/null and b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/index differ diff --git a/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/meta.json b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/meta.json new file mode 100755 index 000000000..ab6bf2cf8 --- /dev/null +++ b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58A6ES643PK2BDSC1D1CZ", + "minTime": 1725149340000000, + "maxTime": 1725149340000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58A6ES643PK2BDSC1D1CZ" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/tombstones b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58A6ES643PK2BDSC1D1CZ/tombstones differ diff --git a/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/chunks/000001 b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/chunks/000001 new file mode 100755 index 000000000..84837a8df Binary files /dev/null and b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/chunks/000001 differ diff --git a/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/index b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/index new file mode 100755 index 000000000..97e98b251 Binary files /dev/null and b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/index differ diff --git a/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/meta.json b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/meta.json new file mode 100755 index 000000000..2a867e1b3 --- /dev/null +++ b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58AA95Z9HC958F657ASMJ", + "minTime": 1725149355000000, + "maxTime": 1725149355000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58AA95Z9HC958F657ASMJ" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/tombstones b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58AA95Z9HC958F657ASMJ/tombstones differ diff --git a/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/chunks/000001 b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/chunks/000001 new file mode 100755 index 000000000..ede69ca2c Binary files /dev/null and b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/chunks/000001 differ diff --git a/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/index b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/index new file mode 100755 index 000000000..6a86673ee Binary files /dev/null and b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/index differ diff --git a/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/meta.json b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/meta.json new file mode 100755 index 000000000..212c900e8 --- /dev/null +++ b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58ACY06SBV5RWQZAGYSJR", + "minTime": 1725149370000000, + "maxTime": 1725149370000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58ACY06SBV5RWQZAGYSJR" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/tombstones b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58ACY06SBV5RWQZAGYSJR/tombstones differ diff --git a/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/chunks/000001 b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/chunks/000001 new file mode 100755 index 000000000..40763294d Binary files /dev/null and b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/chunks/000001 differ diff --git a/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/index b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/index new file mode 100755 index 000000000..1ceb4bf12 Binary files /dev/null and b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/index differ diff --git a/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/meta.json b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/meta.json new file mode 100755 index 000000000..a37fea3a5 --- /dev/null +++ b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58AH8BYKHTHD79B71KKAB", + "minTime": 1725149385000000, + "maxTime": 1725149385000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58AH8BYKHTHD79B71KKAB" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/tombstones b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58AH8BYKHTHD79B71KKAB/tombstones differ diff --git a/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/chunks/000001 b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/chunks/000001 new file mode 100755 index 000000000..5d8ae3590 Binary files /dev/null and b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/chunks/000001 differ diff --git a/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/index b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/index new file mode 100755 index 000000000..b15522fab Binary files /dev/null and b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/index differ diff --git a/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/meta.json b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/meta.json new file mode 100755 index 000000000..273183ec1 --- /dev/null +++ b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58AQZT3SPA65B44JV6ZQ8", + "minTime": 1725149400000000, + "maxTime": 1725149400000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58AQZT3SPA65B44JV6ZQ8" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/tombstones b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58AQZT3SPA65B44JV6ZQ8/tombstones differ diff --git a/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/chunks/000001 b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/chunks/000001 new file mode 100755 index 000000000..72a5906f1 Binary files /dev/null and b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/chunks/000001 differ diff --git a/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/index b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/index new file mode 100755 index 000000000..ecbb36bb6 Binary files /dev/null and b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/index differ diff --git a/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/meta.json b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/meta.json new file mode 100755 index 000000000..04fb72c27 --- /dev/null +++ b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58AV9J8B2138QDB2V6GR5", + "minTime": 1725149415000000, + "maxTime": 1725149415000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58AV9J8B2138QDB2V6GR5" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/tombstones b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58AV9J8B2138QDB2V6GR5/tombstones differ diff --git a/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/chunks/000001 b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/chunks/000001 new file mode 100755 index 000000000..2f55fbbb3 Binary files /dev/null and b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/chunks/000001 differ diff --git a/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/index b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/index new file mode 100755 index 000000000..f7bc5fd5e Binary files /dev/null and b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/index differ diff --git a/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/meta.json b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/meta.json new file mode 100755 index 000000000..6ec74d9f5 --- /dev/null +++ b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58AYXSHQ1NDFCXW0W6XQ1", + "minTime": 1725149430000000, + "maxTime": 1725149430000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58AYXSHQ1NDFCXW0W6XQ1" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/tombstones b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58AYXSHQ1NDFCXW0W6XQ1/tombstones differ diff --git a/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/chunks/000001 b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/chunks/000001 new file mode 100755 index 000000000..d87c84d0a Binary files /dev/null and b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/chunks/000001 differ diff --git a/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/index b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/index new file mode 100755 index 000000000..bdf70fdd1 Binary files /dev/null and b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/index differ diff --git a/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/meta.json b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/meta.json new file mode 100755 index 000000000..c318538da --- /dev/null +++ b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58B1KJ3G7A525YRZMY9TM", + "minTime": 1725149445000000, + "maxTime": 1725149445000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58B1KJ3G7A525YRZMY9TM" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/tombstones b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58B1KJ3G7A525YRZMY9TM/tombstones differ diff --git a/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/chunks/000001 b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/chunks/000001 new file mode 100755 index 000000000..0d4dfa582 Binary files /dev/null and b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/chunks/000001 differ diff --git a/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/index b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/index new file mode 100755 index 000000000..49edf5f7a Binary files /dev/null and b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/index differ diff --git a/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/meta.json b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/meta.json new file mode 100755 index 000000000..22c3b3c05 --- /dev/null +++ b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58B4MCMEJR6XVR667VD3D", + "minTime": 1725149460000000, + "maxTime": 1725149460000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58B4MCMEJR6XVR667VD3D" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/tombstones b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58B4MCMEJR6XVR667VD3D/tombstones differ diff --git a/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/chunks/000001 b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/chunks/000001 new file mode 100755 index 000000000..4715fbabc Binary files /dev/null and b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/chunks/000001 differ diff --git a/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/index b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/index new file mode 100755 index 000000000..af464565f Binary files /dev/null and b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/index differ diff --git a/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/meta.json b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/meta.json new file mode 100755 index 000000000..233bb719b --- /dev/null +++ b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58B7DJG6GGRYQYE9QB1NT", + "minTime": 1725149475000000, + "maxTime": 1725149475000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58B7DJG6GGRYQYE9QB1NT" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/tombstones b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58B7DJG6GGRYQYE9QB1NT/tombstones differ diff --git a/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/chunks/000001 b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/chunks/000001 new file mode 100755 index 000000000..39a109b64 Binary files /dev/null and b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/chunks/000001 differ diff --git a/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/index b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/index new file mode 100755 index 000000000..38b23a983 Binary files /dev/null and b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/index differ diff --git a/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/meta.json b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/meta.json new file mode 100755 index 000000000..d6d1ffa45 --- /dev/null +++ b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/meta.json @@ -0,0 +1,17 @@ +{ + "ulid": "01J7R58B9DZ9DXTKZ42ER0MMZ7", + "minTime": 1725149490000000, + "maxTime": 1725149490000001, + "stats": { + "numSamples": 11, + "numSeries": 11, + "numChunks": 11 + }, + "compaction": { + "level": 1, + "sources": [ + "01J7R58B9DZ9DXTKZ42ER0MMZ7" + ] + }, + "version": 1 +} \ No newline at end of file diff --git a/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/tombstones b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/tombstones new file mode 100755 index 000000000..95fb83272 Binary files /dev/null and b/prombench/gendata/01J7R58B9DZ9DXTKZ42ER0MMZ7/tombstones differ diff --git a/prombench/manifests/cluster_kind.yaml b/prombench/manifests/cluster_kind.yaml index 2b9d99042..506e0a68f 100644 --- a/prombench/manifests/cluster_kind.yaml +++ b/prombench/manifests/cluster_kind.yaml @@ -9,6 +9,9 @@ nodes: kubeletExtraArgs: node-labels: "node-name=main-node" - role: worker + extraMounts: + - hostPath: /home/lenovo/data1 + containerPath: /mnt/data kubeadmConfigPatches: - | kind: JoinConfiguration @@ -16,6 +19,9 @@ nodes: kubeletExtraArgs: node-labels: "isolation=prometheus,node-name=prometheus-{{ .PR_NUMBER }}" - role: worker + extraMounts: + - hostPath: /home/lenovo/data2S + containerPath: /mnt/data kubeadmConfigPatches: - | kind: JoinConfiguration diff --git a/prombench/manifests/prombench/benchmark/3a_prometheus-test_configmap.yaml b/prombench/manifests/prombench/benchmark/3a_prometheus-test_configmap.yaml index ad1fb3ba5..d83a83f1b 100644 --- a/prombench/manifests/prombench/benchmark/3a_prometheus-test_configmap.yaml +++ b/prombench/manifests/prombench/benchmark/3a_prometheus-test_configmap.yaml @@ -6,9 +6,13 @@ metadata: data: prometheus.yml: | global: - scrape_interval: 5s + scrape_interval: 5s scrape_configs: + - job_name: 'prometheus' + static_configs: + - targets: ['localhost:9090'] + - job_name: kubelets scheme: https tls_config: diff --git a/prombench/manifests/prombench/benchmark/3b_prometheus-test_deployment.yaml b/prombench/manifests/prombench/benchmark/3b_prometheus-test_deployment.yaml index 44675c2b8..4bb38bc9e 100644 --- a/prombench/manifests/prombench/benchmark/3b_prometheus-test_deployment.yaml +++ b/prombench/manifests/prombench/benchmark/3b_prometheus-test_deployment.yaml @@ -36,11 +36,12 @@ spec: - name: prometheus-builder image: docker.io/prominfra/prometheus-builder:master imagePullPolicy: Always + env: - name: PR_NUMBER value: "{{ .PR_NUMBER }}" - name: VOLUME_DIR - value: "/prometheus-builder" # same as mountPath + value: "/prometheus-builder" - name: GITHUB_ORG value: "{{ .GITHUB_ORG }}" - name: GITHUB_REPO @@ -63,14 +64,6 @@ spec: periodSeconds: 2 failureThreshold: 30 command: ["/usr/bin/prometheus"] - args: [ - "--web.external-url=http://{{ .DOMAIN_NAME }}/{{ .PR_NUMBER }}/prometheus-pr", - "--storage.tsdb.path=/prometheus", - "--web.console.libraries=/usr/bin/console_libraries", - "--web.console.templates=/usr/bin/consoles", - "--config.file=/etc/prometheus/prometheus.yml", - "--log.level=debug" - ] volumeMounts: - name: config-volume mountPath: /etc/prometheus @@ -78,6 +71,16 @@ spec: mountPath: /prometheus - name: prometheus-executable mountPath: /usr/bin + - name: my-data + mountPath: /mnt/downloads + args: [ + "--web.external-url=http://{{ .DOMAIN_NAME }}/{{ .PR_NUMBER }}/prometheus-pr", + "--storage.tsdb.path=/mnt/downloads", + "--web.console.libraries=/usr/bin/console_libraries", + "--web.console.templates=/usr/bin/consoles", + "--config.file=/etc/prometheus/prometheus.yml", + "--log.level=debug" + ] ports: - name: prom-web containerPort: 9090 @@ -90,6 +93,9 @@ spec: path: /mnt/disks/ssd0 #gke ssds - name: prometheus-executable emptyDir: {} + - name: my-data + hostPath: + path: /mnt/data terminationGracePeriodSeconds: 300 nodeSelector: node-name: prometheus-{{ .PR_NUMBER }} @@ -152,19 +158,21 @@ spec: image: quay.io/prometheus/prometheus:{{ .RELEASE }} imagePullPolicy: Always command: [ "/bin/prometheus" ] + volumeMounts: + - name: config-volume + mountPath: /etc/prometheus + - name: instance-ssd + mountPath: /prometheus + - name: my-data + mountPath: /mnt/downloads args: [ "--web.external-url=http://{{ .DOMAIN_NAME }}/{{ .PR_NUMBER }}/prometheus-release", - "--storage.tsdb.path=/prometheus", + "--storage.tsdb.path=/mnt/downloads", "--web.console.libraries=/etc/prometheus/console_libraries", "--web.console.templates=/etc/prometheus/consoles", "--config.file=/etc/prometheus/prometheus.yml", "--log.level=debug" - ] - volumeMounts: - - name: config-volume - mountPath: /etc/prometheus - - name: instance-ssd - mountPath: /prometheus + ] ports: - name: prom-web containerPort: 9090 @@ -177,6 +185,9 @@ spec: # /mnt is where GKE keeps it's SSD # don't change this if you want Prometheus to take advantage of these local SSDs path: /mnt/disks/ssd0 + - name: my-data + hostPath: + path: /mnt/data terminationGracePeriodSeconds: 300 nodeSelector: node-name: prometheus-{{ .PR_NUMBER }}