sonyflake
sonyflake copied to clipboard
private Ip address as machine id
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?
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.