Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: simplify kind/kubectl environment #22

Merged
merged 3 commits into from
Feb 8, 2022

Conversation

v1v
Copy link
Member

@v1v v1v commented Feb 8, 2022

What

Use elastic/apm-pipeline-library#1530

Why

Simplify the pipeline complexity

.ci/Jenkinsfile Outdated Show resolved Hide resolved
@v1v
Copy link
Member Author

v1v commented Feb 8, 2022

It's working as expected and failed in the same point:

[](https://internal-ci.elastic.co/job/elastic-agent/job/elastic-agent-poc-mbp/job/PR-22/3/console#)1:51:20  daemonset.apps/elastic-agent created
11:51:20  clusterrolebinding.rbac.authorization.k8s.io/elastic-agent created
11:51:20  rolebinding.rbac.authorization.k8s.io/elastic-agent created
11:51:20  rolebinding.rbac.authorization.k8s.io/elastic-agent-kubeadm-config created
11:51:20  clusterrole.rbac.authorization.k8s.io/elastic-agent created
11:51:20  role.rbac.authorization.k8s.io/elastic-agent created
11:51:20  role.rbac.authorization.k8s.io/elastic-agent-kubeadm-config created
11:51:21  serviceaccount/elastic-agent created
11:51:21  configmap/agent-node-datastreams created
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": daemonsets.apps "elastic-agent" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": clusterrolebindings.rbac.authorization.k8s.io "elastic-agent" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": rolebindings.rbac.authorization.k8s.io "elastic-agent" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": rolebindings.rbac.authorization.k8s.io "elastic-agent-kubeadm-config" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": clusterroles.rbac.authorization.k8s.io "elastic-agent" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": roles.rbac.authorization.k8s.io "elastic-agent" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": roles.rbac.authorization.k8s.io "elastic-agent-kubeadm-config" already exists
11:51:21  Error from server (AlreadyExists): error when creating "elastic-agent-standalone-kubernetes.yaml": serviceaccounts "elastic-agent" already exists

@v1v v1v requested a review from narph February 8, 2022 12:14
@v1v v1v self-assigned this Feb 8, 2022
@v1v v1v marked this pull request as ready for review February 8, 2022 14:41
@v1v v1v merged commit 109c689 into elastic:kube-ci Feb 8, 2022
narph added a commit that referenced this pull request Feb 15, 2022
* fix docs

* add scripts

* script: enable execution permissions

* ci: enable k8s specific validations (#19)

* ci: enable k8s specific validations

* add scripts

* ci: use the rigth when

* ci: enable k8s specific validations

* ci: use the rigth when

* script: enable execution permissions

* script: enable execution permissions

* ci: enable k8s specific validations

* ci: use the rigth when

* Update .ci/Jenkinsfile

Co-authored-by: narph <mariana@elastic.co>

* delete cluster

* test

* add delete

* ci: more resilience when installing kind

See elastic/beats#21857

* ci: argument in the signature is not needed

* remove duplicate

* ci: simplify kind/kubectl environment (#22)

* revert aarch64 changes (#21)

* revert aarch64

* fmt

* rename

* rename

* rename

* ci: run k8s validation for different versions (#25)

Co-authored-by: Victor Martinez <VictorMartinezRubio@gmail.com>
narph referenced this pull request in narph/elastic-agent-temp Feb 21, 2022
* fix docs

* add scripts

* script: enable execution permissions

* ci: enable k8s specific validations (#19)

* ci: enable k8s specific validations

* add scripts

* ci: use the rigth when

* ci: enable k8s specific validations

* ci: use the rigth when

* script: enable execution permissions

* script: enable execution permissions

* ci: enable k8s specific validations

* ci: use the rigth when

* Update .ci/Jenkinsfile

Co-authored-by: narph <mariana@elastic.co>

* delete cluster

* test

* add delete

* ci: more resilience when installing kind

See elastic/beats#21857

* ci: argument in the signature is not needed

* remove duplicate

* ci: simplify kind/kubectl environment (#22)

* revert aarch64 changes (#21)

* revert aarch64

* fmt

* rename

* rename

* rename

* ci: run k8s validation for different versions (#25)

Co-authored-by: Victor Martinez <VictorMartinezRubio@gmail.com>
narph added a commit that referenced this pull request Mar 3, 2022
* fix docs

* add scripts

* script: enable execution permissions

* ci: enable k8s specific validations (#19)

* ci: enable k8s specific validations

* add scripts

* ci: use the rigth when

* ci: enable k8s specific validations

* ci: use the rigth when

* script: enable execution permissions

* script: enable execution permissions

* ci: enable k8s specific validations

* ci: use the rigth when

* Update .ci/Jenkinsfile

Co-authored-by: narph <mariana@elastic.co>

* delete cluster

* test

* add delete

* ci: more resilience when installing kind

See elastic/beats#21857

* ci: argument in the signature is not needed

* remove duplicate

* ci: simplify kind/kubectl environment (#22)

* revert aarch64 changes (#21)

* revert aarch64

* fmt

* rename

* rename

* rename

* ci: run k8s validation for different versions (#25)

Co-authored-by: Victor Martinez <VictorMartinezRubio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants