sonyflake icon indicating copy to clipboard operation
sonyflake copied to clipboard

private Ip address as machine id

Open rattipavan opened this issue 10 months ago • 1 comments

I want to know , what's the thinking behind putting the lower 16 bits as a machine id? in context of kubernetes environment will the last 16 bits of internal ip will ensure we will have unique 16 bits for every node?

rattipavan avatar Feb 25 '25 06:02 rattipavan

Please see https://github.com/sony/sonyflake?tab=readme-ov-file#aws-vpc-and-docker

I think you can configure your k8s CIDR so that the lower 16 bits of internal IPv4 addresses are unique.

YoshiyukiMineo avatar May 01 '25 10:05 YoshiyukiMineo