blob: 2cf7c048b17a7e7b55269355c364f918e428fccd [file] [log] [blame]
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: prod
name: devapp-deployment
spec:
replicas: 2
selector:
matchLabels:
app: devapp
template:
metadata:
labels:
app: devapp
annotations:
container.seccomp.security.alpha.kubernetes.io/devapp: docker/default
container.apparmor.security.beta.kubernetes.io/devapp: runtime/default
spec:
serviceAccountName: devapp
containers:
- name: devapp
image: gcr.io/symbolic-datum-552/devapp:latest
imagePullPolicy: Always
command: ["/devapp", "-listen=:80", "-autocert-bucket=golang-devapp-autocert"]
readinessProbe:
httpGet:
path: /healthz
port: 80
ports:
- containerPort: 80
- containerPort: 443
resources:
requests:
cpu: "1"
memory: "4Gi"
ephemeral-storage: "16Gi"
limits:
memory: "8Gi"
ephemeral-storage: "32Gi"