In a pickle, to be/get informal
Alice got in a pickle as she didn't meet her sales target this month.
The driver was in a pickle when the brake did not work.
People not having medical insurance often get in a pickle if something goes wrong with their health.
To punish someone or something harshly
To encounter bad luck, or being picked doing something undesirable
When you experience extreme and undesirable situations, it is probably essential to take extreme actions
This idiom is related to an equivalent in Dutch. The word 'pickle' comes from the Dutch word 'pekel', referring to brine or something piquant. So, a pickle here means the environment of the ingredients: salted, spiced, unpleasant, not the preserved vegetables.