diff deploy.yaml @ 59:1f8e66cb0108

deployment
author drewp@bigasterisk.com
date Fri, 06 Sep 2024 16:37:04 -0700
parents cb990883e52f
children 84141ef00bd7
line wrap: on
line diff
--- a/deploy.yaml	Thu Sep 05 17:01:23 2024 -0700
+++ b/deploy.yaml	Fri Sep 06 16:37:04 2024 -0700
@@ -24,6 +24,12 @@
           - '--port=8000'
           - '--host=0.0.0.0'
           - 'gcalendarwatch:app'
+        - name: calsync
+          image: reg:5000/gcalendarwatch_calsync_image
+          ports:
+            - containerPort: 8080
+          command:
+          - /opt/calsync
 ---
 apiVersion: v1
 kind: Service
@@ -32,6 +38,7 @@
 spec:
   ports:
   - {port: 80, targetPort: 8000, name: metrics}
+  - {port: 8080, targetPort: 8080, name: calsync}
   selector:
     app: gcalendarwatch