diff --git a/Deploy.md b/Deploy.md index 7abd61f333dccd9b5c0e71b94c37c6f6f9c5eccc..438cc267ec0685c10b173c7b2c25fadbc5910ce6 100644 --- a/Deploy.md +++ b/Deploy.md @@ -4,18 +4,16 @@ ```bash # 1.install - -# label node -kubectl label node 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 \ diff --git a/templates/core/core-dpl.yaml b/templates/core/core-dpl.yaml index 10002f1ac5465271effce7f8e8974724328bba09..ceac1b2d4cd52e1099b90179a432edba5eb7828f 100644 --- a/templates/core/core-dpl.yaml +++ b/templates/core/core-dpl.yaml @@ -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