You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Viewing the kubelet configuration file /var/lib/kubelet/config.yaml
apiVersion: kubelet.config.k8s.io/v1beta1authentication:
anonymous:
enabled: false # anonymous auth should be disabled - It should not be truewebhook: # Authn mechanism set to webhook as certificate based auth instead of AlwaysAllowcacheTTL: 0senabled: truex509:
clientCAFile: /etc/kubernetes/pki/ca.crtauthorization:
mode: Webhook # Authz mechanism set to webhook, instead of AlwaysAllowwebhook:
cacheAuthorizedTTL: 0scacheUnauthorizedTTL: 0sclusterDNS:
- 10.96.0.10clusterDomain: cluster.localcpuManagerReconcilePeriod: 0sevictionPressureTransitionPeriod: 0s# additional lines omitted for brevity
Check the key and certificate in the kube-apiserver.yaml file