blob: dc756d40d420b88dc5817cbcfe6f4ba1be7a610b [file] [log] [blame]
# 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: coordinator-deployment
spec:
selector:
matchLabels:
app: coordinator
template:
metadata:
labels:
app: coordinator
annotations:
container.seccomp.security.alpha.kubernetes.io/coordinator: docker/default
container.apparmor.security.beta.kubernetes.io/coordinator: runtime/default
spec:
containers:
- name: coordinator
image: gcr.io/go-dashboard-dev/coordinator:latest
imagePullPolicy: Always
command: ["/coordinator"]
ports:
- containerPort: 80
- containerPort: 443
- containerPort: 2222 # ssh proxy port
resources:
requests:
cpu: "2"
memory: "4Gi"
limits:
cpu: "3"
memory: "6Gi"