apiVersion: apps/v1 kind: Deployment metadata: name: birb-latency-influxdb namespace: turbomemer labels: app: birb-latency-influxdb spec: replicas: 1 selector: matchLabels: app: birb-latency-influxdb strategy: type: Recreate template: metadata: labels: app: birb-latency-influxdb spec: containers: - image: "influxdb:2.1" imagePullPolicy: Always name: birb-latency-influxdb envFrom: - configMapRef: name: birb-latency-influxdb ports: - containerPort: 8086 imagePullSecrets: - name: regcred --- apiVersion: v1 kind: Service metadata: name: birb-latency-influxdb namespace: turbomemer labels: app: birb-latency-influxdb spec: ports: - name: birb-latency-influxdb port: 8086 targetPort: 8086 protocol: TCP selector: app: birb-latency-influxdb type: ClusterIP --- apiVersion: v1 kind: Service metadata: name: birb-latency-influxdb-pub namespace: turbomemer labels: app: birb-latency-influxdb spec: ports: - name: birb-latency-influxdb-pub port: 8086 targetPort: 8086 protocol: TCP selector: app: birb-latency-influxdb type: NodePort --- apiVersion: v1 kind: ConfigMap metadata: name: birb-latency-influxdb labels: app: birb-latency-influxdb namespace: turbomemer data: DOCKER_INFLUXDB_INIT_USERNAME: admin DOCKER_INFLUXDB_INIT_PASSWORD: adminadmin DOCKER_INFLUXDB_INIT_ORG: alma DOCKER_INFLUXDB_INIT_BUCKET: alma DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: my-super-secret-auth-token