diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index ff86d9a9d7587ed24c76a1175a9fa22afcc92c3f..1bce46c88e8ee6f2e4b4cf402007b98257b7a28e 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -36,4 +36,4 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 imagePullSecrets: - - name: kp-schbrain + - name: kp-schbrain \ No newline at end of file diff --git a/k8s-service-template.yaml b/k8s-service-template.yaml new file mode 100644 index 0000000000000000000000000000000000000000..17d0e59495dfdf0b12beeadd02a296ba1c2281fc --- /dev/null +++ b/k8s-service-template.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + name: ${SERVICE_NAME} + namespace: ${NAMESPACE} + labels: + app: ${SERVICE_NAME} +spec: + type: ClusterIP + ports: + - port: ${SERVICE_PORT} + targetPort: ${SERVICE_PORT} + selector: + app: ${APP_NAME} \ No newline at end of file