We propose a scheme to generate cluster state with a single-mode cavity and atoms.We utilize the atoms interact resonantly with a single-mode cavity,and introduce an auxiliary atom.The atoms for generating cluster state need not go through the cavity simultaneously,so this scheme is feasible in experiment.