-
Notifications
You must be signed in to change notification settings - Fork 585
Add BareMetal status for BareMetal platform #348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BareMetal status for BareMetal platform #348
Conversation
bde176c to
2449ee0
Compare
2449ee0 to
bc117e9
Compare
|
This is ready for review and merge. |
a4dd44c to
48827ae
Compare
…remetal.apivip Using openshift/api@48827ae4 (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
1716b08 to
68eff5f
Compare
…remetal.apivip Using openshift/api@3fcd094 (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
…remetal.apivip Using openshift/api@3fcd094 (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
soltysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please squash your changes into a single commit?
e80d22c to
aa968ae
Compare
…remetal.apivip Using openshift/api@aa968ae (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
a38a6f1 to
3625215
Compare
…remetal.apivip Using openshift/api@3625215 (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
…remetal.apivip Using openshift/api@3625215 (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
3625215 to
6a276bd
Compare
…remetal.apivip Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
…remetal.apivip Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
…remetal.apivip Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API VIP in their configuration.
6a276bd to
78afb54
Compare
8075366 to
e77022f
Compare
|
doc looks good now, I understand what each field is for. I'm looking for someone on the install team to vet the information actually being included. |
|
A lot more networking architecture docs are headed into the installer repo here: openshift/installer#1981 A rendered version that includes the above PR is here: https://github.com/russellb/installer/blob/baremetal-networking-docs/docs/design/baremetal/networking-infrastructure.md I'm interested in any feedback on these docs! I'm hoping they help explain these configuration items and how they fit into a /hold cancel |
|
/approve /assign @eparis |
| // The IP is a suitable target of a wildcard DNS record used to resolve default route host names. | ||
| IngressIP string `json:"ingressIP,omitempty"` | ||
|
|
||
| // nodeDNSIP is the IP address for the internal DNS used by the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not clear, what kind of DNS resolution would node's require?
does it provides DNS resolution for infrastructure DNS records like internal LB, hostnames, etc....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It is for the node hostnames. Since baremetal does not have a DNSaaS, we want to minimize the amount of external datacenter DNS entries that would be necessary for a deployer to have to create.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this IP return the address for api-int.cluster_domain DNS name ?? or there's no change this will return the addressed for non-node-hostnames.
e77022f to
7e76e21
Compare
…atform This adds a BareMetal-specific status fields, akin to AWS status. It holds the API IP, the DNS IP, and the Ingress IP. The API IP is provided by the installer. It is a reserved IP that the installer provides that will first reside on the bootstrap node, and move to one of the masters once the cluster is functioning. The DNS IP will front a DNS service running on the bootstrap, and then the cluster itself, that will serve DNS internal to the cluster, and separate from the main cluster DNS service. It will serve etcd SRV records, as well as hostnames for the BareMetal hosts. The Ingress IP will be held by a node that runs an OpenShift router pod. An external datacenter DNS record will point the apps wildcard record there.
7e76e21 to
236890a
Compare
|
LGTM |
|
/lgtm install signed off |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bcrochet, deads2k The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/approve
@abhinavdahiya sorry, github didn't show me your comments until it merged :( You need a revert or can you work from here? |
|
It's fine, follow-up will work. |
A recent PR (openshift#348) added the BareMetalPlatformStatus. Add a reference to a document that helps explain the networking architecture for the "baremetal" platform and how these IP addresses are used.
…tatus.baremetal Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API, DNS, and Ingress VIPs in their configuration. The vendored openshift/api is updated to pull in the new platform status definition.
….baremetal Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API, DNS, and Ingress VIPs in their configuration.
….baremetal Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API, DNS, and Ingress VIPs in their configuration.
….baremetal Using openshift/api@6a276bd (config/v1/types_infrastructure: Add BareMetal status for BareMetal platform, 2019-06-11, openshift/api#348) so static pods can use the API, DNS, and Ingress VIPs in their configuration.
A recent PR (openshift#348) added the BareMetalPlatformStatus. Add a reference to a document that helps explain the networking architecture for the "baremetal" platform and how these IP addresses are used.
This add a BareMetal-specifc status field, akin to AWS status.