This commit is contained in:
Eugene Fedorenko 2020-06-26 13:38:24 -07:00 коммит произвёл GitHub
Родитель 83de056570
Коммит a100cd0065
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 35 добавлений и 4 удалений

Просмотреть файл

@ -1,5 +1,10 @@
# Kubeflow installation instruction
## Connect to AKS
* Login to Azure: az login
* Create user credentials: az aks get-credentials -n <AKS_NAME> -g <RESOURCE_GROUP_NAME>
## Install Istio (if not already installed on the cluster)
(https://istio.io/docs/setup/getting-started/#download)

Просмотреть файл

@ -17,12 +17,12 @@
* [Install KubeFlow](./Kubeflow-install.md) on the AKS cluster
* Run [azure-credentials.sh](../setup/kfp/azure-credentials.sh)
* This file sets Azure service principal secrets in the AKS cluster
* This file sets Azure service principal secrets in the AKS cluster. Initialize variables in the script before running it.
* Run [ghcreds-secret.sh](../setup/kfp/ghcreds-secret.sh)
* This file set Git access token secrets in the AKS cluster
* This file set Git access token secrets in the AKS cluster. Initialize variables in the script before running it.
* Run [kubemlopsbot.sh](../setup/kfp/kubemlopsbot.sh)
* Manually installs a k8s deployment for a custom bot
* Manually installs a k8s deployment for a custom bot. Initialize variables in the script before running it.
* Run [pvc.sh](../setup/kfp/pvc.sh)
* Deploy a PVC configuration in kubeflow namespace
* Run [attach-acr.sh](../setup/kfp/attach-acr.sh)
* Run [attach-acr.sh](../setup/kfp/attach-acr.sh). Initialize variables in the script before running it.
* Use Az CLI to authenticate Azure Container Registry with AKS

Просмотреть файл

@ -1 +1,6 @@
# Initialize variables:
# AKS_NAME=
# RESOURCE_GROUP=
# ACR_NAME=
az aks update -n $AKS_NAME -g $RESOURCE_GROUP --attach-acr $ACR_NAME

Просмотреть файл

@ -1,3 +1,10 @@
# Initialize variables:
# AZ_SUBSCRIPTION_ID=
# AZ_TENANT_ID=
# AZ_CLIENT_ID=
# AZ_CLIENT_SECRET=
# KUBEFLOW_NAMESPACE=kubeflow
kubectl create secret generic azcreds --from-literal=AZ_SUBSCRIPTION_ID=$AZ_SUBSCRIPTION_ID \
--from-literal=AZ_TENANT_ID=$AZ_TENANT_ID \
--from-literal=AZ_CLIENT_ID=$AZ_CLIENT_ID \

Просмотреть файл

@ -1 +1,7 @@
# Initialize variables:
# DATABRICKS_HOST=
# DATABRICKS_TOKEN=
# CLUSTER_ID=
# KUBEFLOW_NAMESPACE=kubeflow
kubectl create secret generic databricks-secret --from-literal=DATABRICKS_HOST=$DATABRICKS_HOST --from-literal=DATABRICKS_TOKEN=$DATABRICKS_TOKEN --from-literal=CLUSTER_ID=$CLUSTER_ID -n $KUBEFLOW_NAMESPACE

Просмотреть файл

@ -1 +1,6 @@
# Initialize variables:
# GITHUB_TOKEN=
# GITHUB_REPOSITORY=
# KUBEFLOW_NAMESPACE=kubeflow
kubectl create secret generic ghcreds-secret --from-literal=GITHUB_TOKEN=$GITHUB_TOKEN --from-literal=GITHUB_REPOSITORY=$GITHUB_REPOSITORY -n $KUBEFLOW_NAMESPACE

Просмотреть файл

@ -1 +1,4 @@
# Initialize variables:
# KUBEFLOW_NAMESPACE=kubeflow
kubectl apply -f kubemlopsbot.yml -n $KUBEFLOW_NAMESPACE