mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-08-28 22:21:16 +08:00
c71b420248
- add the canonical AGPL header to the six agentic application yml files and the two python scripts that lacked one - add the header to all 79 kustomize, helm, and grafana yaml files, including the k8s driver template which regenerates the 36 driver manifests - verified: the k8s yaml files parse (multi-document aware), the python scripts compile, and the regenerated drivers differ only by the header
63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
#
|
|
# 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 <https://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
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: { }
|