You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/operations/accessing-prod.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The database, as well as application logs and shell, can be accessed via a `KUBE
35
35
2. Get the name of the currently running pods and store them in shell variables:
36
36
37
37
```bash
38
-
POD_NAME=$(kubectl -n code-for-philly get pod -l app.kubernetes.io/name=code-for-philly -o jsonpath='{.items[0].metadata.name}')
38
+
POD_NAME=$(kubectl -n code-for-philly get pod --field-selector=status.phase=Running -l app.kubernetes.io/name=code-for-philly -o jsonpath='{.items[0].metadata.name}')
0 commit comments