Parts of the Big Apple were on edge Saturday as US Immigration and Customs Enforcement readied to carry out President Trump’s plans to deport at least 2,000 illegal immigrants here and in the rest of the country.

City Council Speaker Corey Johnson and Bitta Mostofi, commissioner of the Mayor’s Office of Immigrant Affairs, urged New Yorkers to resist federal authorities.

“You are not powerless against this evil, racist administration,” Johnson said, advising immigrants to remain silent and refuse to consent to searches.

Mostofi relayed reports that the raids actually started a day earlier than expected.

“We heard two reports from Sunset Park . . . and the third report was in East Harlem,” she said. “Eyewitnesses [are] speaking to us about ICE attempts to gain access and entry and conduct arrests. But thankfully, unsuccessfully.”

The comment ignited a flurry of social-media posts claiming that ICE agents were seen on city streets and in subway stations and even that officers were demanding IDs from passersby.

Neither the social-media posts nor Mostofi’s statements were backed by photographic evidence.

“We don’t have photos, unfortunately,” May Malik, deputy commissioner of the Mayor’s Office of Immigrant Affairs, told The Post. “We were able to confirm them because our MOIA staffers spoke with eyewitnesses on the ground.”

ICE did not answer a request for comment about whether the raids started on Saturday.

Locals described a calm before the storm in East Harlem.

“It was a quiet morning. We didn’t even see any cops,” Ashley Flores, 27, said on East 116th Street, where the city claimed ICE had conducted raids.

The raids are slated to target illegal immigrants who have been ordered by a court to leave the country.

Since the start of the Trump presidency, Mayor de Blasio has told city employees not to cooperate with ICE. But a police-union boss in a letter released Saturday urged members to put politics aside and support federal agent.

“I further encourage you to NOT leave any ICE Agent abandoned if in need of assistance and to stand shoulder to shoulder with each agent,” Sergeants Benevolent Association President Ed Mullins wrote in the letter, which was sent Friday to union members.

Meanwhile Saturday, an armed man who attacked a Tacoma, Wash., immigrant detention center with incendiary devices was found shot to death — just hours after an anti-ICE protest there.

Willem Van Spronsen, 69, was carrying a rifle as he lobbed lit flares at the Northwest Detention Center, the Tacoma News Tribune reported. Four responding cops opened fire and later found Vashon dead.

Additional reporting by Ben Cohn