Files
pnoker c71b420248 docs(headers): add the missing agpl headers to deploy and config files
- 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
2026-08-25 16:13:47 +08:00

85 lines
2.4 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-data
namespace: dc3
labels:
app.kubernetes.io/name: dc3-data
app.kubernetes.io/part-of: iot-dc3
spec:
replicas: 1
selector:
matchLabels:
app: dc3-data
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
app: dc3-data
spec:
terminationGracePeriodSeconds: 60
containers:
- name: dc3-data
image: pnoker/dc3-center-data:2026.6
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: dc3-config
- secretRef:
name: dc3-secrets
ports:
- name: http
containerPort: 8500
- name: grpc
containerPort: 9500
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: "1"
memory: 1024Mi
readinessProbe:
httpGet:
path: /data/actuator/health/readiness
port: http
initialDelaySeconds: 40
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 10
livenessProbe:
httpGet:
path: /data/actuator/health/readiness
port: http
initialDelaySeconds: 70
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 6
volumeMounts:
- name: logs
mountPath: /dc3-center/dc3-center-data/dc3/logs
volumes:
- name: logs
emptyDir: { }