'Creates OperationContract for deleteLoadBalancer.
To verify the operation, we just check that the Kubernetes resources
created by upsert_load_balancer are no longer visible in the cluster.'

def delete_load_balancer(self):

    bindings = self.bindings
    payload = self.agent.make_json_payload_from_kwargs(job=[{'type': 'deleteLoadBalancer', 'cloudProvider': 'kubernetes', 'loadBalancerName': self.__lb_name, 'namespace': self.TEST_NAMESPACE, 'account': bindings['SPINNAKER_KUBERNETES_ACCOUNT'], 'credentials': bindings['SPINNAKER_KUBERNETES_ACCOUNT'], 'regions': [self.TEST_NAMESPACE], 'user': '[anonymous]'}], description='Delete    Load    Balancer:    {0}    in    {1}'.format(self.__lb_name, bindings['SPINNAKER_KUBERNETES_ACCOUNT']), application=self.TEST_APP)
    builder = kube.KubeContractBuilder(self.kube_observer)
    builder.new_clause_builder('Service    Removed', retryable_for_secs=15).get_resources('svc', extra_args=['--namespace', self.TEST_NAMESPACE], no_resource_ok=True)
    return st.OperationContract(self.new_post_operation(title='delete_load_balancer', data=payload, path='tasks'), contract=builder.build())
