Skip to content

Instantly share code, notes, and snippets.

@lukemarsden
Last active February 15, 2017 21:42
Show Gist options
  • Select an option

  • Save lukemarsden/9a72b5d62e2f56fdff91ab92da7e706f to your computer and use it in GitHub Desktop.

Select an option

Save lukemarsden/9a72b5d62e2f56fdff91ab92da7e706f to your computer and use it in GitHub Desktop.
kube-api-exporter-dep.sh
cat << EOF > kube-api-exporter-dep.yaml
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: kube-system
name: kube-api-exporter
spec:
replicas: 1
template:
metadata:
labels:
name: kube-api-exporter
spec:
containers:
- name: kube-api-exporter
image: tomwilkie/kube-api-exporter:master-f64aa6f
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment