kubespray has a configuration concerning whether or not to enable EFK. By default, it is disabled, so you need to enable it with the following steps:
- Open <kubespray dir>/inventory/mycluster/group_vars/k8s-cluster.yaml.
- Around line number 152 in the k8s-cluster.yml file, change the value of efk_enabled to true:
# Monitoring apps for k8sefk_enabled: true
- Run the ansible-playbook command to update your Kubernetes cluster:
$ ansible-playbook -b -i inventory/mycluster/hosts.ini cluster.yml
- Check to see if Elasticsearch, Fluentd, and Kibana Pod's STATUS became Running or not; if you see the Pending state for more than 10 minutes, check kubectl describe pod <Pod name> to see the status. In most cases, you ...