Volodymyr Stoiko
bba1bbd1fb
Watch cm creation and sync scripts ( #1637 )
...
* Fix graceful shutdown
* add helpers
* Watch for configmap changes
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-11-05 13:35:17 -08:00
M. Mert Yildiran
5089e9ccb8
Add EXCLUDED_NAMESPACES
to ConfigMap
( #1571 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-08-02 08:25:32 -07:00
M. Mert Yildiran
af2086a54d
✨ Add --grep
flag to logs
command
2024-05-23 01:20:55 +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
746eff1e23
🔥 Remove the dead code in kubernetes
package
2023-08-15 17:46:23 +03:00
M. Mert Yildiran
7a5bf83336
✨ Use the Helm chart in tap
command to install Kubeshark ( #1362 )
...
* ✨ Use the Helm chart in `tap` command to install Kubeshark
* ⬆️ Set Go version to `1.19` in `go.mod` file
* ✨ Add `Helm` struct`, `NewHelm` and `NewHelmDefault` methods
* ⚡ Better logging and error return
* ⚡ Pass the config as `values.yaml` to Helm install
* 🔥 Remove `helm-chart`, `manifests` and `check` commands
* ➖ Run `go mod tidy`
* 🎨 Move `helm` package into `kubernetes` package
* 🔥 Remove `# THIS FILE IS AUTOMATICALLY GENERATED BY KUBESHARK CLI. DO NOT EDIT!` notice from the manifests and Helm templates
* 🔥 Remove the unused `GenerateApplyConfiguration` and `buildWithDefaultLabels` methods
2023-06-06 12:16:03 +03:00
M. Mert Yildiran
be5bd6a372
⚡ Template the AUTH_APPROVED_DOMAINS
and certmanager.k8s.io/cluster-issuer
...
Also add `networking.k8s.io` to `apiGroups` in `ClusterRole`
2023-05-25 05:07:42 +03:00
M. Mert Yildiran
c19cd00c77
⚡ Add CertManager
field to IngressConfig
and add an Ingress TLS example
2023-05-24 04:01:45 +03:00
M. Mert Yildiran
4bb68afaaf
✨ Add AuthConfig
struct and pass domains in AUTH_APPROVED_DOMAINS
environment variable
2023-05-24 01:50:59 +03:00
M. Mert Yildiran
ad9dfbce40
✨ Add Ingress
( #1357 )
...
* ✨ Add `Ingress`
* ⚡ Rewrite the target in `Ingress`
* ⚡ Fix the path of front pod in `Ingress`
* ✨ Add `IngressConfig` struct
* ⚡ Generate the correct Helm chart based on `tap.ingress` field of `values.yaml`
2023-05-16 19:46:47 +03:00
M. Mert Yildiran
139336d4ee
⚡ Template hostPort
(s) in the Helm chart
2023-05-10 14:38:38 +03:00
M. Mert Yildiran
f68fed0de8
🐛 Fix the effect of proxy config port changes
2023-05-10 01:28:43 +03:00
M. Mert Yildiran
a33a3467fc
✨ Add persistentstorage
option
2023-05-08 00:50:56 +03:00
M. Mert Yildiran
fab0f713ed
🐛 Pass the license string
2023-05-04 21:18:34 +03:00
M. Mert Yildiran
60cfa92efb
⚡ Apply the same Kubernetes tolerations to all pods
2023-04-20 20:27:22 +03:00
M. Mert Yildiran
38d121556c
✨ Add storageclass
option to config.yaml
2023-04-20 20:20:24 +03:00
M. Mert Yildiran
df7d1ac10c
⚡ Give the permission of listing or watching the persistentvolumeclaims
to the ClusterRole
2023-04-20 03:01:25 +03:00
M. Mert Yildiran
657ea8570c
✨ Add PersistentVolumeClaim
and mount it to worker DaemonSet
2023-04-20 00:09:22 +03:00
M. Mert Yildiran
686dd5fba1
🔥 Remove the -A
flag and allnamespaces
field from config.yaml
2023-04-19 20:52:28 +03:00
M. Mert Yildiran
5ce10b626f
⚡ Pass every config through environment variables and don't make HTTP calls in first tap
command
2023-04-18 03:21:23 +03:00
M. Mert Yildiran
fb06545887
⚡ Add a header comment to generated manifests and Helm chart templates
2023-04-12 03:10:23 +03:00
M. Mert Yildiran
18addbb980
⚡ Fix the issues in Helm chart such that helm template
succeeds
2023-04-12 02:12:12 +03:00
M. Mert Yildiran
d2b9bddf78
✨ Do more Helm templating
2023-04-12 01:33:41 +03:00
M. Mert Yildiran
3ebf816a68
✨ Generate Helm chart templates
2023-04-12 01:06:39 +03:00
M. Mert Yildiran
02990912b7
⚡ Move ResourceLabels
and NodeSelectorTerms
fields into TapConfig
2023-04-11 22:37:29 +03:00
M. Mert Yildiran
c42481deb8
✨ Add POD_REGEX
, NAMESPACES
, STORAGE_LIMIT
and LICENSE
environment variables to Hub
2023-04-11 18:40:34 +03:00
M. Mert Yildiran
39d1b77045
⚡ Fix the issues in worker DaemonSet
2023-04-11 02:33:17 +03:00
M. Mert Yildiran
f19db77228
⚡ Fix more issues in manifests
command
2023-04-11 02:18:23 +03:00
M. Mert Yildiran
077fc6c126
⚡ Set the apiVersion
in the manifests
2023-04-11 02:09:03 +03:00
M. Mert Yildiran
5dafc015bb
✨ Add manifests
command to generate Kubernetes manifests
2023-04-11 01:54:06 +03:00
M. Mert Yildiran
d1b17d4534
✨ Build worker DaemonSet separately then apply it by converting it to ApplyConfiguration
2023-04-10 22:24:54 +03:00
M. Mert Yildiran
e4684a10af
✨ Add --ignoreTainted
flag to tap
command
2023-03-27 16:26:09 +03:00
M. Mert Yildiran
d9ec538aff
✨ Add customLabels
field to config.yaml
2023-03-14 23:45:41 +03:00
M. Mert Yildiran
a1096cf2b9
⚡ Comment out GODEBUG=netdns=go
environment variable
2023-02-05 09:02:13 +03:00
M. Mert Yildiran
22e8490b93
⚡ Add GODEBUG=netdns=go
environment variable to worker
2023-02-04 03:27:12 +03:00
M. Mert Yildiran
4dd941f8d9
⚡ Set REACT_APP_DEFAULT_FILTER
to empty string
2023-01-22 04:27:05 +03:00
M. Mert Yildiran
4e3233ade8
✨ Deploy workers DaemonSet without NodeSelector and call POST /pods/regex
to set the pod regex in Hub
2023-01-22 04:14:44 +03:00
M. Mert Yildiran
f128ae3993
🔥 Remove config map and image pull checks
2023-01-21 01:32:21 +03:00
M. Mert Yildiran
d6766a8ac5
🐛 Fix .spec.template.spec.imagePullSecrets: element 0: associative list with keys has an element that omits key field \"name\"
error
2023-01-08 21:47:00 +03:00
M. Mert Yildiran
894f97ca41
✨ Add an option to set the ImagePullSecrets
2023-01-07 14:20:01 +03:00
M. Mert Yildiran
42921d8375
⚡ Add profiling environment variables if debug
is true
2022-12-30 05:32:46 +03:00
M. Mert Yildiran
b17465563d
⚡ Print the log in the correct place
2022-12-30 01:22:09 +03:00
M. Mert Yildiran
c445b345f7
⚡ Set REACT_APP_HUB_HOST
to single whitespace
2022-12-29 08:32:03 +03:00
M. Mert Yildiran
5e0042413f
🐛 Fix the default filter
2022-12-29 08:08:16 +03:00
M. Mert Yildiran
81befbad5a
🐛 Use the original command and args of front
image
2022-12-29 08:01:42 +03:00
M. Mert Yildiran
1474a7d687
⚡ Get Hub host and port from ProxyConfig
struct
2022-12-29 04:23:37 +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
6d06c53ebf
🔨 Bring in models.Resources
dependency to kubernetes
package
2022-12-29 03:41:35 +03:00
M. Mert Yildiran
5e269831e4
🔥 Remove volumes and configmap
2022-12-29 03:38:38 +03:00
M. Mert Yildiran
de38ef259e
⚡ Post the storage limit to Hub after posting the worker
2022-12-29 03:25:22 +03:00