cancel
Showing results for 
Search instead for 
Did you mean: 

How to access Kyma node logs and ssh into node?

jay_patil
Discoverer
0 Kudos

I am trying to use OIDC with Kyma (Kyma on BTP). Keycloak as Oidc provider. In that facing issues to understand those I need access for logs.


Is it possible to get node logs with kubectl ? how?


Also, I want to ssh into Kyma node.
How to ssh and how do I get login details for that node to ssh?

also, if there are other options, please let me know.

View Entire Topic
gabbi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jay,

Wouldn't kubectl logs command be sufficient to get the logs of the relevant pod?

Please run kubectl logs -h for help documentation

BR

Gaurav

jay_patil
Discoverer
0 Kudos

Hi gaurav,

Yes, for viewing logs of pods I am using kubectl logs pod. But I am interested in viewing logs of kube-apiserver because I am making auth request and its giving error if I can see logs of node/kube-apiserver, I might get more details about authentication request to kube-apiserver.