Hello @Roseline Agbo ,
Is that the complete deployment YAML file ? Under the containers section Image attribute is missing.
Can you kindly double check if you are using the right image in the YAML file ?
Regards,
Shiva.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I deployed Asp.net core Web API on the Aks cluster but I am unable to reach the API using an external IP Address. below is my dployment.yml and service.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-aspnetcore-deployment
spec:
selector:
matchLabels:
app: hello-aspnetcore-pod
template:
metadata:
labels:
app: hello-aspnetcore-pod
spec:
containers:
ports:
apiVersion: v1
kind: Service
metadata:
name: hello-aspnetcore-service
spec:
selector:
app: hello-aspnetcore-pod
ports:
Hello @Roseline Agbo ,
Is that the complete deployment YAML file ? Under the containers section Image attribute is missing.
Can you kindly double check if you are using the right image in the YAML file ?
Regards,
Shiva.