CD8+ T cells are crucial for controlling heterotypic influenza infection by recognizing and killing virally infected cells, but less is known about their responses to extracellular bacterial infections. Here, CD8A is linked to bacterial infectious disease.