Welcome to the Linux Foundation Forum!

Last task of lab 7.2, section 28 hint?

Hello everybody! In last lab task 7.2.28 there is a meaning "Deploy the httpd server again and test changing traffic from thirdpage over to a new httpd sever using only ingress rule edits." I interpret that as to come up with alternate way to point to a backend. i could not find a much different way except maybe using ExternalName service feature? is that whats hinted?

Comments

  • chrispokorni
    chrispokorni Posts: 2,525

    Hi @alexanderlvov1,

    It only asks you to deploy a new application and then edit an existing ingress rule to point to the newly deployed app :wink:

    Regards,
    -Chris

  • sankalpn
    sankalpn Posts: 3

    It is straightforward if I create a service for httpd deployment. But without creating a service, I could not get it working. I though maybe backend resource with kind "Deployment" would work, but I could not get it working.

  • chrispokorni
    chrispokorni Posts: 2,525

    Hi @sankalpn,

    The Ingress is a layer of network abstraction that sits above the Service layer. Its purpose is to capture traffic from client applications and forward it to Services, which in turn will forward traffic to their Endpoints - that are either un-managed Pods or the Deployment managed Pod replicas.

    Eliminating the Service disconnects the path between the Ingress and the application Pods (unmanaged or managed). Therefore a newly launched application through a Deployment requires a Service as well, before it can be configured with an existing Ingress.

    Regards,
    -Chris

  • sankalpn
    sankalpn Posts: 3
    edited 2:48AM

    Thanks @chrispokorni. That explains everything.

Categories

Upcoming Training