From 1ebdbc78735553619b9280a1e2a76ce0457876f6 Mon Sep 17 00:00:00 2001 From: Staz Dx Date: Fri, 12 Oct 2018 18:14:26 -0500 Subject: [PATCH] Custom chart for running in AKS (recommended) --- aks-terraform/README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/aks-terraform/README.md b/aks-terraform/README.md index 9e741b2..f112453 100644 --- a/aks-terraform/README.md +++ b/aks-terraform/README.md @@ -49,6 +49,15 @@ Terraform version >= v0.11.7 $ az aks get-credentials --resource-group docker-android --name k8s-docker-android ``` +## Running with custom K8s files (Recommended) + + - You can use this approach or Kompose (Next 2 steps) + + ```sh + $ kubectl create -f volumes.yaml + $ kubectl create -f services_deployments.yaml + ``` + ## Generate Kube files with Kompose - Install Kompose -> https://github.com/kubernetes/kompose @@ -62,7 +71,7 @@ Terraform version >= v0.11.7 $ kompose convert -f ../kompose.yml ``` -## Execute Kube files +## Execute Kube files (Kompose) - First create Persistent Volume Claims, then Services; finally Deployments files. For example: @@ -74,7 +83,4 @@ Terraform version >= v0.11.7 $ kubectl create -f nexus-7.1.1-deployment.yaml ``` -## Running with custom K8s files - - (To Do)