Difference between revisions of "Kubectl describe pod"
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
/var/lib/grafana from storage (rw) | /var/lib/grafana from storage (rw) | ||
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-w7v9x (ro) | /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-w7v9x (ro) | ||
− | + | Containers: | |
− | + | grafana: | |
− | + | Image: grafana/grafana:8.2.5 | |
− | + | Ports: 80/TCP, 3000/TCP | |
− | + | Host Ports: 0/TCP, 0/TCP | |
− | + | Liveness: http-get http://:3000/api/health delay=60s timeout=30s period=10s #success=1 #failure=10 | |
− | + | Readiness: http-get http://:3000/api/health delay=0s timeout=1s period=10s #success=1 #failure=3 | |
− | + | Environment: | |
− | + | GF_SECURITY_ADMIN_USER: <set to the key 'admin-user' in secret 'grafana'> Optional: false | |
− | + | GF_SECURITY_ADMIN_PASSWORD: <set to the key 'admin-password' in secret 'grafana'> Optional: false | |
− | + | GF_PATHS_DATA: /var/lib/grafana/ | |
− | + | GF_PATHS_LOGS: /var/log/grafana | |
− | + | GF_PATHS_PLUGINS: /var/lib/grafana/plugins | |
− | + | GF_PATHS_PROVISIONING: /etc/grafana/provisioning | |
− | + | Mounts: | |
− | + | /etc/grafana/grafana.ini from config (rw,path="grafana.ini") | |
− | + | /var/lib/grafana from storage (rw) | |
− | + | /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-w7v9x (ro) | |
− | + | Volumes: | |
− | Volumes: | + | config: |
− | + | Type: ConfigMap (a volume populated by a ConfigMap) | |
− | + | Name: grafana | |
− | + | Optional: false | |
− | + | storage: | |
− | + | Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) | |
− | + | ClaimName: grafana | |
− | + | ReadOnly: false | |
− | + | kube-api-access-w7v9x: | |
− | + | Type: Projected (a volume that contains injected data from multiple sources) | |
− | + | TokenExpirationSeconds: 3607 | |
− | + | ConfigMapName: kube-root-ca.crt | |
− | + | ConfigMapOptional: <nil> | |
− | + | DownwardAPI: true | |
− | + | [[QoS Class]]: [[BestEffort]] | |
− | QoS Class: BestEffort | + | Node-Selectors: <none> |
− | Node-Selectors: <none> | + | Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s |
− | Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s | + | node.kubernetes.io/unreachable:NoExecute op=Exists for 300s |
− | + | Events: <none> | |
− | Events: <none> | + | .../... |
− | .../... | ||
− | |||
== Related == | == Related == |
Revision as of 15:24, 16 June 2022
kubectl describe pod
.../... Name: grafana-6d966d974b-xsvv4 Namespace: default Priority: 0 Node: ip-192-168-54-235.us-east-2.compute.internal/ Start Time: Sun, 28 Nov 2021 21:31:50 +0300 Labels: app.kubernetes.io/instance=grafana app.kubernetes.io/name=grafana pod-template-hash=6d966d974b Annotations: checksum/config: a4050f488319bf769d1c8afa79d3cce1dc01de73d491b3516a39582a12f82c44 checksum/dashboards-json-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b checksum/sc-dashboard-provider-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b checksum/secret: f2d8a89d88995eef4432cbfcf48f0f1d46d2b292e6ce6d45a8c7ee2e1971e8c2 kubernetes.io/psp: eks.privileged Status: Failed Reason: Evicted Message: Pod The node had condition: [MemoryPressure]. IP: IPs: <none> Controlled By: ReplicaSet/grafana-6d966d974b Init Containers: init-chown-data: Image: busybox:1.31.1 Port: <none> Host Port: <none> Command: chown -R 472:472 /var/lib/grafana Environment: <none> Mounts: /var/lib/grafana from storage (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-w7v9x (ro) Containers: grafana: Image: grafana/grafana:8.2.5 Ports: 80/TCP, 3000/TCP Host Ports: 0/TCP, 0/TCP Liveness: http-get http://:3000/api/health delay=60s timeout=30s period=10s #success=1 #failure=10 Readiness: http-get http://:3000/api/health delay=0s timeout=1s period=10s #success=1 #failure=3 Environment: GF_SECURITY_ADMIN_USER: <set to the key 'admin-user' in secret 'grafana'> Optional: false GF_SECURITY_ADMIN_PASSWORD: <set to the key 'admin-password' in secret 'grafana'> Optional: false GF_PATHS_DATA: /var/lib/grafana/ GF_PATHS_LOGS: /var/log/grafana GF_PATHS_PLUGINS: /var/lib/grafana/plugins GF_PATHS_PROVISIONING: /etc/grafana/provisioning Mounts: /etc/grafana/grafana.ini from config (rw,path="grafana.ini") /var/lib/grafana from storage (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-w7v9x (ro) Volumes: config: Type: ConfigMap (a volume populated by a ConfigMap) Name: grafana Optional: false storage: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: grafana ReadOnly: false kube-api-access-w7v9x: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: BestEffort Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: <none> .../...
Related
See also
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
Advertising: