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 | 31 |
Tags
- spring boot ssl verify skip
- spring cloud api gateway
- Spring boot
- Spring Cloud Config
- Distributed Tracing System
- redis cluster
- kubernates
- <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>
- high availabillty
- spring cloud load balancer
- spring boot http client
- tracing tool
- msa 4.0
- redis ha
- <iframe src="http://erea.tistory.com/attachment/cfile21.uf@997995485B2F785A3292EE.svg"></iframe>
- Spring Cloud Bus
- spring boot ssl
- spring cloud zuul
- java static resources
- Istio
- spring boot jks
- jpa auto increment
- intelij devtools
- sidecar patern
- intelij spring boot devtools
- sidecar
- MySQL
- spring boot 2.0 ssl
- Service Mesh
- spring boot hot swapping
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
Comments