Skip to content

Instantly share code, notes, and snippets.

@krisclarkdev
Last active July 18, 2018 14:50
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 krisclarkdev/85949436eb9960997ee4b7ecc2b60fab to your computer and use it in GitHub Desktop.
Save krisclarkdev/85949436eb9960997ee4b7ecc2b60fab to your computer and use it in GitHub Desktop.
Kubernetes integration on ARM for Wavefront
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: heapster
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:heapster
subjects:
- kind: ServiceAccount
name: heapster
namespace: kube-system
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: heapster
namespace: kube-system
---
apiVersion: v1
kind: ReplicationController
metadata:
labels:
k8s-app: heapster
name: heapster
version: v6
name: heapster
namespace: kube-system
spec:
replicas: 1
selector:
k8s-app: heapster
version: v6
template:
metadata:
labels:
k8s-app: heapster
version: v6
spec:
serviceAccount: "heapster"
hostAliases:
- ip: "XXXX"
hostnames:
- "YYYY"
containers:
- name: heapster
image: k8s.gcr.io/heapster-arm64:v1.5.3
imagePullPolicy: Always
command:
- /heapster
- --source=kubernetes.summary_api:''
- --sink=wavefront:YYYY:2878?clusterName=k8s-cluster&includeLabels=true
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs
readOnly: true
ports:
- containerPort: 8082
protocol: TCP
volumes:
- name: ssl-certs
hostPath:
path: /etc/ssl/certs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment