Skip to content

Conversation

@bcrochet
Copy link
Member

@bcrochet bcrochet commented Jun 11, 2019

This add a BareMetal-specifc status field, akin to AWS status.

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 11, 2019
@bcrochet bcrochet force-pushed the baremetal-status branch 2 times, most recently from bde176c to 2449ee0 Compare June 17, 2019 13:51
@bcrochet bcrochet changed the title WIP: Add BareMetal status for BareMetal platform Add BareMetal status for BareMetal platform Jun 18, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 18, 2019
@bcrochet
Copy link
Member Author

This is ready for review and merge.

@bcrochet bcrochet force-pushed the baremetal-status branch 2 times, most recently from a4dd44c to 48827ae Compare June 18, 2019 14:25
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 18, 2019
…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.
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 20, 2019
…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.
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 21, 2019
…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.
Copy link
Contributor

@soltysh soltysh left a 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?

bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 24, 2019
…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.
@bcrochet bcrochet force-pushed the baremetal-status branch 2 times, most recently from a38a6f1 to 3625215 Compare June 26, 2019 14:49
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 26, 2019
…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.
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 26, 2019
…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.
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 26, 2019
…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.
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 28, 2019
…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.
bcrochet added a commit to bcrochet/kni-installer that referenced this pull request Jun 28, 2019
…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.
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 2, 2019
@bcrochet bcrochet force-pushed the baremetal-status branch from 6a276bd to 78afb54 Compare July 2, 2019 17:42
@deads2k
Copy link
Contributor

deads2k commented Jul 12, 2019

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.

@russellb
Copy link
Contributor

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 baremetal platform cluster. More doc work will continue in the coming week, particularly to cover the detailed pieces that happen on the MCO side.

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 12, 2019
@deads2k
Copy link
Contributor

deads2k commented Jul 12, 2019

/approve

/assign @eparis

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 12, 2019
// 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
Copy link
Contributor

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....

Copy link
Member Author

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.

Copy link
Contributor

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.

…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.
@abhinavdahiya
Copy link
Contributor

LGTM

@deads2k
Copy link
Contributor

deads2k commented Jul 12, 2019

/lgtm

install signed off

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 12, 2019
@openshift-ci-robot
Copy link

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 930b75f into openshift:master Jul 12, 2019
@deads2k
Copy link
Contributor

deads2k commented Jul 12, 2019

/approve

/lgtm

install signed off

@abhinavdahiya sorry, github didn't show me your comments until it merged :( You need a revert or can you work from here?

@abhinavdahiya
Copy link
Contributor

It's fine, follow-up will work.

russellb added a commit to russellb/api that referenced this pull request Jul 13, 2019
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.
cybertron pushed a commit to cybertron/kni-installer that referenced this pull request Jul 16, 2019
…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.
cybertron added a commit to cybertron/installer that referenced this pull request Jul 18, 2019
….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.
cybertron added a commit to cybertron/installer that referenced this pull request Jul 19, 2019
….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.
cybertron added a commit to cybertron/installer that referenced this pull request Jul 25, 2019
….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.
russellb added a commit to russellb/api that referenced this pull request Sep 25, 2019
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.