Rudyard Kipling & Thomas Hardy
Kipling wrote a number of poems about the Victorian Army. They were published as Barrack Room Ballads.
Some of my favourites are linked below.

Kipling' son Jack died at Loos in 1915

Hardy's Poem Drummer Dodge is reminiscent of later WW1 Poems.