The Kern County Sheriff's department said a methamphetamine lab was found inside a home in the 4200 block of Rosewall Street after reports of a domestic dispute call inside the residence.
Officials arrived on scene shortly after 9 a.m when they discovered an unidentified subject threatening a victim with a handgun.
Officials then surrounded the home, withdrew their weapons and asked everyone to surrender.
KCSO says approximately eight people exited the home and were detained.
Officials confirm there were juveniles inside the residence at the time of the incident.
While officials were inside the residence, they located a methamphetamine lab and arrested at least one person.
KCSO's narcotics division and Kern County Environmental Health are assisting in this investigation.