
apiVersion: apps/v1
kind: Deployment
metadata:
  name: meu-deployment
  labels:
    deployment: bolado_deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      example: olx-bolada
  template:
    metadata:
      labels:
        example: olx-bolada
    spec:
      containers:
      - name: meu-container
        image: ralphavalon/kube_features:v2
        ports:
        - containerPort: 8081
        env:
        - name: API_HOST
          value: "192.168.99.100:30934"
        resources:
          requests:
            memory: "64Mi"
            cpu: "100m"
          limits:
            memory: "128Mi"
            cpu: "250m"
        livenessProbe:
            httpGet:
                path: "/health"
                port: 8081
        readinessProbe:
            httpGet:
                path: "/health"
                port: 8081

