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/86b5957378e6f3d2675e1558de76553e to your computer and use it in GitHub Desktop.

Select an option

Save lukemarsden/86b5957378e6f3d2675e1558de76553e to your computer and use it in GitHub Desktop.
kube-api-exporter-svc.sh
cat << EOF > kube-api-exporter-svc.yaml
---
apiVersion: v1
kind: Service
metadata:
namespace: kube-system
name: kube-api-exporter
spec:
ports:
- port: 80
name: http
selector:
name: kube-api-exporter
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment