Skip to content

Commit

Permalink
Minor changes to Katib manifests (kubeflow#457)
Browse files Browse the repository at this point in the history
* Adding PeriodSeconds to livenessProbe

* Add tests

* Adding extra kubectl output
  • Loading branch information
johnugeorge authored and k8s-ci-robot committed Oct 10, 2019
1 parent 60b1248 commit 2964e1c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions katib/katib-controller/base/katib-manager-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ spec:
exec:
command: ["/bin/grpc_health_probe", "-addr=:6789"]
initialDelaySeconds: 10
periodSeconds: 60
failureThreshold: 5
3 changes: 3 additions & 0 deletions katib/katib-crds/base/trial-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[-1:].type
name: Type
type: string
- JSONPath: .status.conditions[-1:].status
name: Status
type: string
- JSONPath: .metadata.creationTimestamp
Expand Down
2 changes: 2 additions & 0 deletions tests/katib-controller-base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ spec:
exec:
command: ["/bin/grpc_health_probe", "-addr=:6789"]
initialDelaySeconds: 10
periodSeconds: 60
failureThreshold: 5
`)
th.writeF("/manifests/katib/katib-controller/base/katib-manager-rest-deployment.yaml", `
apiVersion: apps/v1
Expand Down
2 changes: 2 additions & 0 deletions tests/katib-controller-overlays-application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ spec:
exec:
command: ["/bin/grpc_health_probe", "-addr=:6789"]
initialDelaySeconds: 10
periodSeconds: 60
failureThreshold: 5
`)
th.writeF("/manifests/katib/katib-controller/base/katib-manager-rest-deployment.yaml", `
apiVersion: apps/v1
Expand Down
2 changes: 2 additions & 0 deletions tests/katib-controller-overlays-istio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ spec:
exec:
command: ["/bin/grpc_health_probe", "-addr=:6789"]
initialDelaySeconds: 10
periodSeconds: 60
failureThreshold: 5
`)
th.writeF("/manifests/katib/katib-controller/base/katib-manager-rest-deployment.yaml", `
apiVersion: apps/v1
Expand Down
3 changes: 3 additions & 0 deletions tests/katib-crds-base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ metadata:
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[-1:].type
name: Type
type: string
- JSONPath: .status.conditions[-1:].status
name: Status
type: string
- JSONPath: .metadata.creationTimestamp
Expand Down

0 comments on commit 2964e1c

Please sign in to comment.