annotate deploy.yaml @ 22:b9fe6d26b3fa

minor changes, fixes, upgrades
author drewp@bigasterisk.com
date Tue, 29 Mar 2022 21:15:51 -0700
parents cb71722bb75c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
1 apiVersion: apps/v1
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
2 kind: Deployment
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
3 metadata:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
4 name: reposync
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
5 spec:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
6 replicas: 1
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
7 selector:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
8 matchLabels:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
9 app: reposync
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
10 template:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
11 metadata:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
12 labels:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
13 app: reposync
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
14 spec:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
15 containers:
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
drewp@bigasterisk.com
parents: 4
diff changeset
16 - name: view
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
17 image: bang5:5000/reposync_image
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
drewp@bigasterisk.com
parents: 4
diff changeset
18 command:
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
drewp@bigasterisk.com
parents: 4
diff changeset
19 - pnpx
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
drewp@bigasterisk.com
parents: 4
diff changeset
20 - vite
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
drewp@bigasterisk.com
parents: 4
diff changeset
21 - --mode=dev
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
22 ports:
19
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
23 - containerPort: 3000
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
24 - name: github-status
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
25 image: bang5:5000/reposync_image
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
26 ports:
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
27 - containerPort: 8000
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
28 command:
21
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 20
diff changeset
29 - pipenv
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 20
diff changeset
30 - run
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 20
diff changeset
31 - python
19
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
32 - repo_github_status.py
22
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
33 # - "-v"
20
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
34 - name: hg-status
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
35 image: bang5:5000/reposync_image
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
36 ports:
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
37 - containerPort: 8001
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
38 command:
21
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 20
diff changeset
39 - pipenv
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 20
diff changeset
40 - run
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 20
diff changeset
41 - python
20
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
42 - repo_local_status.py
22
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
43 # - "-v"
20
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
44 volumeMounts:
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
45 - { name: my, mountPath: /my }
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
drewp@bigasterisk.com
parents: 4
diff changeset
46
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
47 volumes:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
48 - { name: my, persistentVolumeClaim: { claimName: my } }
22
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
49 dnsConfig:
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
50 options:
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
51 - name: ndots
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
52 value: "1"
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
53 affinity:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
54 nodeAffinity:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
55 requiredDuringSchedulingIgnoredDuringExecution:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
56 nodeSelectorTerms:
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
drewp@bigasterisk.com
parents: 4
diff changeset
57 - matchExpressions:
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
drewp@bigasterisk.com
parents: 4
diff changeset
58 - key: "kubernetes.io/hostname"
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
drewp@bigasterisk.com
parents: 4
diff changeset
59 operator: In
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
drewp@bigasterisk.com
parents: 4
diff changeset
60 values: ["bang"]
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
61 ---
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
62 apiVersion: v1
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
63 kind: Service
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
64 metadata:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
65 name: reposync
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
66 spec:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
67 ports:
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
drewp@bigasterisk.com
parents: 4
diff changeset
68 - { port: 80, targetPort: 3000, name: http }
19
5751ef191454 read from github into local graph
drewp@bigasterisk.com
parents: 18
diff changeset
69 - { port: 8000, targetPort: 8000, name: localrepos }
20
b59912649fc4 rewrite local hg scanner
drewp@bigasterisk.com
parents: 19
diff changeset
70 - { port: 8001, targetPort: 8001, name: githubrepos }
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
71 selector:
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
72 app: reposync