---
apiVersion: v1
kind: PodTemplate
metadata:
  name: some-project-rc
  labels:
    project: some-project
    role: some-role
template:
  metadata:
    name: some-project-pod
    labels:
      project: some-project
      role: some-role
  spec:
    containers:
    - name: some-project
      image: docker-registry.zende.sk/truth_service:latest
      resources:
        requests:
          cpu: 250m
          memory: 50Mi
        limits:
          cpu: 500m
          memory: 100Mi
      ports:
      - name: some-role-port
        containerPort: 4242
        protocol: TCP
