6 lines
181 B
Bash
Executable File
6 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FLUENTD_POD=$(microk8s.kubectl get pods -n efk | grep fluentd | awk '{print $1}')
|
|
echo "new pod is: " ${FLUENTD_POD}
|
|
microk8s.kubectl logs -f pod/${FLUENTD_POD} -n efk
|