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: "1"
            memory: "2Gi"
