There is knocking and there is ticking. Ticking is usually related to lifters and the valve train, but knocking can be rod or main bearings or other serious issues. Check the oil as it may be low.
Search GMC Sierra 1500 Questions
GMC Sierra 1500 Experts