late-printer-99022
01/15/2020, 8:56 AM> KUBECONFIG=./kubeconfig.json kubectl get svc --all-namespaces
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
agromaster agromaster-plot NodePort 172.20.88.116 <none> 80:30577/TCP 4d11h
default kubernetes ClusterIP 172.20.0.1 <none> 443/TCP 15d
kube-system kube-dns ClusterIP 172.20.0.10 <none> 53/UDP,53/TCP 15d
syngenta-platform syngenta-platform-ndvi NodePort 172.20.135.178 <none> 80:30603/TCP 4d11h
syngenta-platform syngenta-platform-nginx NodePort 172.20.233.206 <none> 80:30177/TCP 4d11h
late-printer-99022
01/15/2020, 8:57 AMlate-printer-99022
01/15/2020, 9:01 AMflat-insurance-25294
01/15/2020, 9:02 AMlate-printer-99022
01/15/2020, 9:02 AMflat-insurance-25294
01/15/2020, 9:03 AMlate-printer-99022
01/15/2020, 9:04 AMflat-insurance-25294
01/15/2020, 9:05 AMlate-printer-99022
01/15/2020, 9:05 AMflat-insurance-25294
01/15/2020, 9:05 AMflat-insurance-25294
01/15/2020, 9:06 AMlate-printer-99022
01/15/2020, 9:07 AMlate-printer-99022
01/15/2020, 9:08 AMflat-insurance-25294
01/15/2020, 9:09 AMflat-insurance-25294
01/15/2020, 9:10 AMEXPOSE
. That’s just for documentation really.flat-insurance-25294
01/15/2020, 9:12 AMlate-printer-99022
01/15/2020, 9:13 AMhttps
too - pendingflat-insurance-25294
01/15/2020, 9:14 AMflat-insurance-25294
01/15/2020, 9:14 AMkubectl logs --namespace kube-system $(kubectl get po --namespace kube-system | egrep -o [a-zA-Z0–9-]+alb-ingress[a-zA-Z0–9-]+)
Check errors as well.late-printer-99022
01/15/2020, 9:17 AMlate-printer-99022
01/15/2020, 9:18 AMflat-insurance-25294
01/15/2020, 9:18 AMlate-printer-99022
01/15/2020, 9:19 AMlate-printer-99022
01/15/2020, 9:25 AM> KUBECONFIG=./kubeconfig.json kubectl get svc --all-namespaces
syngenta-platform syngenta-platform-ndvi NodePort 172.20.135.178 <none> 80:30603/TCP 4d12h
syngenta-platform syngenta-platform-nginx NodePort 172.20.233.206 <none> 80:30177/TCP 4d12h
it is showing port 80
in both case. is it correct? nginx service has container port 80 and target port 80, but ndvi service has container port 3000 and target port is 80.late-printer-99022
01/15/2020, 9:29 AMlate-printer-99022
01/15/2020, 9:29 AMlate-printer-99022
01/15/2020, 10:45 AMflat-insurance-25294
01/15/2020, 10:45 AMlate-printer-99022
01/15/2020, 10:46 AME0115 10:45:08.543340 1 :0] kubebuilder/controller "msg"="Reconciler error" "error"="failed to reconcile targetGroups due to failed to reconcile targetGroup targets due to Unable to find http port on service syngenta-platform-ndvi" "controller"="alb-ingress-controller" "request"={"Namespace":"syngenta-platform","Name":"syngenta-platform"}
in Ingress logs, but my Service is working fine.late-printer-99022
01/15/2020, 1:46 PMlate-printer-99022
01/15/2020, 1:46 PM