M. Mert Yildiran
98173350ec
Print instructions for running kubectl port-forward
command in case of failure ( #1614 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2024-09-23 08:40:23 -07:00
M. Mert Yildiran
1c883c73e4
Add hub to the list of containers in pprof
command and add flags to pprof
command ( #1603 )
...
* Add hub to the list of containers in `pprof` command and add flags to `pprof` command
* Reduce duplication
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2024-09-09 14:41:01 -07:00
M. Mert Yildiran
19723debb2
🐛 Fix GetHubUrl
method
2023-11-01 20:35:19 +03:00
M. Mert Yildiran
5bd44b57f4
✨ In case of tap
re-run, update the config and start a proxy
2023-09-25 23:21:38 +03:00
Luiz Oliveira
3dfff2b7a5
♻️ Turn the Ingress path rewrite for Hub into an Nginx location directive ( #1426 )
...
* fixes websocket for nginx-ingress
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* update messagem when helm completes
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* force react port to be a path
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* include Authorization header to the proxy
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* remove hub from proxy
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* remove REACT_APP_HUB_PORT info
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* include path back again to REACT_APP_HUB_PORT
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
---------
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
2023-09-15 21:43:34 +03:00
Luiz Oliveira
f95db49317
🚀 Change Hub's and Front's resource type from Pod
to Deployment
( #1412 )
...
* change services to ClusterIP and update selector labels
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* replace kind of hub and front to Deployments
Pod -> Deployments
hub config -> Uses a config-map
license -> Ises a secret
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* uses map of labels to select pods and services
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* remove ListAllNamespaces method
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* include livenessProbe and readinessProbe for deployments
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
---------
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
2023-08-16 02:35:31 +03:00
M. Mert Yildiran
7b004e7a1f
⚡ Change GetLocalhostOnPort
method to GetProxyOnPort
2023-06-19 02:19:52 +03:00
M. Mert Yildiran
39f8d40b76
Revert " ⚡ Add Refresh-Token
to the list of Access-Control-Allow-Headers
"
...
This reverts commit bf731073c8
.
2023-05-24 02:10:48 +03:00
M. Mert Yildiran
bf731073c8
⚡ Add Refresh-Token
to the list of Access-Control-Allow-Headers
2023-05-24 02:04:56 +03:00
M. Mert Yildiran
edf5c8cd6d
⚡ Don't call cancel()
in case of a proxy/port-forward error
2023-01-22 05:04:44 +03:00
M. Mert Yildiran
b0e83a9e25
🔨 Replace kubeshark
occurrences with misc.Program
, misc.Software
and "self" wording
2022-12-29 04:12:03 +03:00
M. Mert Yildiran
afbd6963b8
✨ Add pcap
command to capture from a PCAP file
2022-12-27 07:31:04 +03:00
M. Mert Yildiran
cae3b4fe17
💡 Better log messages
2022-11-29 04:52:53 +03:00
M. Mert Yildiran
86fd616b84
✨ Use github.com/rs/zerolog
for logging ( #1255 )
...
* Use `github.com/rs/zerolog` for logging
* Use `github.com/rs/zerolog` for logging (continue)
* Add `debug` flag
* Remove `github.com/op/go-logging` dependency completely
* Fix linter
2022-11-29 03:48:20 +03:00
M. Mert Yildiran
671aa783c5
🔨 Replace ApiServer
naming with Hub
2022-11-26 22:06:06 +03:00
M. Mert Yildiran
cb60a4cc4c
🔨 Move cli
folder contents into project root ( #1253 )
...
* Remove `logger` module
* Remove `shared` module
* Move `cli` folder contents into project root
* Fix linter
* Change the module name from `github.com/kubeshark/kubeshark/cli` to `github.com/kubeshark/kubeshark`
* Set the default `Makefile` rule to `build`
* Add `lint` rule
* Fix the linter errors
2022-11-26 01:17:50 +03:00