From 2b876e79ecbb9d8e625d33878c149716ad3d433a Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Wed, 22 Nov 2023 19:18:59 -0500 Subject: [PATCH] k8s: add log pipeline annotation; comment on es --- k8s-es.yml | 49 +++++++++++++++++++++++++------------------------ k8s.yml | 2 ++ 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/k8s-es.yml b/k8s-es.yml index 1a3ac534..cf132150 100644 --- a/k8s-es.yml +++ b/k8s-es.yml @@ -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 @@ -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 diff --git a/k8s.yml b/k8s.yml index 6246f25c..1a586d4e 100644 --- a/k8s.yml +++ b/k8s.yml @@ -30,6 +30,8 @@ spec: labels: name: flathub elkes: "true" + annotations: + co.elastic.logs/pipeline: waimwork-access spec: containers: - image: docker-registry:25703/flathub