Skip to content

Instantly share code, notes, and snippets.

@santiblanko
Created December 5, 2020 02:57
Show Gist options
  • Save santiblanko/a8ac03be858cc683fb8ca87e7356accf to your computer and use it in GitHub Desktop.
Save santiblanko/a8ac03be858cc683fb8ca87e7356accf to your computer and use it in GitHub Desktop.
9:48 p.m.
apiVersion: v1
kind: Service
metadata:
name: frontend-shape-service
spec:
ports:
- port: 80
targetPort: 3000
selector:
app: frontend-shape
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-shape-deployment
spec:
replicas: 1
selector:
matchLabels:
app: frontend-shape
template:
metadata:
labels:
app: frontend-shape
spec:
containers:
- name: frontend-shape
image: santiblanko/shape-frontend:0.0.5
ports:
- containerPort: 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment