Hi,
I have followed the documentation link to expose apigee ingress as a service as per the documentation
apiVersion: v1
kind: Service
metadata:
name: apigee-ingress
namespace: apigee
spec:
ports:
- name: status-port
port: 15021
protocol: TCP
targetPort: 15021
- name: https
port: 443
protocol: TCP
targetPort: 8443
selector:
app: apigee-ingressgateway #required
ingress_name: apigee-ingress
org: my-project
However, for ingress I am using ALB loadbalancer to setting up ingress, unfortunately, for other dummy services its working fine but for apigee, my ALB is not getting healthy
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: apigee
name: apigee-ingress
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/security-groups: sg-0d9897127b78d,sg-0fdcdda131b97
alb.ingress.kubernetes.io/subnets: subnet-0a073e9d4f239a,subnet-0fb08612b720a1
alb.ingress.kubernetes.io/tags: pact:public_elb_required=true
kubernetes.io/ingress.class: alb
spec:
rules:
- host: ingress.apigw.test.com
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: apigee-ingres
port:
number: 443
has anyone configured alb for their ingress or is there any documentation for setting up custom ingress which does not only cover GKE.
Hello,
In the service file I do not see below 2 lines. Are they missing?
type: LoadBalancer
loadBalancerIP: LOAD_BALANCER_IP
What is the output of below commands?
kubectl get svc -n apigee
kubectl get svc -n apigee $SERVICE_NAME
kubectl get svc -n apigee -l app=apigee-ingressgateway
curl -H 'User-Agent: GoogleHC/' https://DOMAIN/healthz/ingress -k \
--resolve "DOMAIN:443:INGRESS_IP_ADDRESS"