projectcontour / contour

Contour is a Kubernetes ingress controller using Envoy proxy.
https://projectcontour.io
Apache License 2.0
3.72k stars 677 forks source link

External IP stuck <pending> #6711

Open C-L-STARK opened 5 days ago

C-L-STARK commented 5 days ago
image
root@k8s:~# kubectl describe -n projectcontour svc/my-release-contour-envoy
Name:                     my-release-contour-envoy
Namespace:                projectcontour
Labels:                   app.kubernetes.io/component=envoy
                          app.kubernetes.io/instance=my-release
                          app.kubernetes.io/managed-by=Helm
                          app.kubernetes.io/name=contour
                          app.kubernetes.io/version=1.31.2
                          helm.sh/chart=contour-19.2.0
Annotations:              meta.helm.sh/release-name: my-release
                          meta.helm.sh/release-namespace: projectcontour
                          service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
Selector:                 app.kubernetes.io/component=envoy,app.kubernetes.io/instance=my-release,app.kubernetes.io/name=contour
Type:                     LoadBalancer
IP Family Policy:         SingleStack
IP Families:              IPv4
IP:                       10.98.163.196
IPs:                      10.98.163.196
Port:                     http  80/TCP
TargetPort:               http/TCP
NodePort:                 http  31508/TCP
Endpoints:                192.168.238.20:8080
Port:                     https  443/TCP
TargetPort:               https/TCP
NodePort:                 https  30303/TCP
Endpoints:                192.168.238.20:8443
Session Affinity:         None
External Traffic Policy:  Local
Internal Traffic Policy:  Cluster
HealthCheck NodePort:     32030
Events:                   <none>
projectcontour         my-release-contour-contour-7fd78585dd-qd957             1/1     Running   0          47m
projectcontour         my-release-contour-envoy-6qz9b                          2/2     Running   0          47m
NAMESPACE              NAME                                   TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                      AGE
projectcontour         my-release-contour                     ClusterIP      10.105.231.155   <none>        8001/TCP                     47m
projectcontour         my-release-contour-envoy               LoadBalancer   10.98.163.196    <pending>     80:31508/TCP,443:30303/TCP   47m

ingress test was failed:

root@k8s:~# kubectl get ingress -A
NAMESPACE   NAME            CLASS     HOSTS              ADDRESS   PORTS   AGE
default     nginx-ingress   contour          xxx.local             80      8h
github-actions[bot] commented 5 days ago

Hey @C-L-STARK! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Contour. You can also join us on our mailing list and in our channel in the Kubernetes Slack Workspace

C-L-STARK commented 5 days ago

update:

curl xxx.local:31508 worked for me. but i want use xxx.local:80/443 to visit my service.

so i try to set the node port to 80/443;

image

ಥ_ಥ