Dododex users say:
Trap the Kentrosaurus in a secure enclosure, then knock it out from a safe elevated position while avoiding its tail attacks and impalement. Feed it Compy Kibble for the quickest tame; crops can be used as a slower alternative, but Sweet Vegetable Cakes are not accepted.