Commit b3ace99d authored by root's avatar root

禁用 startupProbe

parent fec6f506
......@@ -4,18 +4,16 @@
```bash
# 1.install
# label node
kubectl label node <nodename> harbor=enabled
helm install \
harbor \
/etc/kubernetes/helm/harbor \
--name=harbor \
--namespace=devops \
-f /etc/kubernetes/helm/harbor/values-overrides.yaml
# uninstall
helm delete harbor --purge
helm uninstall \
harbor \
--namespace devops
# update
helm upgrade harbor /etc/kubernetes/helm/harbor \
......
......@@ -42,14 +42,14 @@ spec:
- name: core
image: {{ .Values.core.image.repository }}:{{ .Values.core.image.tag }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
startupProbe:
httpGet:
path: /api/v2.0/ping
scheme: {{ include "harbor.component.scheme" . | upper }}
port: {{ template "harbor.core.containerPort" . }}
failureThreshold: 360
initialDelaySeconds: {{ .Values.core.startupProbe.initialDelaySeconds }}
periodSeconds: 10
# startupProbe:
# httpGet:
# path: /api/v2.0/ping
# scheme: {{ include "harbor.component.scheme" . | upper }}
# port: {{ template "harbor.core.containerPort" . }}
# failureThreshold: 360
# initialDelaySeconds: {{ .Values.core.startupProbe.initialDelaySeconds }}
# periodSeconds: 10
livenessProbe:
httpGet:
path: /api/v2.0/ping
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment