|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
---
|
|
|
|
|
|
-#Configure build and deploy kubeflow v1.0
|
|
|
+#Configure build and deploy kubeflow v1.0
|
|
|
|
|
|
- name: Download kfctl v1.0.2 release from the Kubeflow releases page.
|
|
|
unarchive:
|
|
@@ -34,19 +34,19 @@
|
|
|
recurse: yes
|
|
|
|
|
|
- name: Build Kubeflow Configuration
|
|
|
- shell:
|
|
|
+ shell:
|
|
|
cmd: /usr/bin/kfctl build -V -f https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_k8s_istio.v1.0.2.yaml
|
|
|
chdir: /root/k8s/omnia-kubeflow
|
|
|
|
|
|
-- name: Modify Cpu Limit for istio-ingressgateway-service-account
|
|
|
+- name: Modify Cpu Limit for istio-ingressgateway-service-account
|
|
|
replace:
|
|
|
path: /root/k8s/omnia-kubeflow/kustomize/istio-install/base/istio-noauth.yaml
|
|
|
after: 'serviceAccountName: istio-ingressgateway-service-account'
|
|
|
before: '---'
|
|
|
regexp: 'cpu: 100m'
|
|
|
replace: 'cpu: 2'
|
|
|
-
|
|
|
-- name: Modify Mem Limit for istio-ingressgateway-service-account
|
|
|
+
|
|
|
+- name: Modify Mem Limit for istio-ingressgateway-service-account
|
|
|
replace:
|
|
|
path: /root/k8s/omnia-kubeflow/kustomize/istio-install/base/istio-noauth.yaml
|
|
|
after: 'serviceAccountName: istio-ingressgateway-service-account'
|
|
@@ -54,15 +54,15 @@
|
|
|
regexp: 'memory: 128Mi'
|
|
|
replace: 'memory: 512Mi'
|
|
|
|
|
|
-- name: Modify Cpu Request for istio-ingressgateway-service-account
|
|
|
+- name: Modify Cpu Request for istio-ingressgateway-service-account
|
|
|
replace:
|
|
|
path: /root/k8s/omnia-kubeflow/kustomize/istio-install/base/istio-noauth.yaml
|
|
|
after: 'serviceAccountName: istio-ingressgateway-service-account'
|
|
|
before: '---'
|
|
|
regexp: 'cpu: 10m'
|
|
|
replace: 'cpu: 1'
|
|
|
-
|
|
|
-- name: Modify Mem Request for istio-ingressgateway-service-account
|
|
|
+
|
|
|
+- name: Modify Mem Request for istio-ingressgateway-service-account
|
|
|
replace:
|
|
|
path: /root/k8s/omnia-kubeflow/kustomize/istio-install/base/istio-noauth.yaml
|
|
|
after: 'serviceAccountName: istio-ingressgateway-service-account'
|
|
@@ -78,7 +78,7 @@
|
|
|
before: 'env:'
|
|
|
regexp: 'cpu: 100m'
|
|
|
replace: 'cpu: 2'
|
|
|
-
|
|
|
+
|
|
|
- name: Modify Mem Limit for kfserving-gateway
|
|
|
replace:
|
|
|
path: /root/k8s/omnia-kubeflow/kustomize/kfserving-gateway/base/deployment.yaml
|
|
@@ -94,7 +94,7 @@
|
|
|
before: 'env:'
|
|
|
regexp: 'cpu: 10m'
|
|
|
replace: 'cpu: 1'
|
|
|
-
|
|
|
+
|
|
|
- name: Modify Mem Request for kfserving-gateway
|
|
|
replace:
|
|
|
path: /root/k8s/omnia-kubeflow/kustomize/kfserving-gateway/base/deployment.yaml
|
|
@@ -117,6 +117,6 @@
|
|
|
replace: 'LoadBalancer'
|
|
|
|
|
|
- name: Apply Kubeflow Configuration
|
|
|
- shell:
|
|
|
+ shell:
|
|
|
cmd: /usr/bin/kfctl apply -V -f /root/k8s/omnia-kubeflow/kfctl_k8s_istio.v1.0.2.yaml
|
|
|
chdir: /root/k8s/omnia-kubeflow
|