apiVersion: apps/v1
kind: Deployment

metadata:
  name: redis-test
  namespace: dotnet-sample
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redis-test
  template:
    metadata:
      labels:
        app: redis-test
    spec:
      containers:
      - name: redis-test
        env:
        - name: REDIS_ENDPOINT
          value: elmf64cf90nuki7.lm5w0w.clustercfg.usw2.cache.amazonaws.com:6379
        - name: STRESS_MODE
          value: "OFF"
        - name: DBFLUSH
          value: "FALSE"
        image: darrenlin915/redisdotnetsample
        resources:
          requests:
            memory: "128Mi"
            cpu: "100m"
          limits:
            cpu: "2"
            memory: "1024Mi"
        # ports:
        # - containerPort: <Port>

