Created
September 7, 2018 09:09
-
-
Save puttpotsawee/6a87527dc0bbadb683705bb5dc1d781c 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: logging-kibana | |
spec: | |
replicas: 1 | |
strategy: {} | |
template: | |
metadata: | |
labels: | |
app: logging-kibana | |
spec: | |
containers: | |
- env: | |
- name: ELASTICSEARCH_URL | |
value: http://logging-elastic-service:9200 | |
image: kibana:4 | |
name: kibana | |
resources: {} | |
stdin: true | |
tty: true | |
restartPolicy: Always | |
status: {} | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: logging-kibana-service | |
labels: | |
name: logging-kibana-service | |
spec: | |
clusterIP: None | |
ports: | |
- name: logging-kibana-port | |
port: 80 | |
targetPort: 5601 | |
selector: | |
app: logging-kibana |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment