Abstract: A compact gain-switched all-fiber ytterbium laser operating at a wavelength of 1127 nm with the ability to control pulsed radiation parameters has been investigated. Gain switching was carried out by modulating the current of a semiconductor pump diode. With pumping energy ranging from 197.6 to 263.5 μJ, there was one generation pulse per each pump pulse with a duration of 0.43 to 1.1 μs, energy of 5.3 to 8.8 μJ, and a repetition rate of 100 Hz. Increasing the pumping energy above 265 μJ led to a change in the shape of generated pulses and to their energy rising up to 70 μJ. © Allerton Press, Inc. 2024. ISSN 1068-3356, Bulletin of the Lebedev Physics Institute, 2024, Vol. 51, Suppl. 5, pp. S389–S394. Allerton Press, Inc., 2024. Russian Text The Author(s), 2024, published in Kvantovaya Elektronika, 2024, Vol. 54, No. 2, pp. 95–103.