This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# PATCH #1: Creating the istio-system namespace. | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: istio-system | |
labels: | |
istio-injection: disabled | |
# PATCH #1 ends. | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl apply --filename https://gist.githubusercontent.com/swiftdiaries/04847b5dc194df0e1357441054bd240d/raw/2f84e8b9addb2b605a4d4742cc33aef820e2177e/Istio%2520installation%2520YAML | |
# Create a kubeflow namespace | |
kubectl create ns kubeflow | |
# Set label to enable istio-injection on the kubeflow namespace | |
kubectl label namespace kubeflow istio-injection=enabled | |
ks init pipeline-ks-app --env on-prem --namespace kubeflow --skip-default-registries | |
cd pipeline-ks-app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Istio is required for pipelines | |
# [Install istio](https://gist.github.com/swiftdiaries/45be0f72c420b3b7ffd7671efa9e5d3c) | |
# Grab the (latest release of the pipelines)[https://github.com/kubeflow/pipelines/releases] | |
export PIPELINE_VERSION=0.1.6 | |
# Download the bootstrapper job. | |
curl https://storage.googleapis.com/ml-pipeline/release/$PIPELINE_VERSION/bootstrapper.yaml --output bootstrapper.yaml | |
# Update additional parameters in bootstrapper.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl apply --filename https://gist.githubusercontent.com/swiftdiaries/04847b5dc194df0e1357441054bd240d/raw/2f84e8b9addb2b605a4d4742cc33aef820e2177e/Istio%2520installation%2520YAML | |
# Create a kubeflow namespace | |
kubectl create ns kubeflow | |
# Set label to enable istio-injection on the kubeflow namespace | |
kubectl label namespace kubeflow istio-injection=enabled | |
# Ensure Istio pods are Running or Completed. | |
kubectl get pods -n istio-system --watch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud auth login | |
gcloud config set project [your-project-id] | |
# Set your default zone. | |
gcloud config set compute/zone us-central1-a | |
# Create a cluster | |
CLUSTER_NAME=[YOUR-CLUSTER-NAME] | |
gcloud container clusters create $CLUSTER_NAME \ | |
--zone us-central1-a \ |
NewerOlder