mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-23 14:58:44 +00:00
Replace sniffer 30001 port with 48999 (#1670)
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
parent
e819e9b697
commit
261a0ca1a9
@ -72,7 +72,7 @@ type ResourceRequirementsWorker struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type WorkerConfig struct {
|
type WorkerConfig struct {
|
||||||
SrvPort uint16 `yaml:"srvPort" json:"srvPort" default:"30001"`
|
SrvPort uint16 `yaml:"srvPort" json:"srvPort" default:"48999"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type HubConfig struct {
|
type HubConfig struct {
|
||||||
|
@ -131,7 +131,7 @@ Example for overriding image names:
|
|||||||
| `tap.docker.overrideImage` | Can be used to directly override image names | `""` |
|
| `tap.docker.overrideImage` | Can be used to directly override image names | `""` |
|
||||||
| `tap.docker.overrideTag` | Can be used to override image tags | `""` |
|
| `tap.docker.overrideTag` | Can be used to override image tags | `""` |
|
||||||
| `tap.proxy.hub.srvPort` | Hub server port. Change if already occupied. | `8898` |
|
| `tap.proxy.hub.srvPort` | Hub server port. Change if already occupied. | `8898` |
|
||||||
| `tap.proxy.worker.srvPort` | Worker server port. Change if already occupied.| `30001` |
|
| `tap.proxy.worker.srvPort` | Worker server port. Change if already occupied.| `48999` |
|
||||||
| `tap.proxy.front.port` | Front service port. Change if already occupied.| `8899` |
|
| `tap.proxy.front.port` | Front service port. Change if already occupied.| `8899` |
|
||||||
| `tap.proxy.host` | Change to 0.0.0.0 top open up to the world. | `127.0.0.1` |
|
| `tap.proxy.host` | Change to 0.0.0.0 top open up to the world. | `127.0.0.1` |
|
||||||
| `tap.regex` | Target (process traffic from) pods that match regex | `.*` |
|
| `tap.regex` | Target (process traffic from) pods that match regex | `.*` |
|
||||||
|
@ -16,7 +16,7 @@ tap:
|
|||||||
front: ""
|
front: ""
|
||||||
proxy:
|
proxy:
|
||||||
worker:
|
worker:
|
||||||
srvPort: 30001
|
srvPort: 48999
|
||||||
hub:
|
hub:
|
||||||
srvPort: 8898
|
srvPort: 8898
|
||||||
front:
|
front:
|
||||||
|
@ -76,7 +76,7 @@ spec:
|
|||||||
ingress:
|
ingress:
|
||||||
- ports:
|
- ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 30001
|
port: 48999
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 49100
|
port: 49100
|
||||||
egress:
|
egress:
|
||||||
@ -496,7 +496,7 @@ spec:
|
|||||||
- -i
|
- -i
|
||||||
- any
|
- any
|
||||||
- -port
|
- -port
|
||||||
- '30001'
|
- '48999'
|
||||||
- -metrics-port
|
- -metrics-port
|
||||||
- '49100'
|
- '49100'
|
||||||
- -packet-capture
|
- -packet-capture
|
||||||
@ -567,14 +567,14 @@ spec:
|
|||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: 30001
|
port: 48999
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
periodSeconds: 1
|
periodSeconds: 1
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: 30001
|
port: 48999
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /hostproc
|
- mountPath: /hostproc
|
||||||
name: proc
|
name: proc
|
||||||
|
Loading…
Reference in New Issue
Block a user