apiVersion: apps/v1
kind: Deployment
metadata:
  name: billboard-client
spec:
  replicas: 1
  selector:
    matchLabels:
      app: billboard-client
  template:
    metadata:
      labels:
        app: billboard-client
    spec:
      serviceAccountName: "spring-cloud"
      imagePullSecrets:
        - name: regcreddocker
      containers:
      - image: triathlonguy/billboard-client:blue
        imagePullPolicy: Always
        name: billboard-client
        ports:
          - containerPort: 8080
        resources:
          requests:
            cpu: 1000m
            memory: 1024M
          limits:
            cpu: 1000m
            memory: 1024M
