Skip to content
Snippets Groups Projects
Select Git revision
  • bffb55b68231fc591f34594617cbdaf4b30bd5b1
  • main default protected
  • nour2
  • aleks4
  • geno2
  • petri-net-output
  • nour
  • deep-rl-1
  • geno3
  • paula
  • aleks2
  • aleks3
  • Nour
  • geno
  • aleks
15 results

README.md

Blame
  • mdata_app_deployment.yaml 1.20 KiB
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: mdata-app
      namespace: mdata
      labels:
        app.kubernetes.io/name: mdata-app
        app.kubernetes.io/version: "0.1.1"
    spec:
      selector:
        matchLabels:
          app.kubernetes.io/name: mdata-app
      replicas: 1
      revisionHistoryLimit: 5
      strategy:
        type: Recreate
      template:
        metadata:
          labels:
            app.kubernetes.io/name: mdata-app
        spec:
          containers:
            - name: mdata-app
              image: registry.git-ce.rwth-aachen.de/machine-data/mdata_app@sha256:1b8ba2ec1be89b5d31ee521679667ce20e655ad0cc19b7eae24030e8d4f6742a
              imagePullPolicy: IfNotPresent
              ports:
                - containerPort: 8501
                  protocol: TCP
              livenessProbe:
                httpGet:
                  path: /_stcore/health
                  port: 8501
              env:
                - name: TMPDIR
                  value: /tmp
              volumeMounts:
                - mountPath: /tmp
                  name: tmp
              resources:
                limits:
                  memory: "2Gi"
                  cpu: "1000m"
                requests:
                  memory: "512Mi"
                  cpu: "500m"
          volumes:
            - emptyDir:
                sizeLimit: "1Gi"
              name: tmp