Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Kubeflow v1.1 #65

Merged
merged 5 commits into from
Nov 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions kfctl_k8s_istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ spec:
name: manifests
path: istio/istio
name: istio
- kustomizeConfig:
repoRef:
name: manifests
path: metacontroller
name: metacontroller
- kustomizeConfig:
overlays:
- istio
Expand All @@ -83,7 +88,13 @@ spec:
name: centraldashboard
- kustomizeConfig:
overlays:
- cert-manager
- application
repoRef:
name: manifests
path: admission-webhook/bootstrap
name: bootstrap
- kustomizeConfig:
overlays:
- application
repoRef:
name: manifests
Expand Down Expand Up @@ -310,5 +321,5 @@ spec:
name: seldon-core-operator
repos:
- name: manifests
uri: https://github.com/kubeflow/manifests/archive/v1.0.2.tar.gz
version: v1.0.2
uri: https://github.com/kubeflow/manifests/archive/v1.1.0.tar.gz
version: v1.1.0
6 changes: 4 additions & 2 deletions kustomize/api-service/base/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ data:
"DBConfig": {
"DriverName": "mysql",
"DataSourceName": "",
"DBName": "mlpipeline"
"DBName": "mlpipeline",
"GroupConcatMaxLen": "4194304"
},
"ObjectStoreConfig":{
"AccessKey": "minio",
"SecretAccessKey": "minio123",
"BucketName": "mlpipeline"
"BucketName": "mlpipeline",
"Secure": false
},
"InitConnectionTimeout": "6m",
"DefaultPipelineRunnerServiceAccount": "pipeline-runner",
Expand Down
9 changes: 6 additions & 3 deletions kustomize/api-service/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: ml-pipeline
spec:
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
spec:
containers:
- name: ml-pipeline-api-server
Expand All @@ -15,17 +18,17 @@ spec:
image: gcr.io/ml-pipeline/api-server
imagePullPolicy: IfNotPresent
command:
- apiserver
- apiserver
- --config=/etc/ml-pipeline-config
- --sampleconfig=/config/sample_config.json
- --sampleconfig=/config/sample_config.json
- -logtostderr=true
ports:
- containerPort: 8888
- containerPort: 8887
volumeMounts:
- name: config-volume
mountPath: /etc/ml-pipeline-config
serviceAccountName: ml-pipeline
serviceAccountName: ml-pipeline
volumes:
- name: config-volume
configMap:
Expand Down
4 changes: 0 additions & 4 deletions kustomize/api-service/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ bases:
- base
commonLabels:
app.kubernetes.io/component: api-service
app.kubernetes.io/instance: api-service-0.2.5
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/name: api-service
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: 0.2.5
kind: Kustomization
namespace: kubeflow
resources:
Expand Down
4 changes: 0 additions & 4 deletions kustomize/api-service/overlays/application/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ bases:
- ../../base
commonLabels:
app.kubernetes.io/component: api-service
app.kubernetes.io/instance: api-service-0.2.5
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/name: api-service
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: 0.2.5
kind: Kustomization
resources:
- application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ patchesStrategicMerge:
- config-map.yaml
configMapGenerator:
- name: pipeline-external-mysql-parameters
env: params.env
envs:
- params.env
generatorOptions:
disableNameSuffixHash: true
vars:
Expand Down
6 changes: 0 additions & 6 deletions kustomize/application-crds/base/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,3 @@ spec:
type: integer
type: object
version: v1beta1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
3 changes: 2 additions & 1 deletion kustomize/application/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ namespace: kubeflow
nameprefix: application-controller-
configMapGenerator:
- name: parameters
env: params.env
envs:
- params.env
generatorOptions:
disableNameSuffixHash: true
images:
Expand Down
2 changes: 2 additions & 0 deletions kustomize/application/base/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
image: gcr.io/kubeflow-images-public/kubernetes-sigs/application
imagePullPolicy: Always
env:
# TODO(https://github.com/kubeflow/manifests/issues/1043)
# Do we really need this?
- name: project
value: $(project)
serviceAccountName: service-account
Expand Down
4 changes: 0 additions & 4 deletions kustomize/application/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ bases:
- base
commonLabels:
app.kubernetes.io/component: kubeflow
app.kubernetes.io/instance: kubeflow-v1.0.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/name: kubeflow
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v1.0.0
kind: Kustomization
namespace: kubeflow
resources:
Expand Down
4 changes: 2 additions & 2 deletions kustomize/application/overlays/application/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: kubeflow
app.kubernetes.io/instance: kubeflow-v1.0.0
app.kubernetes.io/instance: kubeflow-v0.7.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/component: kubeflow
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v1.0.0
app.kubernetes.io/version: v0.7.0
componentKinds:
- group: app.k8s.io
kind: Application
Expand Down
12 changes: 4 additions & 8 deletions kustomize/application/overlays/application/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
resources:
- application.yaml
commonLabels:
app.kubernetes.io/name: kubeflow
app.kubernetes.io/instance: kubeflow-v1.0.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/component: kubeflow
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v1.0.0
app.kubernetes.io/name: kubeflow
kind: Kustomization
resources:
- application.yaml
6 changes: 6 additions & 0 deletions kustomize/argo/base/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ rules:
- watch
- update
- patch
- apiGroups:
- sparkoperator.k8s.io
resources:
- sparkapplications
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
Expand Down
3 changes: 2 additions & 1 deletion kustomize/argo/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ images:
newTag: v2.3.0
configMapGenerator:
- name: workflow-controller-parameters
env: params.env
envs:
- params.env
generatorOptions:
disableNameSuffixHash: true
vars:
Expand Down
10 changes: 1 addition & 9 deletions kustomize/argo/base/service.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
apiVersion: v1
kind: Service
metadata:
annotations:
getambassador.io/config: |-
---
apiVersion: ambassador/v0
kind: Mapping
name: argo-ui-mapping
prefix: /argo/
service: argo-ui.$(namespace)
labels:
app: argo-ui
name: argo-ui
Expand All @@ -20,4 +12,4 @@ spec:
selector:
app: argo-ui
sessionAffinity: None
type: ClusterIP
type: ClusterIP
102 changes: 102 additions & 0 deletions kustomize/argo/base_v3/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base/cluster-role-binding.yaml
- ../base/cluster-role.yaml
- ../base/config-map.yaml
- ../base/crd.yaml
- ../base/deployment.yaml
- ../base/service-account.yaml
- ../base/service.yaml
- ../overlays/istio/virtual-service.yaml
- ../overlays/application/application.yaml
commonLabels:
kustomize.component: argo
app.kubernetes.io/component: argo
app.kubernetes.io/name: argo
images:
- name: argoproj/argoui
newName: argoproj/argoui
newTag: v2.3.0
- name: argoproj/workflow-controller
newName: argoproj/workflow-controller
newTag: v2.3.0
configMapGenerator:
- name: workflow-controller-parameters
envs:
- ../base/params.env
generatorOptions:
disableNameSuffixHash: true
vars:
- name: executorImage
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.executorImage
- name: containerRuntimeExecutor
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.containerRuntimeExecutor
- name: artifactRepositoryBucket
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositoryBucket
- name: artifactRepositoryKeyPrefix
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositoryKeyPrefix
- name: artifactRepositoryEndpoint
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositoryEndpoint
- name: artifactRepositoryInsecure
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositoryInsecure
- name: artifactRepositoryAccessKeySecretName
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositoryAccessKeySecretName
- name: artifactRepositoryAccessKeySecretKey
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositoryAccessKeySecretKey
- name: artifactRepositorySecretKeySecretName
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositorySecretKeySecretName
- name: artifactRepositorySecretKeySecretKey
objref:
kind: ConfigMap
name: workflow-controller-parameters
apiVersion: v1
fieldref:
fieldpath: data.artifactRepositorySecretKeySecretKey
configurations:
- params.yaml
5 changes: 5 additions & 0 deletions kustomize/argo/base_v3/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
varReference:
- path: data/config
kind: ConfigMap
- path: spec/http/route/destination/host
kind: VirtualService
4 changes: 0 additions & 4 deletions kustomize/argo/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ bases:
- base
commonLabels:
app.kubernetes.io/component: argo
app.kubernetes.io/instance: argo-v2.3.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/name: argo
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v2.3.0
configurations:
- overlays/istio/params.yaml
kind: Kustomization
Expand Down
4 changes: 0 additions & 4 deletions kustomize/argo/overlays/application/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: argo
app.kubernetes.io/instance: argo-v2.3.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/component: argo
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v2.3.0
componentKinds:
- group: core
kind: ConfigMap
Expand Down
12 changes: 4 additions & 8 deletions kustomize/argo/overlays/application/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
resources:
- application.yaml
commonLabels:
app.kubernetes.io/name: argo
app.kubernetes.io/instance: argo-v2.3.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/component: argo
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v2.3.0
app.kubernetes.io/name: argo
kind: Kustomization
resources:
- application.yaml
11 changes: 11 additions & 0 deletions kustomize/bootstrap/base/cluster-role-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: cluster-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-role
subjects:
- kind: ServiceAccount
name: service-account
Loading