Sorry I know this is a bit off topic but I dont participate in a Non planescape D&D forum and had a incite from reading Races of the Dragon
It talks about good and neutral kobold communitys
Any ideas how such a community can wage war, since telling your soldiers to cast themselves away like they are nothing is not a good act.
Sometimes its pragmatic to wage war. If the community as a whole is going to benefit, and the leaders have the community's support, then war is not an evil act. It becomes evil through the D&D equivalent of human rights abuses, and as you mention, through treating the soldiers like expendable pawns. Careful and conscientious generals care about the soldiers they command so they won't waste their lives. but there are good reasons for soldiers to die sometimes.
Soldiers know what the risks are of their lifestyle. You have to fight. Eventually you will die.
In the mean time you get paid, and at least you are not a commoner.
Non-evil warfare also involves finding ways to resolve the conflict once the core objectives are met in a way that doesn't just mean exterminating and enslaving every last member of the enemy. You need to win with some grace and respect, and show mercy where its due.
Also some foes like CE barbarians, fiends, aberrations and most undead are intrinsically opposed to you and need to be dealt with appropriately. Except in the most unusual and bizarre circumstances, you never have to be merciful to illithids or obyriths. Sometimes you really don't have to pull the punches. Just because you are Good doesn't mean you are stupid.