Skip to content

Instantly share code, notes, and snippets.

@shanselman
Created October 31, 2017 17:00
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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
@markrendle
Copy link

Wow, GitHub Gist comment spam.

@hook888
Copy link

hook888 commented Jul 16, 2022

easy money get rich real money with the best and most online games at 123over only.[url=https://www.123over.app/2022/01/28/recommend-slot-big-win/] สล็อตแตกง่าย [/url]

@hook888
Copy link

hook888 commented Jul 16, 2022

easy money get rich real money with the best and most online games at 123over only. สล็อตแตกง่าย

@TAKATAKA555
Copy link

168private website provides online casino services with all types of games available in one website. Deposits and withdrawals have no minimum limit and can be up to 2 million per day. Our website offers the fastest deposit and withdrawal service in Asia, taking only 3-5 seconds for deposits.

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