Skip to content
Cloud provider for Azure
Go Python Shell Makefile Other
Branch: master
Clone or download
feiskyer Merge pull request #261 from chewong/autoscaler
Modify API model for autoscaler e2e test
Latest commit 846d680 Dec 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add Issue and PR templates Feb 18, 2019
cmd Fix gofmt error Nov 6, 2019
docs Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
examples Update examples of v0.3.0 Sep 25, 2019
hack Modify API model for autoscaler e2e test Nov 30, 2019
pkg Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
tests Modify API model for autoscaler e2e test Nov 30, 2019
vendor Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
.bazelrc Add basic support for bazel. Aug 24, 2019
.dockerignore Move cloud-controller-manager to cmd directory Aug 16, 2019
.gitignore Add basic support for bazel. Aug 24, 2019
BUILD.bazel Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
CONTRIBUTING.md Add CONTRIBUTING.md Jul 19, 2018
Dockerfile Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
Dockerfile.node Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
LICENSE Add LICENSE cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417b… Mar 21, 2018
Makefile Add cloud-node-manager which reconciles node's addresses Sep 9, 2019
OWNERS Update OWNERS Mar 13, 2019
README.md Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
SECURITY_CONTACTS Update embargo doc link in SECURITY_OWNERS and changes PST to PSC Mar 8, 2019
WORKSPACE Add basic support for bazel. Aug 24, 2019
code-of-conduct.md adding code-of-conduct.md file Aug 2, 2018
go.mod Migrate repo from k8s.io (kubernetes) to sigs.k8s.io (kubernetes-sigs) Nov 4, 2019
go.sum Update Kubernetes vendor to v1.16.0 beta version Sep 9, 2019

README.md

Cloud provider for Azure

Go Report Card GitHub stars GitHub stars

Introduction

This repository provides tools and scripts for building and testing Kubernetes cloud-controller-manager for Azure. The project is under development.

The Azure cloud provider code locates at Kubernetes repository directory. If you want to create issues or pull requests for cloud provider, please go to Kubernetes repository.

There is an ongoing work for refactoring cloud providers out of the upstream repository. For more details, please check this issue.

Current status

cloud-provider-azure is still under alpha stage and its releases are maintained on Microsoft Container Registry (MCR).

The latest version of azure-cloud-controller-manager and azure-cloud-node-manager could be found at

  • mcr.microsoft.com/k8s/core/azure-cloud-controller-manager:v0.3.0
  • mcr.microsoft.com/k8s/core/azure-cloud-node-manager:v0.3.0

Version matrix:

Kubernetes version cloud-provider version cloud-provider branch
v1.16.x v0.3.0 master
v1.15.x v0.2.0 N/A
v1.14.x v0.1.0 N/A

Build

Build azure-cloud-controller-manager with pure make:

make

or with bazel:

make bazel-build

Build docker image for azure-cloud-controller-manager:

IMAGE_REGISTRY=<registry> make image

Run

Run azure-cloud-controller-manager locally:

azure-cloud-controller-manager --cloud-provider=azure \
    --cluster-name=kubernetes \
    --cloud-config=/etc/kubernetes/azure.json \
    --kubeconfig=/etc/kubernetes/kubeconfig \
    --allocate-node-cidrs=true \
    --configure-cloud-routes=true \
    --cluster-cidr=10.240.0.0/16 \
    --route-reconciliation-period=10s \
    --leader-elect=true \
    --v=2

It is recommended to run azure-cloud-controller-manager as Pods on master nodes. See here for the example.

Please checkout more details at docs/cloud-controller-manager.md.

E2E tests

Please check the following documents for e2e tests:

Documentation

See docs for more documentations.

Contributing

Please see CONTRIBUTING.md for instructions on how to contribute.

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

License

Apache License 2.0.

You can’t perform that action at this time.