Last active
July 25, 2019 15:14
-
-
Save fpytloun/afa0ba47d2687dbe1e6da245c65135a1 to your computer and use it in GitHub Desktop.
Docker kubernetes pod deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
annotations: {} | |
labels: | |
app: docker | |
name: docker | |
spec: | |
template: | |
metadata: | |
labels: | |
app: docker | |
spec: | |
containers: | |
- image: docker | |
name: docker | |
command: | |
- /bin/sleep | |
- "3600" | |
volumeMounts: | |
- mountPath: /var/run/docker.sock | |
name: docker-socket | |
volumes: | |
- name: docker-socket | |
hostPath: | |
path: /var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment