I create a externalName service to aws RDS db, everything works just fine except Dashboard status always pending. How to fix the dashboard status, is there any annotation to resolve it ?
apiVersion: v1
kind: Service
metadata:
labels:
app: postgres
name: postgres
namespace: staging
spec:
externalName: db-staging.xxxxxxxxxxx.ap-southeast-1.rds.amazonaws.com
type: ExternalName
ports:
- port: 5432
status:
loadBalancer: {}
Dashboard always show pending for externalName service
I think this is a bug in the dashboard so I reported it as such. https://github.com/kubernetes/dashboard/issues/4736
My best guess at this point is that this is caused by the fact that this Service does not get a ClusterIP.
Update: This bug has been fixed in kubernetesui/dashboard:v2.0.0-rc7 and later.