Skip to content

Commit

Permalink
fix mysql deployment strategy (#1562) (#1643)
Browse files Browse the repository at this point in the history
* fix mysql deployment strategy (#1562)

(cherry picked from commit 6c4f265)

* resolve tests for azure
  • Loading branch information
thesuperzapper authored Nov 16, 2020
1 parent 514d0f2 commit fc9fe83
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 1 deletion.
2 changes: 2 additions & 0 deletions katib/katib-controller/base/katib-mysql-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
matchLabels:
app: katib
component: mysql
strategy:
type: Recreate
template:
metadata:
name: katib-mysql
Expand Down
4 changes: 3 additions & 1 deletion metadata/overlays/db/metadata-db-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ metadata:
labels:
component: db
spec:
replicas: 1
selector:
matchLabels:
component: db
replicas: 1
strategy:
type: Recreate
template:
metadata:
name: db
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/name: metadata
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/name: metadata
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/name: metadata
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
matchLabels:
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: 0.8.0
component: mysql
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
app.kubernetes.io/version: 0.2.1
component: db
kustomize.component: metadata
strategy:
type: Recreate
template:
metadata:
annotations:
Expand Down

0 comments on commit fc9fe83

Please sign in to comment.