
It fix this bug : https://stackoverflow.com/questions/34255601/kube-addons-service-failed-on-coreos-libvirt-installation Some documentation that explain why clusterIP is better : https://github.com/kubernetes/kubernetes/blob/master/docs/api.md
16 lines
236 B
YAML
16 lines
236 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
k8s-app: skydns
|
|
name: skydns
|
|
namespace: kube-system
|
|
spec:
|
|
clusterIP: ${DNS_SERVER_IP}
|
|
ports:
|
|
- port: 53
|
|
protocol: UDP
|
|
targetPort: 53
|
|
selector:
|
|
k8s-app: skydns
|