The role of CD8+ T cells in diseases caused by extracellular bacteria can be diverse, depending on the type of pathogen and the site of the infection. Here, CD8A is linked to infection.