Created
February 6, 2018 21:18
-
-
Save mrlesmithjr/e5b365863359d0de8db4611b6c27fdf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: influxdb | |
namespace: kube-system | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: influxdb | |
task: monitoring | |
spec: | |
containers: | |
- image: influxdb | |
name: influxdb | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
task: monitoring | |
# For use as a Cluster add-on (https://github.com/kubernetes/kubernetes/tree/master/cluster/addons) | |
# If you are NOT using this as an addon, you should comment out this line. | |
kubernetes.io/cluster-service: 'true' | |
kubernetes.io/name: monitoring-influxdb | |
name: monitoring-influxdb | |
namespace: kube-system | |
spec: | |
ports: | |
- port: 8086 | |
targetPort: 8086 | |
selector: | |
app: influxdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment