I am new to Kuberntes and doing one POC to create a .Net based Web API and deplo y in Kubernets(OS-Linux). I created the service and deployed on Kubernetes using below reference URL.
My service is working fine locally (without deploying in Kubernetes) but I am unable to browse the the service into browser after deployment in Kubernetes.
I am not sure how to access the service internally and externally and need help from community expert.
I am trying to browse the service as below
http://:port/api/student where /api/student is my service URI
But I am getting below error in browser.
The below are some information which might be helpful to point out issue.
Kubernetes version: 1.15.10
Cloud being used: Public Cloud
Installation method: using Azure CLI Command - followed the below URL to create and deploy service.
Host OS: Linux
The below are my deployment file(.yml)
- name: webapiaks
- containerPort: 80
- name: http-port
I am struggling from last 2 days, please help me on how to browse the service internally and externally.
Thanks in advance.