Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kubernetes Configuration Example for Skaffold
apiVersion: v1
kind: Service
metadata:
name: appABC
labels:
app: appABC
spec:
type: NodePort
ports:
- port: 3000
name: appABC
selector:
app: appABC
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: appABC
labels:
app: appABC
spec:
replicas: 4
selector:
matchLabels:
app: appABC
template:
metadata:
labels:
app: appABC
spec:
containers:
- name: appABC
image: codygreen/application
env:
- name: NODE_ENV
value: production
ports:
- containerPort: 3000
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.