Skip to content

Instantly share code, notes, and snippets.

@avillela-tc
Last active Sep 21, 2021
Embed
What would you like to do?
Kubernetes 2048 Game YAML Manifest
---
apiVersion: v1
kind: Service
metadata:
name: "service-2048"
labels:
app: "2048"
spec:
ports:
- port: 80
targetPort: 80
protocol: TCP
type: LoadBalancer
selector:
app: "2048"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: "2048-deployment"
spec:
replicas: 1
selector:
matchLabels:
app: "2048"
template:
metadata:
labels:
app: "2048"
version: v1
spec:
containers:
- image: alexwhen/docker-2048
imagePullPolicy: Always
name: "2048"
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment