Name: metrics-collector-client-kubernetes
Owner: International Business Machines
Description: Kubernetes Job for the metrics tracker
Created: 2017-09-27 20:20:13.0
Updated: 2018-01-22 18:49:15.0
Pushed: 2018-01-12 23:27:21.0
Homepage: https://hub.docker.com/r/journeycode/kubernetes/
Size: 17
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Metrics Collector Service collects statistics for deployment of a github sample code on Cloud Foundry, Kubernetes, Data Science Experience, OpenWhisk etc.
This Kubernetes Metrics client can send metrics related to workload deployments on Kubernetes. This is a Kubernetes Job that can track and report details of a demo/tutorial that has been deployed to Kubernetes.
Clone and go into this repository
clone https://github.com/IBM/metrics-collector-client-kubernetes.git
etrics-collector-client-kubernetes
Fill in the information in the repository.yaml file and save it in this repository. For more details, please go to Example repository.yaml file
Use the following commands to install the necessary Python packages and run the Python Job to build your custom Kubernetes job.
install -r requirement.txt
on build.py
Now, a metricjob.yaml
file should be created with all the information in your repository.yaml file.
Copy the job in metricjob.yaml
and only paste it in one of your main Kubernetes yaml files.
Add a copy of the Privacy Notice to your README file.
Note: All apps that have deployment tracker must include the Privacy Notice.
The repository.yaml need to be written in YAML format. Also, please put all your keys in lower case.
https://github.com/IBM/spring-boot-microservices-on-kubernetes
t_id: web
t_organizer: dev-journeys
imes:
Kubernetes Cluster
OpenWhisk
ices:
Compose for MySQL
uage: java
Required field:
Please go to the service list page to get the list of official names for runtimes, services, and languages.
To see how to include this into your app please visit Java Spring Boot microservices on Kubernetes. You will want to pay attention to one of its main yaml files with the client job.
Sample Kubernetes Yaml file that includes this package may be configured to track deployments to IBM Cloud and other Kubernetes platforms. The following information is sent to a Deployment Tracker service on each deployment:
IBM Cloud,Minikube,etc
)This data is collected from the Kubernetes Job in the sample application's yaml file. This data is used by IBM to track metrics around deployments of sample applications to IBM Cloud to measure the usefulness of our examples so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.
Please comment out/remove the Metric Kubernetes Job portion in the Yaml file where you inserted this Kubernetes Job.