Skip to content

Commit

Permalink
k8s: add log pipeline annotation; comment on es
Browse files Browse the repository at this point in the history
  • Loading branch information
dylex committed Nov 23, 2023
1 parent efae43b commit 2b876e7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
49 changes: 25 additions & 24 deletions k8s-es.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# This has been generalized and moved to scc-containers/sdsc/es.yaml
---
apiVersion: v1
kind: Service
metadata:
name: flathub-es-trans
spec:
selector:
name: flathub-es
publishNotReadyAddresses: true
ports:
- name: transport
port: 9300
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
name: flathub-es
spec:
selector:
name: flathub-es
ports:
- name: http
port: 9200
---
apiVersion: apps/v1
kind: DaemonSet
Expand Down Expand Up @@ -158,27 +183,3 @@ spec:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
---
apiVersion: v1
kind: Service
metadata:
name: flathub-es-trans
spec:
selector:
name: flathub-es
publishNotReadyAddresses: true
ports:
- name: transport
port: 9300
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
name: flathub-es
spec:
selector:
name: flathub-es
ports:
- name: http
port: 9200
2 changes: 2 additions & 0 deletions k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ spec:
labels:
name: flathub
elkes: "true"
annotations:
co.elastic.logs/pipeline: waimwork-access
spec:
containers:
- image: docker-registry:25703/flathub
Expand Down

0 comments on commit 2b876e7

Please sign in to comment.