Popular applications, provided by Bitnami, ready to launch on Azure Kubernetes Service (AKS) using Kubernetes Helm. Find all the available applications in the Azure Marketplace.
$ helm repo add azure-marketplace https://marketplace.azurecr.io/helm/v1/repo
$ helm search azure-marketplace
The quickest way to setup a Kubernetes cluster is with az
, the Microsoft Azure command-line interface. If you don't have az
, install it using these instructions or use the Azure Portal Console.
Follow the steps below to provision a Kubernetes Cluster with AKS. Refer to our starter guide for more details:
$ az login
$ az account set --subscription "SUBSCRIPTION-NAME"
$ az group create --name aks-resource-group --location eastus
$ az aks create --name aks-cluster --resource-group aks-resource-group --generate-ssh-keys
The above command creates a new resource group and cluster named aks-cluster
. Then, install and configure kubectl
with the credentials to the new AKS cluster, as shown below:
$ az aks get-credentials --name aks-cluster --resource-group aks-resource-group
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
To install Helm, refer to the Helm install guide and ensure that the helm
binary is in the PATH
of your shell.
$ kubectl create serviceaccount -n kube-system tiller
$ kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
$ helm init --service-account tiller
The above command creates a ServiceAccount and a ClusterRoleBinding for Tiller and initializes Helm in the cluster.
Helm charts are available via the Azure Marketplace public repository.
Create a secret to use when pulling images from the registry. This step is only necessary the first time you deploy a chart on an AKS cluster, and can safely be omitted for subsequent chart deployments on the samecluster.
$ kubectl create secret generic emptysecret --from-literal=.dockerconfigjson='{"auths":{"marketplace.azurecr.io":{"Username":"","Password":""}}}' --type=kubernetes.io/dockerconfigjson
Add the Azure Marketplace repository:
$ helm repo add azure-marketplace https://marketplace.azurecr.io/helm/v1/repo
$ helm search azure-marketplace
Use the following command to deploy a chart, such as WordPress:
$ helm install azure-marketplace/wordpress --set global.imagePullSecrets={emptysecret}
For a more detailed walkthrough and screenshots, refer to our starter guide.
Once you have installed the Helm client and initialized the Tiller server, you can deploy a Bitnami Helm Chart into a Kubernetes cluster.
Please refer to the Helm Quick Start guide if you wish to get running in just a few commands, otherwise the Using Helm Guide provides detailed instructions on how to use the Helm client to manage packages on your Kubernetes cluster.
Useful Helm Client Commands:
- View available charts:
helm search
- Install a chart:
helm install stable/<package-name>
- Upgrade your application:
helm upgrade
Copyright (c) 2019 Bitnami
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.