Skip to content

Instantly share code, notes, and snippets.

@suprith-s-reddy
Created April 28, 2020 18:27
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 suprith-s-reddy/a35c3e7f2a2af735834ff320edf6c15c to your computer and use it in GitHub Desktop.
Save suprith-s-reddy/a35c3e7f2a2af735834ff320edf6c15c to your computer and use it in GitHub Desktop.
Kubernetes deployment yaml for vue application
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
imagePullSecrets:
- name: srregcred
containers:
- name: web
image: vue-demo/web
ports:
- containerPort: 3000
# resources:
# limits:
# memory: "128Mi"
# cpu: "500m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment