Skip to content

Instantly share code, notes, and snippets.

@ivanthelad
Created June 19, 2020 21:46
Show Gist options
  • Save ivanthelad/2a3c7f9453fa386df9bb70e4ab210934 to your computer and use it in GitHub Desktop.
Save ivanthelad/2a3c7f9453fa386df9bb70e4ab210934 to your computer and use it in GitHub Desktop.
---
apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
creationTimestamp: null
labels:
run: helloworld
name: helloworld
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: helloworld
type: LoadBalancer
status:
loadBalancer: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
run: helloworld
name: helloworld
spec:
replicas: 1
selector:
matchLabels:
run: helloworld
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
run: helloworld
spec:
containers:
- image: mcr.microsoft.com/azuredocs/aci-helloworld
name: helloworld
ports:
- containerPort: 80
resources: {}
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment