How does the Indian polity ensure the independence of the judiciary?

Understanding the mechanisms in place to safeguard the autonomy of the judiciary.