# # Copyright 2016-present the IoT DC3 original author or authors. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # apiVersion: apps/v1 kind: Deployment metadata: name: dc3-driver-sqlserver namespace: dc3 labels: app.kubernetes.io/name: dc3-driver-sqlserver app.kubernetes.io/part-of: iot-dc3 spec: replicas: 1 selector: matchLabels: app: dc3-driver-sqlserver template: metadata: labels: app: dc3-driver-sqlserver spec: terminationGracePeriodSeconds: 30 containers: - name: dc3-driver-sqlserver image: pnoker/dc3-driver-sqlserver:2026.6 imagePullPolicy: IfNotPresent envFrom: - configMapRef: name: dc3-config - secretRef: name: dc3-secrets resources: requests: cpu: 50m memory: 64Mi limits: cpu: "0.5" memory: 512Mi volumeMounts: - name: logs mountPath: /dc3-driver/dc3-driver-sqlserver/dc3/logs - name: data mountPath: /dc3-driver/dc3-driver-sqlserver/dc3/data volumes: - name: logs emptyDir: { } - name: data emptyDir: { }