Commit Graph

11 Commits

Author SHA1 Message Date
Yuan Tang fd7f655ee8
Correct MPIJob CRD's apiVersion (#1170)
Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
2020-05-15 09:45:37 -07:00
Jeremy Lewi 4307f37657
commonLabels need to be immutable to support upgrading. (#1140)
* Fix kubeflow/manifests#1131

* kustomize commonLabels get subsituted into selector fields. Selector fields
  are immutable. So if commonLabels change (e.g. between versions) then
  we can't reapply/update the existing resources which breaks upgrades
 (kubeflow/kfctl#304)

* For the most part the problematic commonLabels were on our Application
  resources. The following labels were being set

  "app.kubernetes.io/version"
  "app.kubernetes.io/instance"
  "app.kubernetes.io/managed-by"
  "app.kubernetes.io/part-of"

* Version was definetely changing between versions. instance was also changing
  between versions to include the version number.

* managed-by and part-of could also change (e.g. we may not be using kfctl)
* We could still set these labels if we wanted to; we just shouldn't set
  them as commonLabels and/or include them in the selector as the will
  inhibit upgrades with kubectl apply.

* I created a test validate_resources_test.go to ensure none of these
  labels are included in commonLabels

* I created a simple go binary tools/fix_common_labels.go to update
  all the resources.

* generat_tests.py - Delete the code to remove unmatched tests.
  * We no longer generate tests that way and the delete code was going
    to delete valid tests like our new validation test

* Get rid of the clean rule in the Makefile for the same reason.
2020-04-30 22:14:06 -07:00
Yuan Tang f30a387c6f
Add Abhilash to MPIJob manifests maintainers (#1129) 2020-04-24 14:15:49 -04:00
Abhilash Pallerlamudi 520be69b7e
upgrade mpi-operator manifests to v1 (#1128)
Signed-off-by: Abhilash Pallerlamudi <stp.abhi@gmail.com>
2020-04-22 06:09:52 -07:00
Yuan Tang 8e87c65b9b
Update maintainers info for MPIJob and MXJob manifests (#1120)
Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
2020-04-20 12:01:40 -07:00
Yao Xiao abc6898ba5
Add aggregation rule for mpi-operator and mxnet-operator clusterroles (#1108) 2020-04-18 14:55:35 -07:00
Yuan (Bob) Gong 3fe91f521c
Add istio sidecar inject false to deployments in kubeflow ns (#712)
* Add istio sidecar inject false to deployments

* Revert cert-manager changes

* Revert unneeded changes
2020-01-29 04:28:05 -08:00
Jeremy Lewi e5a91ea617 Revert PRs back to 3e85b3c83d (#429)
* Revert "Metadata fix (#424)"

This reverts commit 019d532ee6.

* Revert "kustomization: add missing images to kustomizations (#405)"

This reverts commit 967b6e09cf.

* Revert "Add new updated Jupyter notebook images (#401)"

This reverts commit c20260264b.

* Revert "first pass on remaining applications (#410)"

This reverts commit 7a6d519916.

* Revert "App instance (#342)"

This reverts commit e97671c579.
2019-10-03 16:35:55 -07:00
Kam Kasravi 7a6d519916 first pass on remaining applications (#410)
* first pass on remaining applications

* update crds

* application for istio-crds, istio-install, istio
2019-10-01 20:07:07 -07:00
Kam Kasravi e97671c579 App instance (#342)
* added config files for kfctl_gcp_iap, kfctl-gcp-e2e-pipelinerun.yaml

* update location of kfctl_gcp_iap

* updated kfctl revision

* error in kfctl-gcp-e2e-pipelinerun.yaml

* mapping value

* map values

* remove testing_repo, kfctl_repo

* changed jupyter-web-app to use instance

* update manifests to use PR

* instance update

* leave generateName blank in params.env

* update to application instance

* change configmap name

* add additional varReferences

* update unit tests

* added application to admission-webhook, argo, profile, pipeline

* use kfctl_gcp_iap from the PR

* update unit tests

* add generateName parameter

* added generateName to kfct_anthos, kfctl_aws

* update kfctl_aws_cognito.yaml, kfctl_gcp_iap.yaml with generateName

* added generateName to kfctl_existing_arriko.yaml

* added kfctl_gcp_basic_auth.yaml

* added kfctl_k8s_istio

* update params.yaml, unit tests

* StatefulSet -> Deployment

* use different config map name

* fix for seldon-core

* update unit tests

* add katib application

* added katib-suggestion
2019-10-01 08:53:33 -07:00
Abhilash Pallerlamudi a648b70175 Kustomize package for mpi-operator (v1alpha1) (#248)
Signed-off-by: Abhilash Pallerlamudi <stp.abhi@gmail.com>
2019-08-06 17:16:54 -07:00