diff --git a/pkg/k8s/object/builders/k8s-sensor/deployment/deployment.go b/pkg/k8s/object/builders/k8s-sensor/deployment/deployment.go index 55604482..af9cfe6d 100644 --- a/pkg/k8s/object/builders/k8s-sensor/deployment/deployment.go +++ b/pkg/k8s/object/builders/k8s-sensor/deployment/deployment.go @@ -139,6 +139,8 @@ func (d *deploymentBuilder) build() *appsv1.Deployment { Name: "instana-agent", Image: d.Spec.K8sSensor.ImageSpec.Image(), ImagePullPolicy: d.Spec.K8sSensor.ImageSpec.PullPolicy, + Command: []string{"/ko-app/k8sensor"}, + Args: []string{"-pollrate", "5s"}, Env: d.getEnvVars(), VolumeMounts: mounts, Resources: d.Spec.K8sSensor.DeploymentSpec.Pod.ResourceRequirements.GetOrDefault(),