🚚 Move agent directory to kubeshark/hub and use kubeshark/hub Docker image instead (#1249)

* Remove the `agent` directory

* Use the new `kubeshark/hub` Docker image

* Remove `Dockerfile`

* Update `Makefile`

* Fix linter

* Change `api-server` suffix to `hub`
This commit is contained in:
M. Mert Yildiran
2022-11-24 17:18:35 -08:00
committed by GitHub
parent 8868a4c979
commit f87aa467b8
88 changed files with 6 additions and 47477 deletions

View File

@@ -8,7 +8,7 @@ const (
DataDirPath = "/app/data/"
ConfigFileName = "kubeshark-config.json"
LogLevelEnvVar = "LOG_LEVEL"
KubesharkAgentImageRepo = "docker.io/kubeshark/kubeshark"
KubesharkAgentImageRepo = "docker.io/kubeshark/hub"
BasenineHost = "127.0.0.1"
BaseninePort = "9099"
BasenineReconnectInterval = 3

View File

@@ -2,7 +2,7 @@ package kubernetes
const (
KubesharkResourcesPrefix = "ks-"
ApiServerPodName = KubesharkResourcesPrefix + "api-server"
ApiServerPodName = KubesharkResourcesPrefix + "hub"
ClusterRoleBindingName = KubesharkResourcesPrefix + "cluster-role-binding"
ClusterRoleName = KubesharkResourcesPrefix + "cluster-role"
K8sAllNamespaces = ""

View File

@@ -206,7 +206,7 @@ func (provider *Provider) BuildApiServerPod(opts *ApiServerOptions, mountVolumeC
}
command := []string{
"./kubesharkagent",
"./hub",
}
if opts.Profiler {