Skip to content

Instantly share code, notes, and snippets.

@shanselman
Created October 31, 2017 17:00
Show Gist options
  • Select an option

  • Save shanselman/638acf19005b7dded81cf7d02401742d to your computer and use it in GitHub Desktop.

Select an option

Save shanselman/638acf19005b7dded81cf7d02401742d to your computer and use it in GitHub Desktop.
Basic ASP.NET Core YAML
---
apiVersion: v1
kind: Service
metadata:
name: aspnetcoreapp
labels:
app: aspnetcoreapp
spec:
type: NodePort
ports:
- port: 8080
protocol: TCP
targetPort: 5000
nodePort: 31120
selector:
app: aspnetcoreapp
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: aspnetcoreapp
spec:
selector:
matchLabels:
app: aspnetcoreapp
replicas: 2 # tells deployment to run 2 pods matching the template
template: # create pods using pod definition in this template
metadata:
labels:
app: aspnetcoreapp
spec:
containers:
- name: frontend
image: shanselman/aspnetcoreapp:0.6
ports:
- containerPort: 5000
protocol: TCP
@Gerta234
Copy link
Copy Markdown

Ich schreibe aus Mainz. Eine Empfehlung in einer Regionalgruppe machte mich neugierig auf Three-Card Poker; das schnelle Format passte zu meinen kurzen Pausen, sodass ich es mehrfach testete, um die richtige Einsatzhöhe zu finden. https://playjonny.com.de Nach anfänglichen Verlusten änderte ich meine Taktik und erzielte schließlich einen Gewinn, der die Bilanz wieder ausglich. Die Auszahlung erfolgte korrekt, die Anleitung half beim Einstieg, und ich war zufrieden mit dem fairen Ablauf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment