ensembl_client_deployment.yaml 516 Bytes
Newer Older
Kamal Dodiya's avatar
Kamal Dodiya committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
apiVersion: apps/v1beta1
kind: Deployment
metadata: 
  name: ensembl-client-<DEPLOYMENT_ENV>-deployment
  annotations:
    app.gitlab.com/app: <CI_PROJECT_PATH_SLUG>
    app.gitlab.com/env: <CI_ENVIRONMENT_SLUG>
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: ensembl-client-<DEPLOYMENT_ENV>
        RUP: nickl
    spec:
      containers:
      - name: ensembl-client-<DEPLOYMENT_ENV>
        image: <DOCKER_IMAGE>
        ports:
        - containerPort: 8000
        imagePullPolicy: Always