apiVersion: v1
kind: ReplicationController
metadata:
  labels:
    name: api-nocheck
  name: api-nocheck-rc
spec:
  replicas: 1
  template:
    metadata:
      labels:
        name: api-nocheck
    spec:
      containers:
      - image: ipedrazas/api-mongo
        name: api-nocheck
        resources:
          limits:
            memory: "256Mi"
        env:
          - name: MONGO_HOST
            value: mongo.default.svc.cluster.local
          - name: MONGO_PORT
            value: "27017"
          - name: MONGO_DBNAME
            value: "infracoders"
        ports:
        - name: api-mongo
          containerPort: 5000


# curl -H "Content-Type: application/json" -X POST -d '{"title":"Hola", "body": "hello World!"}' http://172.17.4.202:30001/entries

