-
Notifications
You must be signed in to change notification settings - Fork 585
config/v1: add platform status for OpenStack #374
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,6 +126,10 @@ type PlatformStatus struct { | |
| // BareMetal contains settings specific to the BareMetal platform. | ||
| // +optional | ||
| BareMetal *BareMetalPlatformStatus `json:"baremetal,omitempty"` | ||
|
|
||
| // OpenStack contains settings specific to the OpenStack infrastructure provider. | ||
| // +optional | ||
| OpenStack *OpenStackPlatformStatus `json:"openstack,omitempty"` | ||
| } | ||
|
|
||
| // AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider. | ||
|
|
@@ -170,6 +174,31 @@ type BareMetalPlatformStatus struct { | |
| NodeDNSIP string `json:"nodeDNSIP,omitempty"` | ||
| } | ||
|
|
||
| // OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider. | ||
| type OpenStackPlatformStatus struct { | ||
| // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used | ||
| // by components inside the cluster, like kubelets using the infrastructure rather | ||
| // than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI | ||
| // points to. It is the IP for a self-hosted load balancer in front of the API servers. | ||
| APIServerInternalIP string `json:"apiServerInternalIP,omitempty"` | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this field parallel, the one for baremetal? if so, make the comments consistent.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. optional? |
||
|
|
||
| // cloudName is the name of the desired OpenStack cloud in the | ||
| // client configuration file (`clouds.yaml`). | ||
| CloudName string `json:"cloudName,omitempty"` | ||
|
|
||
| // ingressIP is an external IP which routes to the default ingress controller. | ||
| // 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 | ||
| // nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` | ||
| // provides name resolution for the nodes themselves. There is no DNS-as-a-service for | ||
| // OpenStack deployments. In order to minimize necessary changes to the | ||
| // datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames | ||
| // to the nodes in the cluster. | ||
| NodeDNSIP string `json:"nodeDNSIP,omitempty"` | ||
| } | ||
|
|
||
| // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
|
|
||
| // InfrastructureList is | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.