The deployment is identical to the one given in the documentation, except for added auth credentials and adding replicasets permissions under the apps api groups.
It is worth noting that the replicaset works perfectly and sends just node information to elastic as intended
I'm afraid that it might be some compatibility issue. Kubernetes module have been tested with 1.13.x and 1.14.x and I think we haven't tested Kube State Metrics 1.8 yet.
It seems that the error is a panic in the apimachinery library (interestingly, when trying to handle a panic). I can only suggest to update the library and compile Metricbeat again as a quick workaround to see if this solves the problem
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.