fixed the redis issue

This commit is contained in:
bansalji02 2024-05-10 17:17:15 +05:30
parent 171b8cb775
commit 594361ef87
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
FROM golang:1.10.0
RUN go get github.com/codegangsta/negroni \
github.com/gorilla/mux \
github.com/xyproto/simpleredis
github.com/xyproto/simpleredis/v2
WORKDIR /app
ADD ./main.go .
RUN CGO_ENABLED=0 GOOS=linux go build -o main .

View File

@ -24,7 +24,7 @@ import (
"github.com/codegangsta/negroni"
"github.com/gorilla/mux"
"github.com/xyproto/simpleredis"
"github.com/xyproto/simpleredis/v2"
)
var (

View File

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: redis-master
image: registry.k8s.io/redis:e2e
image: redis
ports:
- name: redis-server
containerPort: 6379

View File

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: redis-replica
image: registry.k8s.io/redis-slave:v2
image: k8s.gcr.io/redis-slave:v2
ports:
- name: redis-server
containerPort: 6379