Skip to content

Service is not accessible when following Build and deploy to Azure Kubernetes Service with Azure Pipelines #30

@p1johnson

Description

@p1johnson

Following the How To guide here: https://docs.microsoft.com/en-us/azure/aks/devops-pipeline?view=azure-devops&pivots=pipelines-yaml

The latest pull request #26 has changed the port that the express app listens on from 8080 to 3000, so when the Azure Pipeline creates the service in AKS the app is no longer accessible. The default service.yml file configures a service port but not a target port, so the default action is for the target port to be the same as the service port. This defaults to 80 when creating a pipeline from the template, but reading the How To guide, it is implied that this will be set to 8080, based on the instruction to 'Open a new browser tab or window and enter :8080.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions