diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml new file mode 100644 index 0000000000000000000000000000000000000000..76a3c149554b14ae9bff9468eb1d12d689635c09 --- /dev/null +++ b/k8s-deploy-template.yaml @@ -0,0 +1,36 @@ + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {APP_NAME} + namespace: {NAMESPACE} + labels: + app: {APP_NAME} +spec: + replicas: 1 + selector: + matchLabels: + app: {APP_NAME} + template: + metadata: + labels: + app: {APP_NAME} + annotations: + armsPilotAutoEnable: "on" + armsPilotCreateAppName: "{APP_NAME}" + spec: + containers: + - name: {APP_NAME} + image: {IMAGE} + imagePullPolicy: "Always" + ports: + - containerPort: {PORT} + readinessProbe: + httpGet: + scheme: HTTP + path: /actuator/health + port: 1024 + initialDelaySeconds: 10 + periodSeconds: 5 + imagePullSecrets: + - name: kp-schbrain \ No newline at end of file