Guys, I deployed a .NET WEB API application to Kubernets, however, when I try to access the external endpoint provided by LoadBalancer, nothing returns, do I need to configure anything else? Can anyone help me?
apiVersion: apps/v1 kind: Deployment metadata: name: car-companie-deployment labels: app: car-companie-deployment spec: replicas: 1 selector: matchLabels: app: car-companie-deployment template: metadata: labels: app: car-companie-deployment spec: containers: - name: car-companie-container image: <IMAGE> ports: - containerPort: 80 --- apiVersion: v1 kind: Service metadata: name: car-companie-service spec: selector: app: car-companie-deployment ports: - protocol: TCP port: 80 targetPort: 80 type: LoadBalancer **
images pods : https://imgur.com/a/N1esvEd
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.