From 88f8998df347622300fe2d38155da61e8dd111c0 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Tue, 21 Nov 2023 20:24:14 +0300 Subject: [PATCH] :hammer: Update the worker pod and run `make generate-helm-values && make generate-manifests` --- config/configStructs/tapConfig.go | 2 +- helm-chart/README.md | 2 +- manifests/complete.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index a874d50d7..f0f72bf38 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -49,7 +49,7 @@ type ResourceRequirements struct { } type WorkerConfig struct { - SrvPort uint16 `yaml:"srvPort" json:"srvPort" default:"8897"` + SrvPort uint16 `yaml:"srvPort" json:"srvPort" default:"30001"` } type HubConfig struct { diff --git a/helm-chart/README.md b/helm-chart/README.md index 2af240562..f71f2d7fe 100644 --- a/helm-chart/README.md +++ b/helm-chart/README.md @@ -112,7 +112,7 @@ helm install kubeshark kubeshark/kubeshark \ | `tap.docker.tag` | Tag of the Docker images | `latest` | | `tap.docker.imagePullPolicy` | Kubernetes image pull policy | `Always` | | `tap.docker.imagePullSecrets` | Kubernetes secrets to pull the images | `[]` | -| `tap.proxy.worker.srvPort` | Worker server port | `8897` | +| `tap.proxy.worker.srvPort` | Worker server port | `30001` | | `tap.proxy.hub.port` | Hub service port | `8898` | | `tap.proxy.hub.srvPort` | Hub server port | `8898` | | `tap.proxy.front.port` | Front-facing service port | `8899` | diff --git a/manifests/complete.yaml b/manifests/complete.yaml index ec16fb536..ccb3aa013 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -288,7 +288,7 @@ spec: - -i - any - -port - - '8897' + - '30001' - -servicemesh - -procfs - /hostproc @@ -329,14 +329,14 @@ spec: successThreshold: 1 initialDelaySeconds: 5 tcpSocket: - port: 8897 + port: 30001 livenessProbe: periodSeconds: 1 failureThreshold: 3 successThreshold: 1 initialDelaySeconds: 5 tcpSocket: - port: 8897 + port: 30001 volumeMounts: - mountPath: /hostproc name: proc