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
feat: Add azure terraform #1454
feat: Add azure terraform #1454
Conversation
Hi @serbrech. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/retest |
|
/test tf-fmt |
#1739 is now merged. The templates needs to be move to 0.12 specification before these can be merged. |
306e533
to
7b4f1b6
Compare
add terraform to create a cluster on azure resource names match expectations from capz[1] [1] cluster-api-provider-azure : https://github.com/openshift/cluster-api-provider-azure/blob/master/pkg/cloud/azure/defaults.go
As for other providers, we rely on the MachineProviderSpec to feed the terraform variables generation. One exception is the basedomain resource group, which is passed through via the Azure platform installConfig. It is necessary to identify reliably the pubclic dns zone to attach the cluster to.
this can either be reverted later or disabled and put behind a feature/option flag
this uses the public load balancer ip behin the internal api dns entries to work around the azure internal lb limitation described here : https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview#limitations
Apply completion + openshift bootstrap :
Bootstrap destroy logs :
Some errors preventing success. I think due in part to the
|
/retest /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, serbrech The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@serbrech: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
These were added without a consumer in 2c40ae8 (data/data/azure: add azure terraform, 2019-04-19, openshift#1454).
These were added without a consumer in 2c40ae8 (data/data/azure: add azure terraform, 2019-04-19, openshift#1454).
These were added without a consumer in 2c40ae8 (data/data/azure: add azure terraform, 2019-04-19, openshift#1454).
This PR adds an initial terraform implementation to bootstrap openshift with the installer.
VM Image is set to Core OS until we have the right one available in Azure. This makes the ignition script fail but was enough to validate the setup.
Included :
worker <-> master
andbootstrap <-> master
communicationAll machines deployed have boot diagnostics enabled for serial console access during boot sequence/ignition
Notes for reviewers :
Follow up PR to come, to enable the Azure platform in the Installer go code