Created
October 31, 2017 17:00
-
-
Save shanselman/638acf19005b7dded81cf7d02401742d to your computer and use it in GitHub Desktop.
Basic ASP.NET Core YAML
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 | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.