Repo For Arc For Kubernetes Helm Demo
Перейти к файлу
Jason Hansen 78444c4022
Merge pull request #4 from shashankbarsin/master
Update Helm chart
2020-08-20 16:22:17 -07:00
app replaced vote app to js app 2020-08-19 13:16:21 +05:30
charts/azure-arc-sample Update Helm chart 2020-08-21 04:03:16 +05:30
releases Update Helm chart 2020-08-21 04:22:34 +05:30
.gitignore Initial commit 2020-03-18 21:43:45 +00:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-03-18 14:43:48 -07:00
LICENSE updated release name 2020-08-19 17:08:17 +05:30
README.md updated release name 2020-08-19 17:08:17 +05:30
SECURITY.md Initial SECURITY.md commit 2020-03-18 14:43:51 -07:00
azure-pipelines.yml Added pipeline.yml 2020-08-19 20:15:53 +05:30

README.md

Official Helm based cluster configuration sample for Azure Arc enabled Kubernetes

This repository contains a sample Helm chart that can be deployed using GitOps to an Azure Arc enabled Kubernetes cluster.

Contents

File/folder Description
charts Contains sample helm chart
releases Release configuration picked up by Flux
.gitignore Defines what to ignore at commit time.
README.md This README file.
CODE_OF_CONDUCT.md Microsoft code of conduct.
LICENSE The license for the sample.

Prerequisites

One or more Kubernetes clusters are connected to Azure Arc using the connectedk8s Azure CLI extension.

Running the sample

Create a GitOps configuration referencing this sample repo by using the Azure CLI extension k8sconfiguration or Azure portal. Complete documentation on the available options can be found here.

After a configuration is created, Azure Arc enabled Kubernetes agents and flux will create use the configuration in the repository to create a Helm release on this cluster.

az k8sconfiguration create --name azure-arc-sample \
    --resource-group $RESOURCE_GROUP --cluster-name $CLUSTER_NAME \
    --operator-instance-name flux --operator-namespace arc-k8s-demo \
    --operator-params='--git-readonly --git-path=releases' \
    --enable-helm-operator --helm-operator-version='0.6.0' \
    --helm-operator-params='--set helm.versions=v3' \
    --repository-url https://github.com/Azure/arc-helm-demo.git  \
    --scope namespace --cluster-type connectedClusters

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.