Public | Automated Build

Last pushed: 2 years ago
Short Description
workbench for porting kub logger to go
Full Description


Kubernetes Pod to push kubernetes events to AppDynamics Analaytics

This is a Ruby based pod that makes REST API calls to the Kubernetes Events API

Using service account (appdlogger)

osxltmjeff:appd_kub_logger mark.jeffery$ kubectl create serviceaccount appdlogger
serviceaccount "appdlogger" created
osxltmjeff:appd_kub_logger mark.jeffery$ ls
Dockerfile Gemfile Gemfile.lock postkubevents.rb
osxltmjeff:appd_kub_logger mark.jeffery$ kubectl get serviceaccounts appdlogger -o yaml
apiVersion: v1
kind: ServiceAccount
creationTimestamp: 2016-10-20T20:30:33Z
name: appdlogger
namespace: default
resourceVersion: "181996"
selfLink: /api/v1/namespaces/default/serviceaccounts/appdlogger
uid: 0cf15f79-9704-11e6-ab5a-16ff826b5ab3

  • name: appdlogger-token-pi1h3
    osxltmjeff:appd_kub_logger mark.jeffery$

Using the GET /api/v1/events API

Using a Ruby based docker image

Docker Pull Command
Source Repository