blob: af2377545f9770026919621c53713febeabfe530 [file]
# Copyright 2022 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
apiVersion: apps/v1
kind: Deployment
metadata:
name: devapp-deployment
spec:
replicas: 2
selector:
matchLabels:
app: devapp
template:
metadata:
labels:
app: devapp
spec:
containers:
- name: devapp
image: gcr.io/go-dashboard-dev/devapp:latest
imagePullPolicy: Always
command: ["/devapp", "-listen=:80", "-autocert-bucket=golang-devapp-dev-autocert"]
securityContext:
seccompProfile:
type: RuntimeDefault
appArmorProfile:
type: RuntimeDefault
readinessProbe:
httpGet:
path: /healthz
port: 80
ports:
- containerPort: 80
- containerPort: 443
resources:
requests:
cpu: "1"
memory: "2Gi"
limits:
memory: "4Gi"