Closed skbihari closed 2 years ago
Hi, I am trying to add Kubernetes pods as Rundeck nodes but, pods are not showing up as nodes.
Env:
Kubernetes version: v1.19.7 (docker local setup) kubernetes-rundeck-plugin version: 2.0.4 kubernetes-python-clinet version: 11.0.0
rundeck version: 3.3.12 (CE)
using RD_CONFIG_ENV: incluster to use serviceAccount Auth
RD_CONFIG_ENV: incluster
rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: Log level configured for DEBUG rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: None rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: metadata.namespace=default rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: 10.1.0.56 default application-5b88846f65-dfq6c application rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: ------ rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: container-name:application rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:application rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: 10.1.0.40 default gateway-7474d64686-lmndg gateway rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: ------ rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: container-name:gateway rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:gateway rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:nginx-prometheus-exporter rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: 10.1.0.40 default gateway-7474d64686-lmndg nginx-prometheus-exporter rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: ------ rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: container-name:nginx-prometheus-exporter rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:gateway rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:nginx-prometheus-exporter rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: 10.1.0.64 default rundeck-7799695489-hbd8z nginx rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: ------ rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: container-name:nginx rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:nginx rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:rundeck rundeck-7799695489-hbd8z rundeck DEBUG: kubernetes-model-source: 10.1.0.64 default rundeck-7799695489-hbd8z rundeck rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: ------ rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: container-name:rundeck rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:nginx rundeck-7799695489-hbd8z rundeck INFO: kubernetes-model-source: pod-container-name:rundeck
the issue is caused by boEmoticon addition to the status value https://github.com/rundeck-plugins/kubernetes/blob/master/contents/pods-resource-model.py#L260
disabled Emoticon
Hi, I am trying to add Kubernetes pods as Rundeck nodes but, pods are not showing up as nodes.
Env:
Kubernetes version: v1.19.7 (docker local setup) kubernetes-rundeck-plugin version: 2.0.4 kubernetes-python-clinet version: 11.0.0
rundeck version: 3.3.12 (CE)
using
RD_CONFIG_ENV: incluster
to use serviceAccount Auth