You’re likely thinking of The Melancholy of Haruhi Suzumiya. A sentient, talking kettle appears as a minor comedic element—often called “Kyon-kun” (not to be confused with the protagonist Kyon). It doesn’t speak conventionally but expresses personality through actions and sounds, serving as surreal comic relief.
Other anime with talking objects include Beauty and the Beast (enchanted household items) or Howl's Moving Castle (Calcifer the fire demon), but the kettle is distinct to Haruhi.