diff --git a/apps/recipes/kustomization.yaml b/apps/recipes/kustomization.yaml index 22ba602..e0206e2 100644 --- a/apps/recipes/kustomization.yaml +++ b/apps/recipes/kustomization.yaml @@ -6,6 +6,7 @@ resources: - pvc.yaml - deployment.yaml - configmap.yaml + - services.yaml - ingress.yaml namespace: recipes diff --git a/apps/recipes/services.yaml b/apps/recipes/services.yaml new file mode 100644 index 0000000..3039ef9 --- /dev/null +++ b/apps/recipes/services.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Service +metadata: + name: recipes + labels: + app: recipes +spec: + selector: + app: recipes + ports: + - port: 80 + targetPort: http + name: http + protocol: TCP + - port: 8080 + targetPort: gunicorn + name: gunicorn + protocol: TCP \ No newline at end of file