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

Add missing namespace to external-dns Service #14001

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

rifelpet
Copy link
Member

external-dns e2e job started failing recently. The external-dns pods are never created and protokube reports these logs:

I0718 22:38:45.861661 6318 apply.go:70] applying objects of kind: Deployment.apps
I0718 22:38:45.868537 6318 apply.go:116] updating apps/v1, Resource=deployments kube-system/external-dns
I0718 22:38:45.876239 6318 apply.go:70] applying objects of kind: Service
I0718 22:38:45.883606 6318 apply.go:123] creating /v1, Resource=services /external-dns updating "external-dns.addons.k8s.io": error applying update from "s3://k8s-kops-prow/e2e-e2e-kops-aws-external-dns.test-cncf-aws.k8s.io/addons/external-dns.addons.k8s.io/k8s-1.19.yaml": failed to apply objects of kind Service: failed to create /external-dns: the server does not allow this method on the requested resource
W0718 22:38:45.889276 3464 kube_boot.go:89] error applying channel "s3://k8s-kops-prow/e2e-e2e-kops-aws-external-dns.test-cncf-aws.k8s.io/addons/bootstrap-channel.yaml": error running channels: exit status 1

Notice the /external-dns resource name whereas the Deployment has kube-system/external-dns. This leads me to believe the Service is missing the namespace field.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 19, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 19, 2022
@k8s-ci-robot k8s-ci-robot merged commit 75e1dc5 into kubernetes:master Jul 19, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.25 milestone Jul 19, 2022
@hakman
Copy link
Member

hakman commented Jul 19, 2022

#13963 may also help @rifelpet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/addons cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants