{"action":"created","issue":{"url":"https://api.github.com/repos/sickp/docker-alpine-redis/issues/2","repository_url":"https://api.github.com/repos/sickp/docker-alpine-redis","labels_url":"https://api.github.com/repos/sickp/docker-alpine-redis/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sickp/docker-alpine-redis/issues/2/comments","events_url":"https://api.github.com/repos/sickp/docker-alpine-redis/issues/2/events","html_url":"https://github.com/sickp/docker-alpine-redis/issues/2","id":158550713,"number":2,"title":"Kubernetes Redis 3.2 protected mode ","user":{"login":"michaelschefczyk","id":5464672,"avatar_url":"https://avatars.githubusercontent.com/u/5464672?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelschefczyk","html_url":"https://github.com/michaelschefczyk","followers_url":"https://api.github.com/users/michaelschefczyk/followers","following_url":"https://api.github.com/users/michaelschefczyk/following{/other_user}","gists_url":"https://api.github.com/users/michaelschefczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelschefczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelschefczyk/subscriptions","organizations_url":"https://api.github.com/users/michaelschefczyk/orgs","repos_url":"https://api.github.com/users/michaelschefczyk/repos","events_url":"https://api.github.com/users/michaelschefczyk/events{/privacy}","received_events_url":"https://api.github.com/users/michaelschefczyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-05T11:49:21Z","updated_at":"2016-06-06T20:54:45Z","closed_at":null,"body":"Dear Adrian,\r\n\r\nThank you very much for publishing docker-alpine-redis! I am trying to fight the problem of Redis 3.2 containers running under Kubernetes to stop working because of the protected mode issue (my initial attempts described here https://groups.google.com/forum/#!topic/redis-db/wFfXl8hAM98).\r\n\r\nEven when I run your (super compact!) image docker.io/sickp/alpine-redis   latest-k8s          78ab50f832ac (tagged as dockers10a:5000/redis:latest in my cluster) and telnet to it, I do get the \"Redis is running in protected mode ...\" response. Could you please be so kind to point me to what I am doing wrong?\r\n\r\nThank you very much!\r\n\r\nMichael\r\n\r\nP.S.: My replication controller (working with no issues with any Redis 3.0.7 image) is:\r\n\r\napiVersion: v1\r\nkind: ReplicationController\r\nmetadata:\r\n  name: redis-controller\r\nspec:\r\n  replicas: 1\r\n  selector:\r\n    name: redis\r\n  template:\r\n    spec:\r\n      volumes:\r\n        - name: redisnfs\r\n          nfs:\r\n            server: 192.168.1.61\r\n            path: \"/redis\"\r\n      containers:\r\n        - name: redis\r\n          image: dockers10a:5000/redis:latest\r\n          command: [\"redis-server\",\"--appendonly yes\"]\r\n          ports:\r\n            - containerPort: 6379\r\n          volumeMounts:\r\n            - name: redisnfs\r\n              mountPath: \"/data\"\r\n          securityContext:\r\n            privileged: true\r\n      nodeSelector:\r\n        location: DRS\r\n    metadata:\r\n      labels:\r\n        name: redis"},"comment":{"url":"https://api.github.com/repos/sickp/docker-alpine-redis/issues/comments/224085229","html_url":"https://github.com/sickp/docker-alpine-redis/issues/2#issuecomment-224085229","issue_url":"https://api.github.com/repos/sickp/docker-alpine-redis/issues/2","id":224085229,"user":{"login":"sickp","id":2233,"avatar_url":"https://avatars.githubusercontent.com/u/2233?v=3","gravatar_id":"","url":"https://api.github.com/users/sickp","html_url":"https://github.com/sickp","followers_url":"https://api.github.com/users/sickp/followers","following_url":"https://api.github.com/users/sickp/following{/other_user}","gists_url":"https://api.github.com/users/sickp/gists{/gist_id}","starred_url":"https://api.github.com/users/sickp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sickp/subscriptions","organizations_url":"https://api.github.com/users/sickp/orgs","repos_url":"https://api.github.com/users/sickp/repos","events_url":"https://api.github.com/users/sickp/events{/privacy}","received_events_url":"https://api.github.com/users/sickp/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T20:54:45Z","updated_at":"2016-06-06T20:54:45Z","body":"Have you connected to the running pod and verified that `/etc/redis.conf` contains `bind 0.0.0.0`? (And of course that `redis-server` is started using the `/etc/redis.conf` configuration and not some default or other)?\r\n\r\n```bash\r\nkubectl exec -it your-node-name grep bind /etc/redis.conf\r\n...\r\nbind 0.0.0.0\r\n```\r\n\r\n According to the Redis config file comments, explicitly `bind` should disable protected mode.\r\n"}}
{"actor":{"display_login":"sickp"}}