Mercurial > code > home > repos > reposync
diff 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 |
line wrap: on
line diff
--- a/deploy.yaml Sun Dec 12 22:32:25 2021 -0800 +++ b/deploy.yaml Sun Jan 09 00:21:41 2022 -0800 @@ -13,24 +13,33 @@ app: reposync spec: containers: - - name: reposync + - name: view image: bang5:5000/reposync_image - imagePullPolicy: "Always" - securityContext: {capabilities: {add: [SYS_PTRACE]}} + command: + - pnpx + - vite + - --mode=dev ports: - - containerPort: 10001 - volumeMounts: - - {name: my, mountPath: /my} + - containerPort: 3000 + # - name: reposync + # image: bang5:5000/reposync_image + # imagePullPolicy: "Always" + # securityContext: {capabilities: {add: [SYS_PTRACE]}} + # ports: + # - containerPort: 10001 + # volumeMounts: + # - {name: my, mountPath: /my} + volumes: - { name: my, persistentVolumeClaim: { claimName: my } } affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - - matchExpressions: - - key: "kubernetes.io/hostname" - operator: In - values: ["bang"] + - matchExpressions: + - key: "kubernetes.io/hostname" + operator: In + values: ["bang"] --- apiVersion: v1 kind: Service @@ -38,8 +47,6 @@ name: reposync spec: ports: - - {port: 80, targetPort: 10001, name: http} + - { port: 80, targetPort: 3000, name: http } selector: app: reposync - -