Skip to content

Instantly share code, notes, and snippets.

@thdotnet
Created October 29, 2021 15:31
Show Gist options
  • Save thdotnet/764126327afeafbdda03456dfec3fcc8 to your computer and use it in GitHub Desktop.
Save thdotnet/764126327afeafbdda03456dfec3fcc8 to your computer and use it in GitHub Desktop.
service.yml sample
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