Azure / Azure/OpenShift

Exposing applications internally only is not working

Open
#133 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
121
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Hi guys, We're trying to expose our applications internally only instead of public, in order to do this we're creating an internal only TCP service as per the documentation

[https://docs.openshift.com/aro/getting_started/access_your_services.html#create-an-internal-only-tcp-service](https://docs.openshift.com/aro/getting_started/access_your_services.html#create-an-internal-only-tcp-service)

We've got some issues here as it doesn't seem to work as expected.

what we have done so far is:

- create a project
- create an internal lb in that project

`oc create -f lb-internal.yml`

the contents of lb-internal.yml file:

`apiVersion: v1`
`kind: Service`
`metadata:`
` name: internal-lb`
` annotations:`
` service.beta.kubernetes.io/azure-load-balancer-internal: "true"`
`spec`:
` type: LoadBalancer`
` ports:`
` - name: http`
` port: 80`
` - name: https`
` port: 443`
` selector:`
` app: internal-lb`

- after a little while we've got a new kubernetes-internal LB object in Azure, with a private IP but there's a message in the azure portal stating this:

> Backend pool 'kubernetes' was removed from Virtual machine scale set 'ss-compute-1580936549'. Upgrade all the instances of 'ss-compute-1580936549' for this change to apply

> Backend pool 'kubernetes' was removed from Virtual machine scale set 'ss-infra-1580936549'. Upgrade all the instances of 'ss-infra-1580936549' for this change to apply

But we don't have the permissions to do that upgrade as it's a managed application.

**This happens BOTH to the AROPrivateCluster preview and to the AROGA services.**

and because of that there's no access. At least we believe it's because of that.

I also have some videos explaining the issue, if you want to take a look send me a dm.

Internal API LB DNS resolution and Cluster Console access
Internal Kubernetes Deployment - infra and compute nodes upgrade - internal kubernetes lb dns resolution

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.