Here are good directions
You can take 80 E-580 E -205 E to 5 south to Highway 138 E. to 14 south. From South Bay take 101 S to 152 E to 5 south to 138 E to 14 South. This takes around 5 hours. You take 138 E just after Lebec CA. The drive time should be around 6-7 hours. Highway 138 is straight and you do not have to take the Grapevine and take 14 north. I did this once going to Lancaster. I would avoid Highway 58 at all costs since there are many stoplights from Highway 5. Highway 138 bypasses Bakersfield.
Hope this helps.