-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remaining work for Azure support #10412
Comments
anything I can do here? |
Any of these are up for grabs, I would think. |
I think we can remove |
Not sure how tasks are divided up for an issue like this or if work started needs to be reported, but folks I work with and myself are interested in starting
Will be first time kops contributors, so any pertinent info to contributing that may be omitted from relevant docs is much appreciated |
@ngalantowicz thanks for stepping up! here is the function that needs implementing. you'll see the return type contains either an IP or Hostname. For clusters that use api load balancers with hostnames we specify the hostname, otherwise use the api load balancer's IP(s). For clusters that don't use api load balancers we return a list of the master instances' IPs. A good example of this is the openstack implementation. For Azure, we don't yet support API load balancers so you'll only need to handle getting the master VMs' IPs. Unfortunately we dont yet have azure code for listing VMs, only VMScaleSets. You'll likely need to add a new file and client for VMs (it only needs to support listing them, not create / update / delete) and add the client to the AzureCloud interface. With the VM listing functionality you'll be able to list them all and filter for the VMs that are associated with the cluster and that have the master role tag. I hope this helps, let me know if you need any additional assistance |
Thanks, @ngalantowicz , @rifelpet ! Just wanted to make a quick comment for listing VMs. I hink we can reuse the code in etcd-manager like this. |
is there any additional information in regards to i assume it might just mean labeling the nodes with the labels that can be specified in the instance group as seen below, by grabbing the tags from the cloud, but want to be sure i cover the whole depth of it
i was going to start work on that, but it looks like there might be an existing error in this domain
kops/pkg/nodeidentity/azure/identify.go Line 35 in 309dc9f
kops/pkg/nodeidentity/azure/identify.go Line 111 in 309dc9f
![]() the tag that is in the cloud for the VMSS is also the "prefix" so the key is left as an empty string. Do we need this label and if so, what should the key be? Also partially related, I noticed an instance group is required to have the label |
Thanks for looking into, @NickSchleicher ! This looks like a bug in my original code. I believe we need to trim with kops/pkg/model/azuremodel/context.go Line 74 in 309dc9f
You're right on the label kops/pkg/nodeidentity/azure/identify.go Line 111 in 309dc9f
|
Reaching out with for more info Seeing kops/upup/pkg/fi/cloudup/azuretasks/virtualnetwork.go Lines 114 to 121 in 309dc9f
An interesting behavior to note regarding route tables (which task and client files seem to be a mirror of the vnet files): Are these two things similar and is there any vision/insight on how youd go about implementing tag update support? |
Yes, I think so, but I'm not certain if removing the tag is what kops does for other CSPs. I think other people can chime-in. The issues with updating a tag of vnet was that it causes an Otherwise, the update request attempts to delete an existing subnet (and then the request fails). |
FWIW, based on the code in pkg/resources it doesn't seem that Kops removes any tags on shared resources when a cluster is deleted. |
From a glance it looks like we don't have support yet for multi AZ instances Coming from an AWS background where the subnets are zonal, but from looking at the other models, it looks like to go about implementing this it would more closely track the GCE model? |
Is the CSI driver used for Azure Disks? |
@olemarkus , I see. No, the CSI driver is not used for Azure Disks. Thanks! |
kOps v1.20.0-beta.1 was just released today. The plan is to have another beta in 1-2 weeks and the final release in in 3-4 weeks. |
Would folks find terraform support for azure clusters useful? If someone is interested in implementing it I can provide assistance. |
I wanted to test out kOps in azure. Where can I get the |
@finnje can build from master branch and or kops release v1.20.0-beta.1 supports azure features. |
@kenji-cloudnatix Do you think we could also add an entry with recommended image in the channels file for Azure? Lines 77 to 80 in 5bb54a3
|
I see. @hakman , let me take a look! |
Is it possible to configure Availability zone for master and node Scale Sets? |
Would it be possible for Azure to implement a |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
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. |
This issues track the remaining TODOs from #3957 (Azure support)
azureCloudImplementation.GetApiIngressStatus
. Currently we don't create any resources for ingress to the API server.Be able to mount etcd volumes from protokube. Currently we rely on etcd-manager for volume mountnodeIdentifier.IdentifyNodeChange
.azureCloudImplementation.buildCloudInstanceGroup
so that kops can correclty tell whether a VM is up-to-date or not.The text was updated successfully, but these errors were encountered: