Skip to content

Instantly share code, notes, and snippets.

@utkarshmani1997
Created November 14, 2017 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save utkarshmani1997/a99f8cfc914d29ad614f97e8514974e0 to your computer and use it in GitHub Desktop.
Save utkarshmani1997/a99f8cfc914d29ad614f97e8514974e0 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: maya-agent
spec:
replicas: 1
template:
metadata:
labels:
name: maya-agent
spec:
# serviceAccountName: prometheus
containers:
- name: maya-agent
image: utkarshmani1997/maya-agent:0.0.1-RC7
command: ["maya-agent"]
args:
# This is the flag provided to exporter at run time
# replace it with your controller's service IP
# For exp : Do kubectl get svc | grep volname-ctrl-svc
# to get the IP.
- monitor
- -c=http://10.109.54.218:9501
ports:
- containerPort: 9500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment