Skip to content
Snippets Groups Projects
Select Git revision
  • fe7ab148a1e8a0f7cc639b3f6c8c03f97b9216d6
  • master default protected
2 results

api-pod.yaml

Blame
  • api-pod.yaml 345 B
    apiVersion: v1
    kind: Pod
    metadata:
      name: api
      labels:
        component: api
        app: todo
    spec:
      containers:
      - name: api
        image: icclabcna/ccp2-k8s-todo-api
        ports:
        - containerPort: 8081
        resources:
          limits:
            cpu: 100m
        env:
        - name: REDIS_ENDPOINT
          value: redis-svc
        - name: REDIS_PWD
          value: ccp2