Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

407
Vistas
How can I find GKE's control plane logs?

So there's this page about auditing-logs and I'm very confused about:

The k8s.io service is used for Kubernetes audit logs. These logs are generated by the Kubernetes API Server component and they contain information about actions performed using the Kubernetes API. For example, any changes you make on a Kubernetes resource by using the kubectl command are recorded by the k8s.io service. For more information, see Auditing in the Kubernetes documentation.

The container.googleapis.com service is used for GKE control plane audit logs. These logs are generated by the GKE internal components and they contain information about actions performed using the GKE API. For example, any changes you perform on a GKE cluster configuration using a gcloud command are recorded by the container.googleapis.com service.

which one shall I pick to get:

  1. /var/log/kube-apiserver.log - API Server, responsible for serving the API
  2. /var/log/kube-controller-manager.log - Controller that manages replication controllers

or these are all similar to EKS where audit logs means a separate thing?

Audit (audit) – Kubernetes audit logs provide a record of the individual users, administrators, or system components that have affected your cluster. For more information, see Auditing in the Kubernetes documentation.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

If the cluster still exists, you should be able to do the following on GKE

kubectl proxy
curl http://localhost:8001/logs/kube-apiserver.log

AFAIK, there's no way to get server logs for clusters that have been deleted.

over 4 years ago · Santiago Trujillo Denunciar

0

You cannot. GKE does not make them available. Audit logs are different, those are a record of API actions.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda