Matheus Dantas
09/26/2024, 7:30 PMuser
09/26/2024, 7:30 PMvalues.yaml
file and specify the ingress configuration. The specific configuration depends on the type of ingress controller you are using. Here are examples for NGINX and Amazon ALB: For NGINX: yaml apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1> kind: Ingress metadata: name: airbyte-ingress # ingress name, example: airbyte-production-ingress annotations: <http://ingress.kubernetes.io/ssl-redirect|ingress.kubernetes.io/ssl-redirect>: "false" spec: ingressClassName: nginx rules: - host: localhost # host, example: airbyte.company.example http: paths: - backend: service: # format is ${RELEASE_NAME}-airbyte-webapp-svc name: airbyte-airbyte-webapp-svc port: number: 80 # service port, example: 8080 path: / pathType: Prefix
(Source: [Ingress Part 1](https://docs.airbyte.com/deploying-airbyte/integrations/ingress)) For Amazon ALB: yaml apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1> kind: Ingress metadata: name: airbyte-ingress # ingress name, e.g. airbyte-production-ingress annotations: # Specifies that the Ingress should use an AWS ALB. <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: "alb" # Redirects HTTP traffic to HTTPS. <http://ingress.kubernetes.io/ssl-redirect|ingress.kubernetes.io/ssl-redirect>: "true" # Creates an internal ALB, which is only accessible within your VPC or through a VPN. <http://alb.ingress.kubernetes.io/scheme|alb.ingress.kubernetes.io/scheme>: internal # Specifies the ARN of the SSL certificate managed by AWS ACM, essential for HTTPS.
(Source: [Ingress Part 2](https://docs.airbyte.com/deploying-airbyte/integrations/ingress)) Please note that the ALB controller uses a ServiceAccount
that requires a specific IAM policy to be attached. You can find the policy [here](https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/main/docs/install/iam_policy.json). (Source: [Ingress Part 4](https://docs.airbyte.com/deploying-airbyte/integrations/ingress)) After defining the ingress in the values.yaml
file, you can apply it by running the appropriate helm install
or helm upgrade --install
command.Matheus Dantas
09/26/2024, 7:57 PMuser
09/26/2024, 7:57 PM/auth
path. Similarly, in the [Implementation Guide](https://docs.airbyte.com/enterprise-setup/implementation-guide#configuring-ingress), it provides instructions on how to configure your ingress if you're using Amazon Application Load Balancer (ALB) for ingress. However, there are also references to the values.yaml
file in the knowledge sources. This file is used in Helm, the package manager for Kubernetes, to customize the configuration of a deployment. For example, in the [Enterprise Setup guide](https://docs.airbyte.com/enterprise-setup/implementation-guide#step-2-configure-your-deployment), it provides a sample values.yaml
file for configuring your deployment. In summary, while the instructions are primarily about defining the ingress, they also touch on configuring the values.yaml
file as part of the deployment process.Matheus Dantas
09/26/2024, 8:11 PMdefault backend - 404
when trying to access the airbyte deployed in kubernetesuser
09/26/2024, 8:11 PMuser
09/26/2024, 8:11 PMdefault backend - 404
error typically occurs when there is no service available to handle the request at the URL you're accessing. This could be due to a variety of reasons such as incorrect Ingress configuration, service not running, or the application itself not handling the requested URL. In the context of Airbyte, it's possible that the Ingress is not correctly configured to route traffic to the Airbyte service. You might want to check your Ingress configuration and ensure it's correctly set up to route traffic to the Airbyte service. In one of the [forum posts](https://discuss.airbyte.io/t/594), a user mentioned that they didn't face this issue when they used kubectl port-forward svc/airbyte-webapp-svc 8000:80
to directly access the service, but faced it when accessing the Airbyte instance through the subdomain. This suggests that the issue might be with the Ingress configuration. If you're still facing issues, you can reach out to the Airbyte community on [Slack](https://slack.airbyte.com/) for further assistance as suggested in the [troubleshooting sections](https://docs.airbyte.com/deploying-airbyte/on-gcp-compute-engine#troubleshooting) of the Airbyte documentation.