The idea of the Kraki is probably related to real creatures such as the giant squid (Architeuthis dux), which can grow up to 13 meters long and lives at great depths.
In some legends, it is said to be so large that it resembles an entire island when resting on the surface of the sea. Ships attempting to dock at the "island" then encounter great danger.