-
-
Save avillela-tc/d37bed543f434f71ec0d43872d6a00aa to your computer and use it in GitHub Desktop.
Kubernetes 2048 Game YAML Manifest
This file contains 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: "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