replicas: 1
selector:
matchLabels:
app: eventing-webhook
pod-template-hash: fff97b47c
role: eventing-webhook
template:
metadata:
creationTimestamp: null
labels:
app: eventing-webhook
pod-template-hash: fff97b47c
role: eventing-webhook
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app: eventing-webhook
topologyKey: kubernetes.io/hostname
weight: 100
containers:
- env:
- name: SYSTEM_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: CONFIG_LOGGING_NAME
value: config-logging
- name: METRICS_DOMAIN
value: knative.dev/eventing
- name: WEBHOOK_NAME
value: eventing-webhook
- name: WEBHOOK_PORT
value: '8443'
- name: SINK_BINDING_SELECTION_MODE
value: exclusion
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: gcr.io/knative-releases/knative.dev/eventing/cmd/webhook@sha256:4a61fb18cf918be9d8e1370c9e6d22139149b5ab9877c9ff19615917e23eed3d
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
httpHeaders:
- name: k-kubelet-probe
value: webhook
path: /
port: 8443
scheme: HTTPS
initialDelaySeconds: 20
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 1
name: eventing-webhook
ports:
- containerPort: 8443
name: https-webhook
protocol: TCP
- containerPort: 9090
name: metrics
protocol: TCP
- containerPort: 8008
name: profiling
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
httpHeaders:
- name: k-kubelet-probe
value: webhook
path: /
port: 8443
scheme: HTTPS
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 100m
memory: 50Mi
securityContext:
allowPrivilegeEscalation: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: FallbackToLogsOnError
dnsPolicy: ClusterFirst
enableServiceLinks: false
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: eventing-webhook
serviceAccountName: eventing-webhook
terminationGracePeriodSeconds: 300