Hi @Duane Wolford ,
Thanks for the question, I'm happy to explain how you configured the traffic in the sample voting application tutorial. So when you deployed the Kubernetes Manifest file you specified port 80 to be open for the azure-vote-front
pod. See the ports
section in the below snippet from the tutorials YAML file:
containers:
- name: azure-vote-front
image: mcr.microsoft.com/azuredocs/azure-vote-front:v1
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 250m
memory: 256Mi
ports:
- containerPort: 80
env:
- name: REDIS
value: "azure-vote-back"
At the same time another section of the YAML file specifies for a load balancer to be created and to pass outbound traffic on that port, see here:
apiVersion: v1
kind: Service
metadata:
name: azure-vote-front
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: azure-vote-front
So the deploy configuration in that tutorial is done using the Kubernetes manifest file to specify the constraints for the resources once they are spun up. Hope this helps.
----
If this answer helped you answer your question please mark it as accepted to help others with similar questions.