Last active
March 17, 2018 15:22
-
-
Save gjyoung1974/7a2fe2618119d0ff6ea846129f22972a to your computer and use it in GitHub Desktop.
Splunk on k8s
This file contains hidden or 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: | |
labels: | |
app: splunk | |
name: splunk | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
stack: splunk | |
template: | |
metadata: | |
labels: | |
app: splunk | |
stack: splunk | |
spec: | |
containers: | |
- name: splunk | |
image: splunk/splunk:latest | |
env: | |
- name: SPLUNK_START_ARGS | |
value: --accept-license | |
- name: SPLUNK_USER | |
value: root | |
- name: SPLUNK_ENABLE_LISTEN | |
value: 9997 | |
- name: SPLUNK_ADD | |
value: tcp 1514 | |
ports: | |
- containerPort: 1514 | |
protocol: TCP | |
- containerPort: 8000 | |
protocol: TCP | |
- containerPort: 8080 | |
protocol: TCP | |
- containerPort: 9997 | |
protocol: TCP | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment