Skip to content

Instantly share code, notes, and snippets.

@ereshzealous
Created December 16, 2019 16:20
Show Gist options
  • Save ereshzealous/a3a1adec2eb4c197d076ed4d209f01af to your computer and use it in GitHub Desktop.
Save ereshzealous/a3a1adec2eb4c197d076ed4d209f01af to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: minikube-sample
spec:
selector:
matchLabels:
app: minikube-sample
replicas: 1
template:
metadata:
labels:
app: minikube-sample
spec:
containers:
- name: minikube-sample
image: minikube-sample:latest
imagePullPolicy: Never
ports:
- containerPort: 8080
env:
- name: env.namespace
value: default
volumes:
- name: application-config
configMap:
name: minikube-sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment