用命令行方式可以查看GKE的log,比如:
gcloud logging read 'resource.type="k8s_container" AND resource.labels.namespace_name="default" AND resource.labels.container_name="nginx"' --limit=10
用命令行方式可以查看GKE的log,比如:
gcloud logging read 'resource.type="k8s_container" AND resource.labels.namespace_name="default" AND resource.labels.container_name="nginx"' --limit=10