Skip to content

Commit

Permalink
Merge pull request #391 from ywk253100/191014_probe_1.2
Browse files Browse the repository at this point in the history
[Cherry-pick-1.2]Make probes configurable
  • Loading branch information
reasonerjt authored Oct 15, 2019
2 parents 3a7efc1 + 25ce029 commit 3865327
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ The following table lists the configurable parameters of the Harbor chart and th
| `core.image.repository` | Repository for Harbor core image | `goharbor/harbor-core` |
| `core.image.tag` | Tag for Harbor core image | `dev` |
| `core.replicas` | The replica count | `1` |
| `core.livenessProbe.initialDelaySeconds` | The initial delay in seconds for the liveness probe | `300` |
| `core.resources` | The [resources] to allocate for container | undefined |
| `core.nodeSelector` | Node labels for pod assignment | `{}` |
| `core.tolerations` | Tolerations for pod assignment | `[]` |
Expand Down
2 changes: 1 addition & 1 deletion templates/core/core-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
httpGet:
path: /api/ping
port: 8080
initialDelaySeconds: 20
initialDelaySeconds: {{ .Values.core.livenessProbe.initialDelaySeconds }}
periodSeconds: 10
readinessProbe:
httpGet:
Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ core:
repository: goharbor/harbor-core
tag: v1.9.1
replicas: 1
## Liveness probe values
livenessProbe:
initialDelaySeconds: 300
# resources:
# requests:
# memory: 256Mi
Expand Down

0 comments on commit 3865327

Please sign in to comment.