Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- high availabillty
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <rect x="10" y="10" height="100" width="100" style="stroke:#ff0000; fill: #0000ff"/> </svg>
- spring boot ssl
- redis cluster
- java static resources
- MySQL
- intelij spring boot devtools
- kubernates
- Istio
- msa 4.0
- Service Mesh
- <iframe src="http://erea.tistory.com/attachment/cfile21.uf@997995485B2F785A3292EE.svg"></iframe>
- spring boot ssl verify skip
- spring cloud api gateway
- Spring boot
- sidecar patern
- redis ha
- Spring Cloud Config
- spring cloud zuul
- spring boot hot swapping
- spring cloud load balancer
- Spring Cloud Bus
- intelij devtools
- Distributed Tracing System
- sidecar
- spring boot 2.0 ssl
- spring boot jks
- jpa auto increment
- tracing tool
- spring boot http client
Archives
- Today
- Total
erea
k8s redis cluster nslookup 이슈 본문
k8s redis cluster 를 프로비저닝할때 init container에서 nslookup으로 클러스터 pod들의 ip를 가져오는데 어느순간부터 동작을 않함
보니까 service에 clusterIP부분이 문제였던것
clusterIP: None
None으로 넣어주면 정상적으로 nslookup으로 pod들의 ip를 가져올수 있다.
아니면 kubectl로 수동으로 맺어주자
kubectl exec -it redis-cluster-1-server-0 -n demo -- redis-cli -a redis --cluster create $(kubectl get pods -l release=redis-cluster-1 -o jsonpath='{range.items[*]}{.status.podIP}:6379 ' -n demo) --cluster-replicas 1