Skip to content

k8s validation in CI failing #30402

@narph

Description

@narph

In beats CI we see already exists errors:
image

but still moves on

Also in elastic-agent-poc repo:

15:40:43  configmap/agent-node-datastreams created
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": daemonsets.apps "elastic-agent" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": clusterrolebindings.rbac.authorization.k8s.io "elastic-agent" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": rolebindings.rbac.authorization.k8s.io "elastic-agent" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": rolebindings.rbac.authorization.k8s.io "elastic-agent-kubeadm-config" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": clusterroles.rbac.authorization.k8s.io "elastic-agent" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": roles.rbac.authorization.k8s.io "elastic-agent" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": roles.rbac.authorization.k8s.io "elastic-agent-kubeadm-config" already exists
15:40:43  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": serviceaccounts "elastic-agent" already exists

but doesn't move on.

The error seems to be that managed agent is being deployed right after the standalone one and there is conflict in the names, @ChrsMark can you help here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions