Code enforcement officers in Palmdale discovered more than 800 pounds of methamphetamine in a cargo container while responding to an illegal dumping complaint.