Ingredients

1 large onion, cut into 1-inch pieces 

1 tablespoon canola oil 

1 tablespoon plus 2 1/2 teaspoons coarse salt 

1/4 teaspoon freshly ground pepper 

1 1/2 cups cider vinegar 

1 cup sugar 

1 teaspoon crushed red pepper flakes 

1 teaspoon crushed brown mustard seeds 

1 teaspoon mild chile powder 

1/2 teaspoon garlic powder 

1/2 teaspoon Chinese five spice 

1/4 teaspoon turmeric 

1 1/2 to 2 cups fennel stems, trimmed and sliced crosswise 1/2-inch thick (from 2 large fennel bulbs with stems) 

1 English cucumber, quartered lengthwise, then cut into 1/2-inch slices 

1 jalapeno, seeded and minced 

1/2 cup chopped red bell pepper, ribs and seeds removed 

Preparation

Preheat oven to 400 degrees.

In a medium bowl, mix together onion, oil, 1 tablespoon salt, and pepper. Spread onion mixture in an even layer on a rimmed baking sheet and transfer to oven. Bake until onions are tender and beginning to brown, about 15 minutes. Remove from oven and let cool to room temperature.

In a small nonreactive saucepan, mix together vinegar, sugar, and remaining 2 1/2 teaspoons salt; bring to a boil over high heat, stirring occasionally, until sugar has completely dissolved. Remove from heat and stir in red pepper flakes, mustard seeds, chile powder, garlic powder, Chinese five spice, and turmeric.

Place cooled onion mixture, fennel stems, cucumber, jalapeno, and bell pepper in two 1-quart glass jars or one 2-quart glass jar; toss to combine. Pour hot vinegar mixture over vegetables, adding water if necessary to cover. Cover jar and transfer to refrigerator; refrigerate at least 24 hours before serving, and up to 2 weeks.