let's say you can make any HTTP request to kubernetes api server. there's a problem with…
- User
let's say you can make any HTTP request to kubernetes api server. there's a problem with some pods. how would you debug this? respond only with URLs and short comment for each URL
Assistant
GET /api/v1/pods?fieldSelector=status.phase!=Running
list all non-running pods
GET /api/v1/pods?fieldSelector=status.phase=Failed
list only failed pods
GET /api/v1/namespaces/{ns}/pods/{pod}
get full pod details incl. events
GET /api/v1/namespaces/{ns}/pods/{pod}/log
fetch container logs
GET /api/v1/namespaces/{ns}/events?fieldSelector=involvedObject.name={pod}
show events tied to the pod
GET /api/v1/namespaces/{ns}/pods/{pod}/status
check latest status/conditions
GET /api/v1/nodes/{node}/proxy/stats/summary
node-level resource stats
GET /apis/metrics.k8s.io/v1beta1/pods
pod resource usage metrics
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.