"My name" is the subject and "is John" the predicate of that sentence. The predicate can be further parsed to a a copular/linking verb (is) and a subject complement (John).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.