Moderate evidence supports that patients with diabetes are at higher risk for complications with total knee arthroplasty (TKA).
There was one high quality paper (Jamsen 2013) that showed a higher rate of complications and an increased risk of revision surgery for diabetics after total knee arthroplasty. Since it was the only high quality paper extracted, the recommendation strength is moderate.
Jamsen,E., Peltola,M., Eskelinen,A., Lehto,M.U. Comorbid diseases as predictors of survival of primary total hip and knee replacements: a nationwide register-based study of 96 754 operations on patients with primary osteoarthritis. Ann.Rheum.Dis 2013/12/1; 12: 1975-1982