Mercurial > code > home > repos > reposync
comparison deploy.yaml @ 18:6f38aa08408d
starting over: make a web page that draws a streamed graph from collector, with plans for services to scrape the data that collector will subscribe to
author | drewp@bigasterisk.com |
---|---|
date | Sun, 09 Jan 2022 00:21:41 -0800 |
parents | f714a6a7842c |
children | 5751ef191454 |
comparison
equal
deleted
inserted
replaced
17:a4778c56cc03 | 18:6f38aa08408d |
---|---|
11 metadata: | 11 metadata: |
12 labels: | 12 labels: |
13 app: reposync | 13 app: reposync |
14 spec: | 14 spec: |
15 containers: | 15 containers: |
16 - name: reposync | 16 - name: view |
17 image: bang5:5000/reposync_image | 17 image: bang5:5000/reposync_image |
18 imagePullPolicy: "Always" | 18 command: |
19 securityContext: {capabilities: {add: [SYS_PTRACE]}} | 19 - pnpx |
20 - vite | |
21 - --mode=dev | |
20 ports: | 22 ports: |
21 - containerPort: 10001 | 23 - containerPort: 3000 |
22 volumeMounts: | 24 # - name: reposync |
23 - {name: my, mountPath: /my} | 25 # image: bang5:5000/reposync_image |
26 # imagePullPolicy: "Always" | |
27 # securityContext: {capabilities: {add: [SYS_PTRACE]}} | |
28 # ports: | |
29 # - containerPort: 10001 | |
30 # volumeMounts: | |
31 # - {name: my, mountPath: /my} | |
32 | |
24 volumes: | 33 volumes: |
25 - { name: my, persistentVolumeClaim: { claimName: my } } | 34 - { name: my, persistentVolumeClaim: { claimName: my } } |
26 affinity: | 35 affinity: |
27 nodeAffinity: | 36 nodeAffinity: |
28 requiredDuringSchedulingIgnoredDuringExecution: | 37 requiredDuringSchedulingIgnoredDuringExecution: |
29 nodeSelectorTerms: | 38 nodeSelectorTerms: |
30 - matchExpressions: | 39 - matchExpressions: |
31 - key: "kubernetes.io/hostname" | 40 - key: "kubernetes.io/hostname" |
32 operator: In | 41 operator: In |
33 values: ["bang"] | 42 values: ["bang"] |
34 --- | 43 --- |
35 apiVersion: v1 | 44 apiVersion: v1 |
36 kind: Service | 45 kind: Service |
37 metadata: | 46 metadata: |
38 name: reposync | 47 name: reposync |
39 spec: | 48 spec: |
40 ports: | 49 ports: |
41 - {port: 80, targetPort: 10001, name: http} | 50 - { port: 80, targetPort: 3000, name: http } |
42 selector: | 51 selector: |
43 app: reposync | 52 app: reposync |
44 | |
45 |