apiVersion: apps/v1
kind: Deployment
metadata:
  name: user-service-py-deployment
  labels:
    app: user-service-py
spec:
  replicas: 1
  selector:
    matchLabels:
      app: user-service-py
  template:
    metadata:
      labels:
        app: user-service-py
    spec:
      containers:
        - name: user-service-py
          image: user-service-py:latest # This image needs to be built and pushed to a registry
          ports:
            - containerPort: 8080
          resources:
            limits:
              memory: "128Mi"
              cpu: "200m"
            requests:
              memory: "64Mi"
              cpu: "100m"
