core dns enabling logging
Enable core dns logging with this yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
log.override: | # you may select any name here, but it must end with the .override file extension
log
kubectl apply -f corednsms.yaml
kubectl -n kube-system rollout restart deployment coredns
kubectl logs --namespace kube-system -l k8s-app=kube-dns
Comments