Bacterial type II secretion systems (T2SSs) translocate virulence factors, toxins and enzymes across the cell outer membrane. Here we use negative stain and cryo-electron microscopy to reveal the core architecture of an assembled T2SS from the pathogen Klebsiella pneumoniae. We show that 7 proteins form a ~2.4 MDa complex that spans the cell envelope. The outer membrane complex includes the secretin PulD, with all domains modelled, and the pilotin PulS. The inner membrane assembly platform components PulC, PulE, PulL, PulM and PulN have a relative stoichiometric ratio of 2:1:1:1:1. The PulE ATPase, PulL and PulM combine to form a flexible hexameric hub. Symmetry mismatch between the outer membrane complex and assembly platform is overcome by PulC linkers spanning the periplasm, with PulC HR domains binding independently at the secretin base. Our results show that the T2SS has a highly dynamic modular architecture, with implication for pseudo-pilus assembly and substrate loading.