Created
December 15, 2016 22:28
-
-
Save OguzPastirmaci/bba85a47c7c5fb71dc6e6f2acdd13249 to your computer and use it in GitHub Desktop.
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: DaemonSet | |
metadata: | |
name: omsagent | |
spec: | |
template: | |
metadata: | |
labels: | |
app: omsagent | |
spec: | |
containers: | |
- env: | |
- name: WSID | |
value: <your workspace ID> | |
- name: KEY | |
value: <your key> | |
image: microsoft/oms | |
name: omsagent | |
ports: | |
- containerPort: 25225 | |
protocol: TCP | |
securityContext: | |
privileged: true | |
volumeMounts: | |
- mountPath: /var/run/docker.sock | |
name: docker-sock | |
volumes: | |
- name: docker-sock | |
hostPath: | |
path: /var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment