steep-portugal-37539
06/07/2021, 4:47 PMFailed build model due to ingress: waterrecharge/waterrecharge-ingress: none certificate found for host: <http://waterrecharge-pulumi-api-aryeh.tqhosted.com|waterrecharge-pulumi-api-aryeh.tqhosted.com>"
billowy-army-68599
06/07/2021, 4:48 PMsteep-portugal-37539
06/07/2021, 4:53 PMbillowy-army-68599
06/07/2021, 4:54 PMsteep-portugal-37539
06/07/2021, 4:56 PMbillowy-army-68599
06/07/2021, 4:58 PMsteep-portugal-37539
06/07/2021, 5:30 PMerror: 2 errors occurred:
* resource waterrecharge/waterrecharge-ingress was successfully created, but the Kubernetes API server reported that it failed to fully initialize or become live: 'waterrecharge-ingress' timed out waiting to be Ready
* Ingress has at least one rule that does not target any Service. Field '.spec.rules[].http.paths[].backend.serviceName' may not match any active Service
all of my svc’s in the namespace of my ing exist.
could it be referring to "ssl-redirect"
service? I don’t know why pulumi isnt being more explicit
there are no errors in the alb pod logs"name": "waterrecharge-ingress",
"namespace": "waterrecharge",
"operation": "CREATE",
"userInfo": {
"username": "kubernetes-admin",
"uid": "heptio-authenticator-aws:358459329979:AIDAVG5OXJW5UBJAFH7RX",
"groups": [
"system:masters",
"system:authenticated"
],
"extra": {
"accessKeyId": [
"AKIAVG5OXJW5YUHERVWE"
]
}
}
username: kubernetes-admin
is referring tobillowy-army-68599
06/07/2021, 5:34 PM'.spec.rules[].http.paths[].backend.serviceName' may not match any active Service
This indicates there's a configuration error, no?steep-portugal-37539
06/07/2021, 5:37 PMbillowy-army-68599
06/07/2021, 5:37 PMkubectl describe ing waterrecharge-ingress -n waterrecharge
steep-portugal-37539
06/07/2021, 6:18 PM❯ k describe -n waterrecharge ingress waterrecharge-ingress
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use <http://networking.k8s.io/v1|networking.k8s.io/v1> Ingress
Name: waterrecharge-ingress
Namespace: waterrecharge
Address: <http://k8s-waterrec-waterrec-7dbf3cfe64-1532717845.us-west-2.elb.amazonaws.com|k8s-waterrec-waterrec-7dbf3cfe64-1532717845.us-west-2.elb.amazonaws.com>
Default backend: default-http-backend:80 (<error: endpoints "default-http-backend" not found>)
Rules:
Host Path Backends
---- ---- --------
<http://waterrecharge-pulumi-aryeh.tqhosted.com|waterrecharge-pulumi-aryeh.tqhosted.com>
/* ssl-redirect:use-annotation (<error: endpoints "ssl-redirect" not found>)
/* frontend:http (172.31.18.20:80)
Annotations: <http://alb.ingress.kubernetes.io/actions.ssl-redirect|alb.ingress.kubernetes.io/actions.ssl-redirect>:
{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}
<http://alb.ingress.kubernetes.io/healthcheck-path|alb.ingress.kubernetes.io/healthcheck-path>: /chains/main/blocks/head/header
<http://alb.ingress.kubernetes.io/healthcheck-port|alb.ingress.kubernetes.io/healthcheck-port>: 8732
<http://alb.ingress.kubernetes.io/listen-ports|alb.ingress.kubernetes.io/listen-ports>: [{"HTTP": 80}, {"HTTPS":443}]
<http://alb.ingress.kubernetes.io/load-balancer-attributes|alb.ingress.kubernetes.io/load-balancer-attributes>: idle_timeout.timeout_seconds=180
<http://alb.ingress.kubernetes.io/scheme|alb.ingress.kubernetes.io/scheme>: internet-facing
<http://ingress.kubernetes.io/force-ssl-redirect|ingress.kubernetes.io/force-ssl-redirect>: true
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: alb
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfullyReconciled 3s (x4 over 71m) ingress Successfully reconciled
/* ssl-redirect:use-annotation (<error: endpoints "ssl-redirect" not found>)
Default backend: default-http-backend:80 (<error: endpoints "default-http-backend" not found>)
billowy-army-68599
06/07/2021, 7:01 PMbackend: {
serviceName: "frontend",
servicePort: "http",
},
steep-portugal-37539
06/07/2021, 9:47 PMingress.status.loadBalancer.ingress[0].hostname.apply(
(mylb) => mylb
)
billowy-army-68599
06/07/2021, 9:57 PMapply
a little more elegant, you can do pretty much anything you want inside the apply
- including retries. So you'll probably have to check the value is defined and then when it is, create a new resourcesteep-portugal-37539
06/07/2021, 10:12 PMbillowy-army-68599
06/07/2021, 10:14 PMsteep-portugal-37539
06/08/2021, 5:54 PMbillowy-army-68599
06/08/2021, 5:56 PMsteep-portugal-37539
06/08/2021, 5:59 PMbillowy-army-68599
06/08/2021, 6:05 PMsteep-portugal-37539
06/08/2021, 6:11 PM