Skip to content

Instantly share code, notes, and snippets.

@PixelRobots
Last active May 21, 2019 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PixelRobots/3f51643502caace1f83e5eb353cf0903 to your computer and use it in GitHub Desktop.
Save PixelRobots/3f51643502caace1f83e5eb353cf0903 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloworld
labels:
app: helloworld
spec:
replicas: 1
template:
metadata:
name: helloworld
labels:
app: helloworld
spec:
nodeSelector:
"beta.kubernetes.io/os": windows
containers:
- name: helloworld
image: pixelrobot/containerplay:v2
resources:
limits:
cpu: 1
memory: 800m
requests:
cpu: .1
memory: 300m
ports:
- containerPort: 80
selector:
matchLabels:
app: helloworld
---
apiVersion: v1
kind: Service
metadata:
name: helloworld
spec:
type: LoadBalancer
ports:
- protocol: TCP
port: 80
selector:
app: helloworld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment