From c0751ad4cbc8ec9006cc2bd3b9e68fdeff66b67b Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Sat, 9 Mar 2024 07:02:05 +0200 Subject: [PATCH] Switch to lower ports (#1514) Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com> --- helm-chart/templates/04-hub-deployment.yaml | 6 ++++-- helm-chart/templates/05-hub-service.yaml | 2 +- helm-chart/templates/06-front-deployment.yaml | 4 ++-- helm-chart/templates/07-front-service.yaml | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/helm-chart/templates/04-hub-deployment.yaml b/helm-chart/templates/04-hub-deployment.yaml index e760c3d7c..28f4242c6 100644 --- a/helm-chart/templates/04-hub-deployment.yaml +++ b/helm-chart/templates/04-hub-deployment.yaml @@ -29,6 +29,8 @@ spec: - name: kubeshark-hub command: - ./hub + - -port + - "8080" {{- if .Values.tap.debug }} - -debug {{- end }} @@ -51,14 +53,14 @@ spec: successThreshold: 1 initialDelaySeconds: 3 tcpSocket: - port: 80 + port: 8080 livenessProbe: periodSeconds: 1 failureThreshold: 3 successThreshold: 1 initialDelaySeconds: 3 tcpSocket: - port: 80 + port: 8080 resources: limits: cpu: {{ .Values.tap.resources.hub.limits.cpu }} diff --git a/helm-chart/templates/05-hub-service.yaml b/helm-chart/templates/05-hub-service.yaml index f2d529a77..b7d19cf2c 100644 --- a/helm-chart/templates/05-hub-service.yaml +++ b/helm-chart/templates/05-hub-service.yaml @@ -15,7 +15,7 @@ spec: ports: - name: kubeshark-hub port: 80 - targetPort: 80 + targetPort: 8080 selector: app.kubeshark.co/app: hub type: ClusterIP diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 7afe269fa..0dc4d5b6d 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -49,14 +49,14 @@ spec: successThreshold: 1 initialDelaySeconds: 3 tcpSocket: - port: 80 + port: 8080 readinessProbe: periodSeconds: 1 failureThreshold: 3 successThreshold: 1 initialDelaySeconds: 3 tcpSocket: - port: 80 + port: 8080 timeoutSeconds: 1 resources: limits: diff --git a/helm-chart/templates/07-front-service.yaml b/helm-chart/templates/07-front-service.yaml index 51211cc9c..eab85522c 100644 --- a/helm-chart/templates/07-front-service.yaml +++ b/helm-chart/templates/07-front-service.yaml @@ -14,7 +14,7 @@ spec: ports: - name: kubeshark-front port: 80 - targetPort: 80 + targetPort: 8080 selector: app.kubeshark.co/app: front type: ClusterIP