annotate next/vmstorage.yaml @ 53:e7318cbee0bc

a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
author drewp@bigasterisk.com
date Wed, 24 Apr 2024 11:38:13 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
53
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
1 apiVersion: apps/v1
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
2 kind: Deployment
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
3 metadata:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
4 name: next-victoriametrics-vmstorage
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
5 spec:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
6 replicas: 1
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
7 strategy: { type: Recreate }
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
8 selector: { matchLabels: { app: next-victoriametrics-vmstorage } }
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
9 template:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
10 metadata:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
11 labels:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
12 app: next-victoriametrics-vmstorage
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
13 annotations:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
14 prometheus.io/scrape: "true"
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
15 prometheus.io/path: "/m/vmstorage/metrics"
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
16 prometheus.io/port: "80"
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
17 spec:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
18 volumes:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
19 - name: data
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
20 persistentVolumeClaim:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
21 claimName: next-victoriametrics
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
22 serviceAccountName: victoriametrics
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
23 containers:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
24 - name: vmstorage
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
25 # https://hub.docker.com/r/victoriametrics/victoria-metrics/tags also check vmalert.yaml
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
26 image: docker.io/victoriametrics/vmstorage:v1.100.1-cluster
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
27 args:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
28 - -http.pathPrefix=/m/next/vmstorage/
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
29 - -loggerTimezone=America/Los_Angeles
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
30 - -retentionPeriod=10y
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
31 - -storageDataPath=/data
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
32 ports:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
33 - containerPort: 8482 # http?
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
34 - containerPort: 8400 # vminsert server
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
35 - containerPort: 8401 # vmselect server
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
36 volumeMounts:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
37 - { name: data, mountPath: /data }
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
38 affinity:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
39 nodeAffinity:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
40 requiredDuringSchedulingIgnoredDuringExecution:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
41 nodeSelectorTerms:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
42 - matchExpressions:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
43 - key: "kubernetes.io/hostname"
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
44 operator: In
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
45 values: ["ditto"]
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
46 ---
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
47 apiVersion: v1
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
48 kind: Service
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
49 metadata:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
50 name: next-victoriametrics-vmstorage
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
51 spec:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
52 ports:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
53 - {port: 80, targetPort: 8482 }
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
54 - {port: 8401, targetPort: 8401 }
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
55 selector:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
56 app: next-victoriametrics-vmstorage
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
57 ---
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
58 apiVersion: v1
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
59 kind: Service
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
60 metadata:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
61 name: next-victoriametrics-vmstorage-write
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
62 spec:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
63 ports:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
64 - {port: 8400, targetPort: 8400 }
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
65 selector:
e7318cbee0bc a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
drewp@bigasterisk.com
parents:
diff changeset
66 app: next-victoriametrics-vmstorage