Code Monkey home page Code Monkey logo

aks-dotnet-manage-kubernetes-cluster's Introduction

page_type languages products extensions
sample
csharp
azure
services platforms
Kubernetes-Cluster
dotnet

Getting started on managing Kubernetes clusters (AKS) using C#

An Azure Container Services sample for managing a Kubernetes cluster. - Create a Kubernetes cluster - Update the number of agent virtual machines in an Azure Container Service

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/aks-dotnet-manage-kubernetes-cluster.git

cd aks-dotnet-manage-kubernetes-cluster

dotnet build

bin\Debug\net452\ManageKubernetesCluster.exe

More information

Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

aks-dotnet-manage-kubernetes-cluster's People

Contributors

anuchandy avatar azure-fluent avatar lenala avatar supernova-eng avatar xseeseesee avatar yaohaizh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aks-dotnet-manage-kubernetes-cluster's Issues

CloudException thrown saying that Subscription could not be found

I am trying to run the sample but a CloudException is thrown saying that the Subscription {GUID} could not be found.

The authentication file was created using Azure CLI 2.0, following the tutorial at this link.

The resource group is successfully created, but it is empty.
By running az account list, the service principal appears linked to the subscription GUID from the exception.

[ { "cloudName": "AzureCloud", "id": "SUBSCRIPTION ID FROM EXCEPTION ABOVE", "isDefault": true, "name": "Pay-As-You-Go", "state": "Enabled", "tenantId": "xxx", "user": { "name": "xxxx", "type": "servicePrincipal" } } ]

Dockerfile

Please wrap this in a Dockerfile so we can play with it :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.