Created
October 29, 2021 15:31
-
-
Save thdotnet/764126327afeafbdda03456dfec3fcc8 to your computer and use it in GitHub Desktop.
service.yml sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
# The type of workload we are creating | |
kind: Service | |
metadata: | |
# Name of Service - Required | |
name: aks-web-app-service | |
# Specific details about the Service | |
spec: | |
# Type of Service to be deployed | |
type: LoadBalancer | |
ports: | |
- port: 80 | |
# Used to tell the Service which Pods to associate with | |
selector: | |
app: aks-web-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment