question

81618622 avatar image
0 Votes"
81618622 asked prmanhas-MSFT commented

AKS Public IP 연동 관련

--ko-kr

안녕하세요.

Azure를 이용하여 AKS로 서비스를 하려합니다.
하지만 두가지 문제가 발생하였습니다.

  1. AKS에 Publid IP 할당에 어려움이 있습니다.
    다음 링크에 있는 정보로 수행하였으나 403에러와 함께 처리되지 않고 있습니다.
    링크 : https://docs.microsoft.com/ko-kr/azure/aks/static-ip
    100142-image.png

  2. kubectl로 service를 생성하였으나 다음 명령으로 삭제가 되지 않고 있습니다.
    삭제 부탁드니다.
    PS > kubectl delete service azure-load-balancer
    100151-apache-test2yaml.txt

--en-us

hi. ms

I am trying to service with AKS using Azure.
However, two problems arose.

  1. I am having difficulty assigning Publid IP to AKS.
    It was performed with the information in the following link, but it is not being processed with a 403 error.
    Link: https://docs.microsoft.com/en-kr/azure/aks/static-ip
    100142-image.png

  2. I created a service with kubectl, but it is not deleted with the following command.
    Please delete it.



azure-kubernetes-service
image.png (105.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@81618622 Any updates on the issue?

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Thanks


0 Votes 0 ·

1 Answer

prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered

@81618622 Apologies for the delay in response and all the inconvenience caused because of the issue.

As per the Authorization error it seems like that the user doesn't has access to do operation on these resources.

Can you please check what permissions you currently have in Subscription or in the AKS. If you have a contributor or owner role on either of them it should work for you. You can check same here:

100543-image.png

Also can you help me understand what are the errors when you run the others commands as mentioned in the article your are referring to since the command you are running for is to check the service information of Load Balancer including the static Ip of Load Balancer.

Also as per the other error warning mentioned in screenshot can you change SKU type of the Public IP address from standard to basic if it is not standard. One similar issue is reported here as well so you can check it.

Also for deleting load balancer what is the error you are getting?

When all services that use the internal load balancer are deleted, the load balancer itself is also deleted.

You can also directly delete a service as with any Kubernetes resource, such as kubectl delete service internal-app, which also then deletes the underlying Azure load balancer. More info here.

This might be useful as well.

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.




image.png (144.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.