Skip to content

Instantly share code, notes, and snippets.

@discdiver
Last active April 6, 2019 14:24
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 discdiver/7555ff4e0b8fde201a1c17839ae5c101 to your computer and use it in GitHub Desktop.
Save discdiver/7555ff4e0b8fde201a1c17839ae5c101 to your computer and use it in GitHub Desktop.
Part of a series of k8s examples.
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-deployment
spec:
replicas: 3
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: gcr.io/hello-minikube-zero-install/hello-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment