Open
Description
在使用的时候发现crd 发出event 大概13s~20s秒之后对应的service才收到restful api call
请问是怎么原因造成的延迟,有什么解决方法吗
事件数量没有很大
配置如下
spec:
dnsPolicy: ClusterFirstWithHostNet
serviceAccount: "{{ .Values.namespace }}-kube-eventer"
imagePullSecrets:
- name: imagepullsecret-regcred
containers:
- image: {{ .Values.kube_eventer_config.image }}
#registry.aliyuncs.com/acs/kube-eventer-amd64:v1.2.0-484d9cd-aliyun
name: kube-eventer
command:
- "/kube-eventer"
- "--source=kubernetes:https://kubernetes.default"
## e.g. webhook
- "--sink=webhook:http://{{ .Values.environment.name }}{{ .Values.environment.id }}.{{ .Values.environment.type }}.{{ .Values.root_domain }}/wmt/api/v1/notification/kube_eventer/workflow?&level=Normal&kinds=Workflow&header=Content-Type=application/json&custom_body_configmap=custom-body&custom_body_configmap_namespace={{ .Values.namespace }}&method=POST"
env:
# If TZ is assigned, set the TZ value as the time zone
- name: TZ
value: "America/Los_Angeles"
volumeMounts:
- name: localtime
mountPath: /etc/localtime
readOnly: true
- name: zoneinfo
mountPath: /usr/share/zoneinfo
readOnly: true
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 250Mi
volumes:
- name: localtime
hostPath:
path: /etc/localtime
- name: zoneinfo
hostPath:
path: /usr/share/zoneinfo
Metadata
Metadata
Assignees
Labels
No labels