Preheat your Z-Grills (preferably with branded wood pellets) or other wood pellet grill to 180 degrees Fahrenheit.
Add the cucumbers, garlic, and onion to one side of a baking sheet in an even layer. Arrange the salt, peppercorns, celery seed, coriander, and mustard seeds on the other side.
Transfer the baking sheet to the grates, close the lid, and smoke for 20 minutes. This step infuses the cucumbers and onion slices with smoke. You don’t want to cook them.
Remove the cucumbers, garlic, and onions, then set them aside, but continue to smoke the salt and spices for 1 hour. Stir occasionally.
Once the hour is almost up, bring the water and vinegar to a boil in a saucepan. Remove the saucepan from the heat.
Add the smoked garlic, salt, spices, and sugar to the pickling liquid. Stir until the salt and sugar dissolve.
Pack the cucumbers into jars with the sliced onion, dill, bay leaves, and chili peppers (if using). Pour the pickling liquid over the cucumbers. Fill the jars ¾ of the way. Add as few or as many garlic cloves to each jar as desired.
Place the lids on tightly and let sit for 48 hours.
Enjoy.