HA Control Plan ip/fqdn

I am using k0sctl to remotely setup the cluster. All is working well in my world. Just had a question about this part of the config.

k0s:
config:
spec:
api:
externalAddress: 10.10.20.198
sans:
- 10.10.20.198

Can the IP also be a fqdn. like k8sapi.local.net? Would I add that to the sans object as - k8sapi.local.net

Thanks
Brad

Hi Brad,
externalAddress must be an IP, sans should contain both the IP address and the name:

k0s:
  config:
    spec:
      api:
        externalAddress: 10.10.20.198
        sans:
        - 10.10.20.198
        - k8sapi.local.net

Best,
Juan

Can the ip and/or fqdn be changed after the cluster has been deployed?