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

Lease.LeaderElection spans get too-long service name #24

Open
bboreham opened this issue Apr 13, 2021 · 0 comments
Open

Lease.LeaderElection spans get too-long service name #24

bboreham opened this issue Apr 13, 2021 · 0 comments
Labels

Comments

@bboreham
Copy link
Collaborator

Example:
image

I think this is really a bug in Kubernetes where the source field is set, but we probably have to deal with it in Kspan anyway.

Event details for the example above.

apiVersion: v1
count: 1
eventTime: null
firstTimestamp: "2021-04-13T16:24:32Z"
involvedObject:
  apiVersion: coordination.k8s.io/v1
  kind: Lease
  name: controller-leader-election-capd
  namespace: capd-system
  resourceVersion: "19454"
  uid: 1ac51a57-853b-4474-b9ef-3fc23f7bbce2
kind: Event
lastTimestamp: "2021-04-13T16:24:32Z"
message: capd-controller-manager-6db95854cf-ckcxq_032c7a7b-280e-4532-8e59-1548a9966519
  became leader
metadata:
  creationTimestamp: "2021-04-13T16:24:32Z"
  name: controller-leader-election-capd.167577893b81befb
  namespace: capd-system
  resourceVersion: "19456"
  selfLink: /api/v1/namespaces/capd-system/events/controller-leader-election-capd.167577893b81befb
  uid: a82df180-63af-46cf-a8da-4c565cfc4c05
reason: LeaderElection
reportingComponent: ""
reportingInstance: ""
source:
  component: capd-controller-manager-6db95854cf-ckcxq_032c7a7b-280e-4532-8e59-1548a9966519
type: Normal
@bboreham bboreham added the chore label Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant