def action_kill(self, pods, params):
        """ Kills a pod by executing a docker kill on one of the containers or pod delete
        """
        probability = params.get("probability", 1)
        force = params.get("force", True)
        signal = "SIGKILL" if force else "SIGTERM"
        success = True
        for pod in pods:
            if probability < random.random():
                self.logger.info("Pod got lucky - not killing")
            else:
                ret_val = True
                try:
                    ret_val = self.executor.kill_pod(pod, self.inventory, signal)
                except:
                    self.logger.exception("Exception while killing pod")
                    ret_val = False
                # update the metrics
                if ret_val:
                    self.metric_collector.add_pod_killed_metric(pod)
                    self.logger.info("Pod killed: %s", pod)
                else:
                    self.metric_collector.add_pod_kill_failed_metric(pod)
                    self.logger.error("Pod NOT killed: %s", pod)
                    success = False
        return success
 Kills a pod by executing a docker kill on one of the containers or pod delete
        
powerfulseal/policy/action_pods.py