Commit b3ace99d authored by root's avatar root

禁用 startupProbe

parent fec6f506
...@@ -4,18 +4,16 @@ ...@@ -4,18 +4,16 @@
```bash ```bash
# 1.install # 1.install
# label node
kubectl label node <nodename> harbor=enabled
helm install \ helm install \
harbor \
/etc/kubernetes/helm/harbor \ /etc/kubernetes/helm/harbor \
--name=harbor \
--namespace=devops \ --namespace=devops \
-f /etc/kubernetes/helm/harbor/values-overrides.yaml -f /etc/kubernetes/helm/harbor/values-overrides.yaml
# uninstall # uninstall
helm delete harbor --purge helm uninstall \
harbor \
--namespace devops
# update # update
helm upgrade harbor /etc/kubernetes/helm/harbor \ helm upgrade harbor /etc/kubernetes/helm/harbor \
......
...@@ -42,14 +42,14 @@ spec: ...@@ -42,14 +42,14 @@ spec:
- name: core - name: core
image: {{ .Values.core.image.repository }}:{{ .Values.core.image.tag }} image: {{ .Values.core.image.repository }}:{{ .Values.core.image.tag }}
imagePullPolicy: {{ .Values.imagePullPolicy }} imagePullPolicy: {{ .Values.imagePullPolicy }}
startupProbe: # startupProbe:
httpGet: # httpGet:
path: /api/v2.0/ping # path: /api/v2.0/ping
scheme: {{ include "harbor.component.scheme" . | upper }} # scheme: {{ include "harbor.component.scheme" . | upper }}
port: {{ template "harbor.core.containerPort" . }} # port: {{ template "harbor.core.containerPort" . }}
failureThreshold: 360 # failureThreshold: 360
initialDelaySeconds: {{ .Values.core.startupProbe.initialDelaySeconds }} # initialDelaySeconds: {{ .Values.core.startupProbe.initialDelaySeconds }}
periodSeconds: 10 # periodSeconds: 10
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /api/v2.0/ping 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