Skip to content

Instantly share code, notes, and snippets.

@PixelRobots PixelRobots/helloworld.yaml Secret
Last active May 21, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.