Skip to content

Add support for azure Local platform #255

@qfai

Description

@qfai

Key difference

  1. Instance type is different, here is arc's instance type
  2. Arc has different goclient, arc uses github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybridcontainerservice/armhybridcontainerservice
  3. Arc created node has unified Mocmachine in its k8s created node tag, and Id's pattern is different

Design goal

Implement a new instance provider, make the method universal for future other platform
Change existing aks code as little as possible

Implementation

  1. Create a new helm value as cluster type and put it as environment variable Cloud_Provider
  2. Create a uniform instance provider interface and a client factory, initialize different client when start
  3. Change parse accordingly

Workitem

  • finish the implementation
  • add unit test
  • add e2e test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions