Skip to content

Commit

Permalink
Update kibana-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeekshithSN committed Apr 21, 2020
1 parent 9415b12 commit cbc5205
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions monitoring/kubernetes-elk/kibana-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,30 @@ metadata:
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "Kibana"
spec:
type: NodePort
ports:
- port: 5601
protocol: TCP
targetPort: ui
nodePort: 31336
selector:
k8s-app: kibana-logging
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: logs-ingress
namespace: kube-system
labels:
app: logs
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: logs.example.com
http:
paths:
- path: /
backend:
serviceName: kibana-logging
servicePort: 5601
# ---
# apiVersion: extensions/v1beta1
# kind: Ingress
# metadata:
# name: logs-ingress
# namespace: kube-system
# labels:
# app: logs
# annotations:
# kubernetes.io/ingress.class: traefik
# spec:
# rules:
# - host: logs.example.com
# http:
# paths:
# - path: /
# backend:
# serviceName: kibana-logging
# servicePort: 5601

0 comments on commit cbc5205

Please sign in to comment.