Skip to content

Add a service that starts before ocne.service and kubeadm.service to enforce a real hostname#75

Open
dkrasins wants to merge 3 commits into
mainfrom
74-when-starting-a-node-on-oracle-private-cloud-appliance-nodes-can-join-the-cluster-with-localhostlocaldomain
Open

Add a service that starts before ocne.service and kubeadm.service to enforce a real hostname#75
dkrasins wants to merge 3 commits into
mainfrom
74-when-starting-a-node-on-oracle-private-cloud-appliance-nodes-can-join-the-cluster-with-localhostlocaldomain

Conversation

@dkrasins
Copy link
Copy Markdown
Member

@dkrasins dkrasins commented May 5, 2026

There is not really a valid use case for having localhost.localdomain as the hostname for a cluster, even for a single node throwaway cluster. Adding a service that starts before any cluster init/join operations ensure that a real hostname is available, even in cases where network-online.target is reached before a hostname is assigned.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When starting a node on Oracle Private Cloud Appliance, nodes can join the cluster with 'localhost.localdomain'

1 participant