# deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: testpoint namespace: testpoint labels: app: testpoint spec: replicas: 1 selector: matchLabels: app: testpoint template: metadata: labels: app: testpoint spec: containers: - name: testpoint image: localhost:5000/testpoint:1.0.0 imagePullPolicy: IfNotPresent ports: - containerPort: 8000 envFrom: - configMapRef: name: testpoint-config - secretRef: name: testpoint-secrets resources: requests: cpu: "250m" memory: "256Mi" limits: cpu: "500m" memory: "512Mi" readinessProbe: tcpSocket: port: 8000 initialDelaySeconds: 10 periodSeconds: 10 livenessProbe: tcpSocket: port: 8000 initialDelaySeconds: 20 periodSeconds: 20