Kubernetes : How to assign static IP address or HostName to node and POD

We have a setup where we want to run 3 replicas of our Image. Each replica will be run in independent node and corresponding pods inside it. So to summarize we will have 3 nodes in 3 separate JVMs and 3 corresponding pods. Please provide following details,

  1. Can we fix POD IP and hostName always?
  2. Can the Node IP and hostname be same as machine IP and hostname?
  3. Can the same Machine IP and hostname be made POD IP and hostname?

Can we fix POD IP and hostName always?

There is a hostname field for Pod that you can use. Using static IP for Pod is possible if the CNI plugin that you used support it. For example, Calico does support this use case. You need to check your CNI manual.

Can the Node IP and hostname be same as machine IP and hostname?

Yes.

Can the same Machine IP and hostname be made POD IP and hostname?

Pod name is up to you to set, but Pod IP is always in the range of Pod CIDR which is not applicable to machine IP.