Make Redis slaves dicoverable - Kubernetes

0 votes

I have created a Redis slave deployment with the help of this: https://www.edureka.co/community/58787/redis-slave-deployment-kubernetes

Now I need to write the service.yaml for this. Asin, I need a way to expose the Redis slave deployment so that it's accessible by my application.

Help!

Oct 23, 2019 in Kubernetes by Hannah
• 18,520 points
671 views

1 answer to this question.

0 votes

Use something like this:

application/appl/redis-slave-service.yaml 

apiVersion: v1
kind: Service
metadata:
  name: redis-slave
  labels:
    app: redis
    role: slave
    tier: backend
spec:
  ports:
  - port: port-number
  selector:
    app: redis
    role: slave
    tier: backend
answered Oct 23, 2019 by Eric

Related Questions In Kubernetes

0 votes
1 answer

Redis slave deployment - Kubernetes

You can something like this, Make the ...READ MORE

answered Oct 23, 2019 in Kubernetes by Eric
1,125 views
+5 votes
2 answers

Redirecting host to service path in kubernetes

What you are trying to do is ...READ MORE

answered Mar 27, 2018 in Kubernetes by DragonLord999
• 8,450 points
3,599 views
0 votes
1 answer

unable to start Kubernetes due to so many open files in system

You can try the following steps: You can ...READ MORE

answered May 1, 2018 in Kubernetes by shubham
• 7,340 points
2,108 views
0 votes
1 answer

How to use gravitational teleport in a container/kubernetes environment?

You can use teleport to augment kubernetes ...READ MORE

answered Jun 28, 2018 in Kubernetes by ajs3033
• 7,300 points
2,496 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,574 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,061 views
0 votes
1 answer

Deploy PHP application with Redis - Kubernetes

Hi, @Hannah, Follow these steps: 1. Create a ...READ MORE

answered Oct 23, 2019 in Kubernetes by Eric
1,566 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP